Handbook
Glossary
cl-kernel-arity ( kernel -- arity )
Vocabulary
opencl
Inputs
kernel
a
cl-kernel
Outputs
arity
an
integer
Word description
Returns the number of inputs that this kernel function accepts.
Definition
USING:
accessors
opencl.ffi
opencl.private
;
IN:
opencl
:
cl-kernel-arity
( kernel -- arity )
handle>>
CL_KERNEL_NUM_ARGS
kernel-info-uint
;