summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilson Fung <[email protected]>2012-01-12 04:54:49 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:19:02 -0700
commit20a104af5089be685b96b8678ed2b6730e37295f (patch)
tree6ec8c458eb149c5fb73bfa6c11865970c71c42c5
parent6e652346372315ee0c6076df0e72d33c298e3545 (diff)
Adding stub function implementation to get EA_Ropa running on fermi branch.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 11311]
-rw-r--r--libopencl/opencl_runtime_api.cc13
1 files changed, 13 insertions, 0 deletions
diff --git a/libopencl/opencl_runtime_api.cc b/libopencl/opencl_runtime_api.cc
index 9909d2a..213b4b4 100644
--- a/libopencl/opencl_runtime_api.cc
+++ b/libopencl/opencl_runtime_api.cc
@@ -1415,3 +1415,16 @@ clEnqueueMapBuffer(cl_command_queue command_queue,
assert( mem->is_on_host() );
return mem->host_ptr();
}
+
+
+extern CL_API_ENTRY cl_int CL_API_CALL
+clSetCommandQueueProperty( cl_command_queue command_queue,
+ cl_command_queue_properties properties,
+ cl_bool enable,
+ cl_command_queue_properties *old_properties
+ ) CL_API_SUFFIX__VERSION_1_0
+{
+ // TODO: do something here
+ return CL_SUCCESS;
+}
+