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