Handbook
Glossary
cl_addressing_mode>addressing-mode ( cl_addressing_mode -- addressing-mode )
Vocabulary
opencl
.
private
Inputs
cl_addressing_mode
an
object
Outputs
addressing-mode
an
object
Definition
USING:
combinators
opencl
opencl.ffi
;
IN:
opencl.private
:
cl_addressing_mode>addressing-mode
( cl_addressing_mode -- addressing-mode )
{
{
CL_ADDRESS_REPEAT
[
cl-repeat-addressing
]
}
{
CL_ADDRESS_CLAMP_TO_EDGE
[
cl-clamp-to-edge-addressing
]
}
{
CL_ADDRESS_CLAMP
[
cl-clamp-addressing
]
}
{
CL_ADDRESS_NONE
[
cl-no-addressing
]
}
}
case
;
inline