Handbook
Glossary
device>host ( ptr len -- byte-array )
Vocabulary
cuda
.
memory
Inputs
ptr
an
object
len
an
object
Outputs
byte-array
an
object
Definition
USING:
byte-arrays
kernel
;
IN:
cuda.memory
:
device>host
( ptr len -- byte-array )
[
nip
<byte-array>
dup
]
[
memcpy-device>host
]
2bi
;
inline