Handbook
Glossary
host>device ( data -- ptr )
Vocabulary
cuda
.
memory
Inputs
data
an
object
Outputs
ptr
an
object
Definition
USING:
alien
kernel
;
IN:
cuda.memory
:
host>device
( data -- ptr )
binary-object
[
nip
cuda-malloc
dup
]
[
memcpy-host>device
]
2bi
;
inline