Handbook
Glossary
cl-wait ( event/events -- )
OpenCL
Prev:
cl-queue-kernel ( kernel args sizes dependent-events -- event )
Next:
cl-flush ( -- )
Vocabulary
opencl
Inputs
event/events
a single event or sequence of events
Outputs
None
Word description
Synchronously wait for the events to complete.
Definition
USING:
accessors
arrays
kernel
opencl.ffi
opencl.private
sequences
specialized-arrays.instances.alien.c-types.void*
;
IN:
opencl
:
cl-wait
( event/events -- )
dup
sequence?
[
1array
]
unless
[
handle>>
]
void*-array{
}
map-as
[
length
]
keep
clWaitForEvents
cl-success
;
inline