From 54529f8b3556427526fd416118c444ce0eb10a21 Mon Sep 17 00:00:00 2001 From: Ahmed ElTantawy Date: Mon, 31 Oct 2016 12:54:29 -0700 Subject: update opencl_runtime similar to cuda_runtime --- libopencl/opencl_runtime_api.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libopencl') 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" -- cgit v1.3