Пример #1
0
// 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))
}
Пример #2
0
func CLFlush(command_queue CL_command_queue) CL_int {
	return CL_int(C.clFlush(command_queue.cl_command_queue))
}
Пример #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))
}