diff options
author | Jonas Hahnfeld <hahnjo@hahnjo.de> | 2018-09-04 15:13:28 +0000 |
---|---|---|
committer | Jonas Hahnfeld <hahnjo@hahnjo.de> | 2018-09-04 15:13:28 +0000 |
commit | bb51d398713a11cf407cf16eda54dc6702b832cf (patch) | |
tree | 8e3d09880f7f93533621e95035277722ddd9e26b /clang/lib/Driver/Driver.cpp | |
parent | f7f86971e699fd8c860daf88ed06faf670b3258c (diff) | |
download | bcm5719-llvm-bb51d398713a11cf407cf16eda54dc6702b832cf.tar.gz bcm5719-llvm-bb51d398713a11cf407cf16eda54dc6702b832cf.zip |
[libomptarget][CUDA] Use cuDeviceGetAttribute, NFCI.
cuDeviceGetProperties has apparently been deprecated since CUDA 5.0.
Nvidia started using annotations only in CUDA 9.2, so nobody noticed
nor cared before.
The new function returns the same values, tested with a P100.
Differential Revision: https://reviews.llvm.org/D51624
llvm-svn: 341372
Diffstat (limited to 'clang/lib/Driver/Driver.cpp')
0 files changed, 0 insertions, 0 deletions