Handbook
Glossary
buffer-access-constant ( buffer-access-mode -- n )
Vocabulary
opencl
.
private
Inputs
buffer-access-mode
an
object
Outputs
n
an
object
Definition
IN:
opencl.private
GENERIC:
buffer-access-constant
( buffer-access-mode -- n )
Methods
USING:
kernel
opencl
opencl.ffi
opencl.private
;
M:
cl-read-access
buffer-access-constant
drop
CL_MEM_READ_ONLY
;
USING:
kernel
opencl
opencl.ffi
opencl.private
;
M:
cl-read-write-access
buffer-access-constant
drop
CL_MEM_READ_WRITE
;
USING:
kernel
opencl
opencl.ffi
opencl.private
;
M:
cl-write-access
buffer-access-constant
drop
CL_MEM_WRITE_ONLY
;