Example #1
0
func CLFinish(command_queue CL_command_queue) CL_int {
	return CL_int(C.clFinish(command_queue.cl_command_queue))
}
Example #2
0
// 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))
}
Example #3
0
File: package.go Project: mantyr/cl
// 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))
}
Example #4
0
func (cq *CommandQueue) Finish() {
	fmt.Printf("Supress.\n")
	C.clFinish(cq.item)
}