summaryrefslogtreecommitdiff
path: root/libopencl
diff options
context:
space:
mode:
authorTim Rogers <[email protected]>2017-05-09 14:09:18 -0400
committerGitHub <[email protected]>2017-05-09 14:09:18 -0400
commit0b18b586e78ff474e0b1db58c4f605b2b13b3727 (patch)
tree1664ae81a1c4dde1fdd56df043fe21f0c02e79f0 /libopencl
parent96d528311239d6ff82d7bec807a2509b344c9a60 (diff)
parent7fe0d9214ba42be543862d8e40849d38f9b818bb (diff)
Merge pull request #32 from ElTantawy/dev
support for CUDA 8.0 PTX
Diffstat (limited to 'libopencl')
-rw-r--r--libopencl/opencl_runtime_api.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/libopencl/opencl_runtime_api.cc b/libopencl/opencl_runtime_api.cc
index 020384f..63f7c81 100644
--- a/libopencl/opencl_runtime_api.cc
+++ b/libopencl/opencl_runtime_api.cc
@@ -74,7 +74,9 @@
#define __CUDA_RUNTIME_API_H__
#include "host_defines.h"
#include "builtin_types.h"
+#if (CUDART_VERSION < 8000)
#include "__cudaFatFormat.h"
+#endif
#include "../src/abstract_hardware_model.h"
#include "../src/cuda-sim/cuda-sim.h"
#include "../src/cuda-sim/ptx_loader.h"