[PATCH] D57487: [CUDA] Propagate detected version of CUDA to cc1
Artem Belevich via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 30 16:32:33 PST 2019
tra created this revision.
tra added a reviewer: jlebar.
Herald added subscribers: bixia, sanjoy.
..and use it to control that parts of CUDA compilation
that depend on the specific version of CUDA SDK.
This patch has a placeholder for a 'new launch API' support
which is in a separate patch (I'll add the link to it once it's out for review).
The list will be further extended in the upcoming patch to support CUDA-10.1.
https://reviews.llvm.org/D57487
Files:
clang/include/clang/Basic/Cuda.h
clang/lib/Basic/Cuda.cpp
clang/lib/Driver/ToolChains/Clang.cpp
clang/lib/Driver/ToolChains/Cuda.cpp
clang/test/Driver/cuda-detect.cu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57487.184404.patch
Type: text/x-patch
Size: 6768 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190131/f9439a24/attachment.bin>
More information about the cfe-commits
mailing list