Handbook
Glossary
cl-execution-status? ( object -- ? )
Vocabulary
opencl
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
cl-execution-status
class.
Definition
USING:
kernel
;
IN:
opencl
:
cl-execution-status?
( object -- ? )
dup
cl-failure?
[
drop
t
]
[
dup
cl-complete?
[
drop
t
]
[
dup
cl-running?
[
drop
t
]
[
dup
cl-submitted?
[
drop
t
]
[
cl-queued?
]
if
]
if
]
if
]
if
;