func CLFinish(command_queue CL_command_queue) CL_int { return CL_int(C.clFinish(command_queue.cl_command_queue)) }
// Blocks until all previously queued OpenCL commands in a command-queue are issued to the associated device and have completed. func (q *CommandQueue) Finish() error { return toError(C.clFinish(q.clQueue)) }
// see https://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clFinish.html func Finish(cq CommandQueue) ErrorCode { return ErrorCode(C.clFinish(cq)) }
func (cq *CommandQueue) Finish() { fmt.Printf("Supress.\n") C.clFinish(cq.item) }