summaryrefslogtreecommitdiff
path: root/libopencl
diff options
context:
space:
mode:
authorAhmed ElTantawy <[email protected]>2016-10-31 12:54:29 -0700
committerAhmed ElTantawy <[email protected]>2016-10-31 12:54:29 -0700
commit54529f8b3556427526fd416118c444ce0eb10a21 (patch)
tree6f659593c134319440293c5dd97e5a3b4078e9ae /libopencl
parent7b7f9050424f21a6da17f6765add0c6cd244b2a3 (diff)
update opencl_runtime similar to cuda_runtime
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"