Handbook
Glossary
cl-addressing-mode? ( object -- ? )
Vocabulary
opencl
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
cl-addressing-mode
class.
Definition
USING:
kernel
;
IN:
opencl
:
cl-addressing-mode?
( object -- ? )
dup
cl-no-addressing?
[
drop
t
]
[
dup
cl-clamp-addressing?
[
drop
t
]
[
dup
cl-clamp-to-edge-addressing?
[
drop
t
]
[
cl-repeat-addressing?
]
if
]
if
]
if
;