summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/inline-namespace
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2019-07-16 16:07:10 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2019-07-16 16:07:10 +0000
commit85b9651edd53d7bfb8d3076a79992450a787ec6d (patch)
tree0879c0c61b77455e9a2279344bdeb5a613111204 /lldb/packages/Python/lldbsuite/test/expression_command/inline-namespace
parentb3f967d411358dcf54a8085df1d9097f5ab8b6d2 (diff)
downloadbcm5719-llvm-85b9651edd53d7bfb8d3076a79992450a787ec6d.tar.gz
bcm5719-llvm-85b9651edd53d7bfb8d3076a79992450a787ec6d.zip
[OPENMP][NVPTX]Fixed checks for cuda versions.
Summary: We used CUDART_VERSION macro to check for the installed cuda version but this macro is defined in cuda_runtime_api.h, which is not used by project. Better to use CUDA_VERSION macro, which is defined in cuda.h. Also, added the check if this macro is defined. If macro is undefined, there is something wrong with the cuda configuration and we should not continue the compilation. This also fixes problems with runtime building in cuda 10+. Reviewers: grokos Subscribers: guansong, jdoerfert, caomhin, kkwli0, openmp-commits Tags: #openmp Differential Revision: https://reviews.llvm.org/D64648 llvm-svn: 366224
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/inline-namespace')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud