diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-08-21 12:49:29 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-08-21 12:49:29 +0300 |
commit | de232f8887b6674bbb01c12d32d1860491b7bdd5 (patch) | |
tree | 76ecbba7d97b9ddf86871df1af1942ce727260e0 /extern/cuew/src | |
parent | ecfe020e6c8f9ded6a32300b9de43f29e1009c5d (diff) |
Update CUEW to latest version
Diffstat (limited to 'extern/cuew/src')
-rw-r--r-- | extern/cuew/src/cuew.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/extern/cuew/src/cuew.c b/extern/cuew/src/cuew.c index a22f6fda570..1f386c4e5d3 100644 --- a/extern/cuew/src/cuew.c +++ b/extern/cuew/src/cuew.c @@ -77,6 +77,7 @@ tcuDriverGetVersion *cuDriverGetVersion; tcuDeviceGet *cuDeviceGet; tcuDeviceGetCount *cuDeviceGetCount; tcuDeviceGetName *cuDeviceGetName; +tcuDeviceGetUuid *cuDeviceGetUuid; tcuDeviceTotalMem_v2 *cuDeviceTotalMem_v2; tcuDeviceGetAttribute *cuDeviceGetAttribute; tcuDeviceGetProperties *cuDeviceGetProperties; @@ -194,6 +195,7 @@ tcuStreamCreate *cuStreamCreate; tcuStreamCreateWithPriority *cuStreamCreateWithPriority; tcuStreamGetPriority *cuStreamGetPriority; tcuStreamGetFlags *cuStreamGetFlags; +tcuStreamGetCtx *cuStreamGetCtx; tcuStreamWaitEvent *cuStreamWaitEvent; tcuStreamAddCallback *cuStreamAddCallback; tcuStreamAttachMemAsync *cuStreamAttachMemAsync; @@ -385,6 +387,7 @@ static int cuewCudaInit(void) { CUDA_LIBRARY_FIND(cuDeviceGet); CUDA_LIBRARY_FIND(cuDeviceGetCount); CUDA_LIBRARY_FIND(cuDeviceGetName); + CUDA_LIBRARY_FIND(cuDeviceGetUuid); CUDA_LIBRARY_FIND(cuDeviceTotalMem_v2); CUDA_LIBRARY_FIND(cuDeviceGetAttribute); CUDA_LIBRARY_FIND(cuDeviceGetProperties); @@ -502,6 +505,7 @@ static int cuewCudaInit(void) { CUDA_LIBRARY_FIND(cuStreamCreateWithPriority); CUDA_LIBRARY_FIND(cuStreamGetPriority); CUDA_LIBRARY_FIND(cuStreamGetFlags); + CUDA_LIBRARY_FIND(cuStreamGetCtx); CUDA_LIBRARY_FIND(cuStreamWaitEvent); CUDA_LIBRARY_FIND(cuStreamAddCallback); CUDA_LIBRARY_FIND(cuStreamAttachMemAsync); @@ -619,10 +623,11 @@ static int cuewNvrtcInit(void) { /* Library paths. */ #ifdef _WIN32 /* Expected in c:/windows/system or similar, no path needed. */ - const char *nvrtc_paths[] = {"nvrtc64_80.dll", - "nvrtc64_90.dll", + const char *nvrtc_paths[] = {"nvrtc64_101_0.dll", + "nvrtc64_100_0.dll", "nvrtc64_91.dll", - "nvrtc64_10_0.dll", + "nvrtc64_90.dll", + "nvrtc64_80.dll", NULL}; #elif defined(__APPLE__) /* Default installation path. */ |