summaryrefslogtreecommitdiff
path: root/libcuda/cuda_api.h
diff options
context:
space:
mode:
authortgrogers <[email protected]>2019-06-09 22:20:15 -0400
committertgrogers <[email protected]>2019-06-09 22:20:15 -0400
commitc7f515f6f5325c65f32dd64e1ad479660c751e99 (patch)
tree1371d079189de604e6bb248832f50e83d114dd31 /libcuda/cuda_api.h
parentf99838eca06b3f9a281987bc230f4ae5b8426d69 (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.h2
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