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