summaryrefslogtreecommitdiff
path: root/libcuda/cuda_api.h
diff options
context:
space:
mode:
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