Handbook
Glossary
cl_device_mem_cache_type>cache-type ( uint -- cache-type )
Vocabulary
opencl
.
private
Inputs
uint
an
object
Outputs
cache-type
an
object
Definition
USING:
combinators
opencl
opencl.ffi
;
IN:
opencl.private
:
cl_device_mem_cache_type>cache-type
( uint -- cache-type )
{
{
CL_NONE
[
cl-no-cache
]
}
{
CL_READ_ONLY_CACHE
[
cl-read-only-cache
]
}
{
CL_READ_WRITE_CACHE
[
cl-read-write-cache
]
}
}
case
;
inline