Handbook
Glossary
ptx-cmp-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-cmp-op
class.
Definition
USING:
kernel
;
IN:
cuda.ptx
:
ptx-cmp-op?
( object -- ? )
dup
.hi?
[
drop
t
]
[
dup
.lo?
[
drop
t
]
[
dup
.nan?
[
drop
t
]
[
dup
.num?
[
drop
t
]
[
dup
.geu?
[
drop
t
]
[
dup
.gtu?
~quotation~ ~quotation~
if
]
if
]
if
]
if
]
if
]
if
;