Handbook
Glossary
cl-buffer-access-mode? ( object -- ? )
Vocabulary
opencl
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
cl-buffer-access-mode
class.
Definition
USING:
kernel
;
IN:
opencl
:
cl-buffer-access-mode?
( object -- ? )
dup
cl-read-write-access?
[
drop
t
]
[
dup
cl-write-access?
[
drop
t
]
[
cl-read-access?
]
if
]
if
;