Handbook
Glossary
ptx-vote-mode? ( object -- ? )
Vocabulary
cuda
.
ptx
Inputs and outputs
object
an
object
?
a
boolean
Word description
Tests if the object is an instance of the
ptx-vote-mode
class.
Definition
USING:
kernel
;
IN:
cuda.ptx
:
ptx-vote-mode?
( object -- ? )
dup
.ballot?
[
drop
t
]
[
dup
.uni?
[
drop
t
]
[
dup
.any?
[
drop
t
]
[
.all?
]
if
]
if
]
if
;