diff options
| author | tgrogers <[email protected]> | 2019-06-09 22:20:15 -0400 |
|---|---|---|
| committer | Mahmoud <[email protected]> | 2019-06-10 11:57:40 -0400 |
| commit | ce1fabd955ee208a38e73d5a5acfba2b26369a3d (patch) | |
| tree | 228a3e83814b9bbb2a34c5da58a60be2f2a9b9af /libcuda/cuda_api.h | |
| parent | 556191bcbe6cfb2a8a1008166aa51b7a8567be82 (diff) | |
A bunch of boilerbplate to get 10.1 to compile. Still does not yet run. The way CUDA calls kerenels (even on old code) has changed.
Diffstat (limited to 'libcuda/cuda_api.h')
| -rw-r--r-- | libcuda/cuda_api.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcuda/cuda_api.h b/libcuda/cuda_api.h index 3808e8a..7ee26dc 100644 --- a/libcuda/cuda_api.h +++ b/libcuda/cuda_api.h @@ -234,9 +234,11 @@ typedef struct CUgraphicsResource_st *CUgraphicsResource; /**< CUDA graphics int typedef unsigned long long CUtexObject; /**< An opaque value that represents a CUDA texture object */ typedef unsigned long long CUsurfObject; /**< An opaque value that represents a CUDA surface object */ +#if __CUDA_API_VERSION < 1010 typedef struct CUuuid_st { /**< CUDA definition of UUID */ char bytes[16]; } CUuuid; +#endif #if __CUDA_API_VERSION >= 4010 |
