summaryrefslogtreecommitdiff
path: root/libopencl
diff options
context:
space:
mode:
authorTor Aamodt <[email protected]>2010-08-08 21:59:01 -0800
committerTor Aamodt <[email protected]>2010-08-08 21:59:01 -0800
commit55e37b811c5cf78c32229b2df7ce2e662f45101d (patch)
treedc0f0c3e4bd00162b5773655893e199580ab8888 /libopencl
parent250b9f3e84ccfe87557e36230ea081d9dea772e7 (diff)
add clFlush (empty implementation) - oclMatrixMul completes but is failing (differences)
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7170]
Diffstat (limited to 'libopencl')
-rw-r--r--libopencl/opencl_runtime_api.cc6
1 files changed, 6 insertions, 0 deletions
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;
+}