From 55e37b811c5cf78c32229b2df7ce2e662f45101d Mon Sep 17 00:00:00 2001 From: Tor Aamodt Date: Sun, 8 Aug 2010 21:59:01 -0800 Subject: add clFlush (empty implementation) - oclMatrixMul completes but is failing (differences) [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7170] --- libopencl/opencl_runtime_api.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libopencl') diff --git a/libopencl/opencl_runtime_api.cc b/libopencl/opencl_runtime_api.cc index 5f2b1b7..3fa050b 100644 --- a/libopencl/opencl_runtime_api.cc +++ b/libopencl/opencl_runtime_api.cc @@ -1247,3 +1247,9 @@ clGetCommandQueueInfo(cl_command_queue command_queue, } return CL_SUCCESS; } + +extern CL_API_ENTRY cl_int CL_API_CALL +clFlush(cl_command_queue /* command_queue */) CL_API_SUFFIX__VERSION_1_0 +{ + return CL_SUCCESS; +} -- cgit v1.3