This makes clang's libdevice selection match that of NVCC as described in
http://docs.nvidia.com/cuda/libdevice-users-guide/basic-usage.html#version-selection
If required libdevice variant is not found, driver now fails with an error.
Paths
| Differential D23037
[CUDA] Fix libdevice selection. ClosedPublic Authored by tra on Aug 1 2016, 2:42 PM.
Details Summary This makes clang's libdevice selection match that of NVCC as described in If required libdevice variant is not found, driver now fails with an error.
Diff Detail
Event Timelinetra updated this object.
Comment Actions Added tests for libdevice mapping correctness.
Comment Actions Now that D23042 / r277537 makes sure that CudaToolchain is only used on device side, we can This revision is now accepted and ready to land.Aug 2 2016, 4:05 PM Closed by commit rL277542: [CUDA] Fix libdevice selection. (authored by tra). · Explain WhyAug 2 2016, 4:20 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 66589 cfe/trunk/include/clang/Basic/DiagnosticDriverKinds.td
cfe/trunk/lib/Driver/ToolChains.cpp
cfe/trunk/test/Driver/Inputs/CUDA_80/usr/local/cuda/nvvm/libdevice/libdevice.compute_30.10.bc
cfe/trunk/test/Driver/cuda-detect.cu
|