Handbook
Glossary
ptx-op? ( object -- ? )
Vocabulary
cuda
.
ptx
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
ptx-op
class.
Definition
USING:
kernel
;
IN:
cuda.ptx
:
ptx-op?
( object -- ? )
dup
.popc?
[
drop
t
]
[
dup
.max?
[
drop
t
]
[
dup
.min?
[
drop
t
]
[
dup
.dec?
[
drop
t
]
[
dup
.inc?
[
drop
t
]
[
dup
.add?
~quotation~ ~quotation~
if
]
if
]
if
]
if
]
if
]
if
;