Host and device types must match, otherwise when we pass values back and
forth between the host and device, we will get the wrong result.
This patch makes NVPTXTargetInfo inherit most of its type information
from the host's target info.
Paths
| Differential D19346
[CUDA] Copy host builtin types to NVPTXTargetInfo. ClosedPublic Authored by jlebar on Apr 20 2016, 6:02 PM.
Details Summary Host and device types must match, otherwise when we pass values back and This patch makes NVPTXTargetInfo inherit most of its type information
Diff Detail
Event Timelinejlebar updated this object.
Comment Actions <strike>Richard, friendly ping?</strike> (Sorry, not sure why phabricator decided to repeat my last comment.)
This revision is now accepted and ready to land.Apr 29 2016, 3:24 PM Closed by commit rL268131: [CUDA] Copy host builtin types to NVPTXTargetInfo. (authored by jlebar). · Explain WhyApr 29 2016, 4:11 PM This revision was automatically updated to reflect the committed changes. jlebar marked 2 inline comments as done.
Revision Contents
Diff 55682 cfe/trunk/include/clang/Basic/TargetOptions.h
cfe/trunk/lib/Basic/Targets.cpp
cfe/trunk/lib/Frontend/CompilerInstance.cpp
cfe/trunk/lib/Frontend/CompilerInvocation.cpp
cfe/trunk/test/Preprocessor/cuda-types.cu
|