[PATCH] D21778: [CUDA] Add support for CUDA 8 and sm_60-62.

Artem Belevich via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 6 10:26:11 PDT 2016


tra added a comment.

The changes look good.
They will need to wait for corresponding patch on LLVM side to deal with new SM variants, though.


================
Comment at: lib/Driver/ToolChains.cpp:1715
@@ -1714,2 +1714,3 @@
     CudaPathCandidates.push_back(D.SysRoot + "/usr/local/cuda");
+    CudaPathCandidates.push_back(D.SysRoot + "/usr/local/cuda-8.0");
     CudaPathCandidates.push_back(D.SysRoot + "/usr/local/cuda-7.5");
----------------
This is a bit premature as we can't compile CUDA-8 headers yet. Let's drop it until we're ready.


http://reviews.llvm.org/D21778





More information about the cfe-commits mailing list