commit | 88f5f2f15cc38298f31cc0208ac6022cffd23bb1 | [log] [tgz] |
---|---|---|
author | Jonas Hahnfeld <hahnjo@hahnjo.de> | Tue Sep 04 15:13:28 2018 +0000 |
committer | Jonas Hahnfeld <hahnjo@hahnjo.de> | Tue Sep 04 15:13:28 2018 +0000 |
tree | 5f647e300b0069693c17e15119d4a2a268840d2a | |
parent | 148228909a666bbe2647b90f8c18b6e00bc8be80 [diff] |
[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 git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@341372 91177308-0d34-0410-b5e6-96231b3b80d8