summaryrefslogtreecommitdiff
path: root/libopencl/opencl_runtime_api.cc
diff options
context:
space:
mode:
authorMahmoud <[email protected]>2017-07-12 15:26:10 -0400
committerMahmoud <[email protected]>2017-07-12 15:26:10 -0400
commit40af9c870920903fe7df44d0b85f58ccffb7df71 (patch)
tree1391bd6f51c6d587f6680bf30e162f31ba7cff82 /libopencl/opencl_runtime_api.cc
parent9ca55c4871597e12a161bedb607308c28ed434e2 (diff)
parentbe451de4abf4fac2ea4b8bd2a79c6037ac635990 (diff)
Merge branch 'dev' of https://github.rcac.purdue.edu/abdallm/gpgpu-sim_distribution into dev
Diffstat (limited to 'libopencl/opencl_runtime_api.cc')
-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"