This is an archive of the discontinued LLVM Phabricator instance.

[CUDA] Raise an error if the CUDA install can't be found.
ClosedPublic

Authored by jlebar on Apr 15 2016, 2:57 PM.

Details

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!

Diff Detail

Repository
rL LLVM

Event Timeline

jlebar updated this revision to Diff 53954.Apr 15 2016, 2:57 PM
jlebar retitled this revision from to [CUDA] Raise an error if the CUDA install can't be found..
jlebar updated this object.
jlebar added a reviewer: tra.
jlebar added a subscriber: cfe-commits.
tra accepted this revision.Apr 15 2016, 5:14 PM
tra edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Apr 15 2016, 5:14 PM
This revision was automatically updated to reflect the committed changes.