Example #1
0
File: package.go Project: mantyr/cl
// 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))
}
Example #2
0
func CLFlush(command_queue CL_command_queue) CL_int {
	return CL_int(C.clFlush(command_queue.cl_command_queue))
}
Example #3
0
// 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))
}