Exemplo n.º 1
0
func CLFinish(command_queue CL_command_queue) CL_int {
	return CL_int(C.clFinish(command_queue.cl_command_queue))
}
Exemplo n.º 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))
}
Exemplo n.º 3
0
Arquivo: package.go Projeto: 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))
}
Exemplo n.º 4
0
func (cq *CommandQueue) Finish() {
	fmt.Printf("Supress.\n")
	C.clFinish(cq.item)
}