cuda.h (CUdeviceptr): Typedef to unsigned long long even for _WIN64.

* plugin/cuda/cuda.h (CUdeviceptr): Typedef to unsigned long long even
	for _WIN64.

From-SVN: r244638
This commit is contained in:
Jakub Jelinek 2017-01-19 16:53:51 +01:00 committed by Jakub Jelinek
parent 118d5ed321
commit b32e85fa42
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2017-01-19 Jakub Jelinek <jakub@redhat.com>
* plugin/cuda/cuda.h (CUdeviceptr): Typedef to unsigned long long even
for _WIN64.
2017-01-17 Jakub Jelinek <jakub@redhat.com>
* plugin/hsa.h: Add GCC runtime library exception.

View file

@ -35,7 +35,7 @@ libcuda.so.1 are not available. */
typedef void *CUcontext;
typedef int CUdevice;
#ifdef __LP64__
#if defined(__LP64__) || defined(_WIN64)
typedef unsigned long long CUdeviceptr;
#else
typedef unsigned CUdeviceptr;