Handbook
Glossary
cuda-global* ( module-name symbol-name -- device-ptr size )
Vocabulary
cuda
.
libraries
Inputs
module-name
an
object
symbol-name
an
object
Outputs
device-ptr
an
object
size
an
object
Definition
USING:
alien.c-types
alien.data
cuda
cuda.ffi
kernel
;
IN:
cuda.libraries
:
cuda-global*
( module-name symbol-name -- device-ptr size )
[
{
CUdeviceptr
{
uint
initial:
0
}
}
]
2dip
[
cached-module
]
dip
[
cuModuleGetGlobal
cuda-error
]
2curry
with-out-parameters
;
inline