mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
use cl types
This commit is contained in:
@@ -1074,7 +1074,7 @@ clEnqueueReadBuffer(cl_command_queue command_queue,
|
|||||||
const cl_event * event_wait_list,
|
const cl_event * event_wait_list,
|
||||||
cl_event * event)
|
cl_event * event)
|
||||||
{
|
{
|
||||||
if(blocking_read == false)
|
if(blocking_read == CL_FALSE)
|
||||||
{
|
{
|
||||||
return CL_INVALID_VALUE;
|
return CL_INVALID_VALUE;
|
||||||
}
|
}
|
||||||
@@ -1124,7 +1124,7 @@ clEnqueueWriteBuffer(cl_command_queue command_queue,
|
|||||||
const cl_event * event_wait_list,
|
const cl_event * event_wait_list,
|
||||||
cl_event * event)
|
cl_event * event)
|
||||||
{
|
{
|
||||||
if(blocking_write == false)
|
if(blocking_write == CL_FALSE)
|
||||||
{
|
{
|
||||||
return CL_INVALID_VALUE;
|
return CL_INVALID_VALUE;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user