Skip to content

Commit 4194edc

Browse files
authored
clarify the user function for clEnqueueNativeKernel must be thread safe (#1026)
1 parent 98e2fdb commit 4194edc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

api/opencl_runtime_layer.asciidoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8303,6 +8303,8 @@ include::{generated}/api/version-notes/clEnqueueNativeKernel.asciidoc[]
83038303
{CL_DEVICE_EXECUTION_CAPABILITIES} as specified in the
83048304
<<device-queries-table,Device Queries>> table.
83058305
* _user_func_ is a pointer to a host-callable user function.
8306+
It is the application's responsibility to ensure that the host-callable user
8307+
function is thread-safe.
83068308
* _args_ is a pointer to the args list that _user_func_ should be called with.
83078309
* _cb_args_ is the size in bytes of the args list that _args_ points to.
83088310
* _num_mem_objects_ is the number of buffer objects that are passed in _args_.

0 commit comments

Comments
 (0)