[PATCH] D12989: [CUDA] Added CUDA installation detector class.
Artem Belevich via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 18 15:52:23 PDT 2015
tra created this revision.
tra added a reviewer: echristo.
tra added a subscriber: cfe-commits.
The class searches for a CUDA installation directory and provides accessors for relevant bits of info about it.
Added new option --cuda-path=<path> which allows overriding default search paths. If it's not specified we look for CUDA installation in
/usr/include/cuda and /usr/include/cuda-7.0
Once CUDA installation is found we look for libdevice bitcode files and associate them with appropriate GPU type.
http://reviews.llvm.org/D12989
Files:
include/clang/Driver/Options.td
lib/Driver/ToolChains.cpp
lib/Driver/ToolChains.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12989.35149.patch
Type: text/x-patch
Size: 6519 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150918/44ad9591/attachment.bin>
More information about the cfe-commits
mailing list