// see https://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clFlush.html func Flush(cq CommandQueue) ErrorCode { return ErrorCode(C.clFlush(cq)) }
func CLFlush(command_queue CL_command_queue) CL_int { return CL_int(C.clFlush(command_queue.cl_command_queue)) }
// Issues all previously queued OpenCL commands in a command-queue to the device associated with the command-queue. func (q *CommandQueue) Flush() error { return toError(C.clFlush(q.clQueue)) }