Handbook
Glossary
ptx-variable? ( object -- ? )
Vocabulary
cuda
.
ptx
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
ptx-variable
class.
Definition
USING:
classes.tuple.private
kernel
slots.private
;
IN:
cuda.ptx
:
ptx-variable?
( object -- ? )
dup
tuple?
[
layout-of
7
slot
\
ptx-variable
eq?
]
[
drop
f
]
if
;