Handbook
Glossary
ptx-target
Vocabulary
cuda
.
ptx
Definition
USING:
kernel
;
IN:
cuda.ptx
TUPLE:
ptx-target
{
arch
maybe{
ptx-arch
}
initial:
f
}
{
map_f64_to_f32?
boolean
initial:
f
}
{
texmode
maybe{
ptx-texmode
}
initial:
f
}
;
Methods
USING:
accessors
arrays
cuda.ptx
io
kernel
sequences
;
M:
ptx-target
(write-ptx-element)
".target "
write
[
arch>>
[
name>>
]
[
f
]
if*
]
[
map_f64_to_f32?>>
[
"map_f64_to_f32"
]
[
f
]
if
]
[
texmode>>
[
name>>
]
[
f
]
if*
]
tri
3array
sift
[
", "
write
]
[
write
]
interleave
;
USING:
cuda.ptx
kernel
;
M:
ptx-target
ptx-semicolon?
drop
f
;