diff options
| author | Justin Lebar <jlebar@google.com> | 2016-04-16 00:11:11 +0000 |
|---|---|---|
| committer | Justin Lebar <jlebar@google.com> | 2016-04-16 00:11:11 +0000 |
| commit | 423019d059897f104c3c435996896df335983b73 (patch) | |
| tree | 6a1c32420960d511b2bae9a738758141eeca7965 /llvm/unittests/Transforms/Utils/ValueMapperTest.cpp | |
| parent | 4d247e7012ae6355c9b63b6a6549adadd0a16fd1 (diff) | |
| download | llvm-423019d059897f104c3c435996896df335983b73.zip llvm-423019d059897f104c3c435996896df335983b73.tar.gz llvm-423019d059897f104c3c435996896df335983b73.tar.bz2 | |
[CUDA] Raise an error if the CUDA install can't be found.
Summary:
Without this change, we silently proceed on without including
__clang_cuda_runtime_wrapper.h. This leads to very strange behavior --
you say you're compiling CUDA code, but e.g. __device__ is not defined!
Reviewers: tra
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D19180
llvm-svn: 266496
Diffstat (limited to 'llvm/unittests/Transforms/Utils/ValueMapperTest.cpp')
0 files changed, 0 insertions, 0 deletions
