Handbook
Glossary
size_t>cl-device-type ( size_t -- cl-device-type )
Vocabulary
opencl
Inputs
size_t
an
object
Outputs
cl-device-type
an
object
Definition
USING:
combinators
opencl.ffi
;
IN:
opencl
:
size_t>cl-device-type
( size_t -- cl-device-type )
{
{
CL_DEVICE_TYPE_DEFAULT
[
cl-device-default
]
}
{
CL_DEVICE_TYPE_CPU
[
cl-device-cpu
]
}
{
CL_DEVICE_TYPE_GPU
[
cl-device-gpu
]
}
{
CL_DEVICE_TYPE_ACCELERATOR
[
cl-device-accelerator
]
}
}
case
;
inline