From fc37c72f0681d142371ff4f5fff5cd972faf51a9 Mon Sep 17 00:00:00 2001 From: Wilson Fung Date: Sun, 26 Aug 2012 03:22:25 -0800 Subject: Fix compilation error with CUDA 2.3. [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 13868] --- libcuda/cuda_runtime_api.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libcuda/cuda_runtime_api.cc') 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 /******************************************************************************* -- cgit v1.3