Handbook
Glossary
create-context ( device flags -- context )
Vocabulary
cuda
.
contexts
Inputs
device
an
object
flags
an
object
Outputs
context
an
object
Definition
USING:
alien.data
cuda
cuda.ffi
kernel
;
IN:
cuda.contexts
:
create-context
( device flags -- context )
swap
[
{
CUcontext
}
]
2dip
[
cuCtxCreate
cuda-error
]
2curry
with-out-parameters
;
inline