summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
+}