diff options
| author | Wilson Fung <[email protected]> | 2012-08-26 03:22:25 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:48:54 -0700 |
| commit | fc37c72f0681d142371ff4f5fff5cd972faf51a9 (patch) | |
| tree | 31ba9e8ac1718c0bffef66d17388433f9ca1cf7c | |
| parent | ded1542c5d71a60673f30a593415bae3c46150ce (diff) | |
Fix compilation error with CUDA 2.3.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 13868]
| -rw-r--r-- | libcuda/cuda_runtime_api.cc | 3 |
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 /******************************************************************************* |
