summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libcuda/cuda_runtime_api.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/libcuda/cuda_runtime_api.cc b/libcuda/cuda_runtime_api.cc
index 29fc873..e5895dd 100644
--- a/libcuda/cuda_runtime_api.cc
+++ b/libcuda/cuda_runtime_api.cc
@@ -1104,6 +1104,8 @@ int CUDARTAPI __cudaSynchronizeThreads(void**, void*)
* *
*******************************************************************************/
+#if (CUDART_VERSION >= 3010)
+
typedef struct CUuuid_st { /**< CUDA definition of UUID */
char bytes[16];
} CUuuid;
@@ -1123,6 +1125,7 @@ __host__ cudaError_t CUDARTAPI cudaGetExportTable(const void **ppExportTable, co
return g_last_cudaError = cudaSuccess;
}
+#endif
/*******************************************************************************