Handbook
Glossary
cuda-device. ( n -- )
Vocabulary
cuda
.
devices
Inputs
n
an
object
Outputs
None
Definition
USING:
combinators
cuda.ffi
io
kernel
math.parser
prettyprint
sequences
splitting
;
IN:
cuda.devices
:
cuda-device.
( n -- )
{
[
"Device: "
write
number>string
print
]
[
"Name: "
write
cuda-device-name
print
]
[
"Memory: "
write
cuda-device-memory
number>string
print
]
[
"Capability: "
write
cuda-device-capability
[
number>string
]
map
join-words
print
]
[
"Properties: "
write
cuda-device-properties
.
]
[
"CU_DEVICE_ATTRIBUTE_GPU_OVERLAP: "
write
CU_DEVICE_ATTRIBUTE_GPU_OVERLAP
swap
cuda-device-attribute
number>string
print
]
}
cleave
;