summaryrefslogtreecommitdiff
path: root/libopencl/opencl_runtime_api.cc
diff options
context:
space:
mode:
authorWilson Fung <[email protected]>2012-08-10 09:15:22 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:48:53 -0700
commit1838cb8867ccef47d648e2813932a373829f047d (patch)
tree686296c71b1769dbd1c7e323bb85a17bd410f0e0 /libopencl/opencl_runtime_api.cc
parentd37ac21e7d06aadebe5b8291718baa0999250091 (diff)
Integration from tm-311 branch. Adding support for atomic operation with generic memory space. Also adding a define to allow support for OpenCL 1.0 commands that are deprecated in OpenCL 1.1.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 13722]
Diffstat (limited to 'libopencl/opencl_runtime_api.cc')
-rw-r--r--libopencl/opencl_runtime_api.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libopencl/opencl_runtime_api.cc b/libopencl/opencl_runtime_api.cc
index 0b00556..8c9a0d1 100644
--- a/libopencl/opencl_runtime_api.cc
+++ b/libopencl/opencl_runtime_api.cc
@@ -94,6 +94,7 @@
# endif
# endif
+#define CL_USE_DEPRECATED_OPENCL_1_0_APIS
#include <CL/cl.h>
#include <map>