summaryrefslogtreecommitdiff
path: root/libcuda/cuda_api.h
diff options
context:
space:
mode:
authorTor Aamodt <[email protected]>2019-11-12 20:07:31 -0800
committerGitHub <[email protected]>2019-11-12 20:07:31 -0800
commit6a97d1e857c37ef4b58a9a0d5c18960967e9d665 (patch)
tree6afbf62e80a0f0181a2fe126b467c795a03174d3 /libcuda/cuda_api.h
parentd10ff4bf1fab969cabb69febb895ead4b377a778 (diff)
parent57d2df04da439b1055590f10cff5f5f50791b9d9 (diff)
Merge pull request #156 from bftf/dev
Enabled CUDA 10. Added implementations for __cudaPushCallConfiguratio…
Diffstat (limited to 'libcuda/cuda_api.h')
-rw-r--r--libcuda/cuda_api.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libcuda/cuda_api.h b/libcuda/cuda_api.h
index 3808e8a..0ded242 100644
--- a/libcuda/cuda_api.h
+++ b/libcuda/cuda_api.h
@@ -234,10 +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 CUDART_VERSION < 10000
typedef struct CUuuid_st { /**< CUDA definition of UUID */
char bytes[16];
} CUuuid;
-
+#endif // #if CUDART_VERSION < 10000
#if __CUDA_API_VERSION >= 4010