cf4ocl (C Framework for OpenCL)
v2.1.0
Object-oriented framework for developing and benchmarking OpenCL projects in C/C++
|
Implementation of a wrapper type and related functions for a OpenCL kernel arguments. More...
Go to the source code of this file.
Functions | |
CCLArg * | ccl_arg_new (void *value, size_t size) |
Create a new kernel argument. More... | |
Variables | |
const CCLArg * | ccl_arg_skip = &arg_skip |
Use this constant to skip kernel arguments in the ccl_kernel_set_args(), ccl_kernel_set_args_v(), ccl_kernel_set_args_and_enqueue_ndrange() and ccl_kernel_set_args_and_enqueue_ndrange_v() functions. | |
Implementation of a wrapper type and related functions for a OpenCL kernel arguments.
Definition in file ccl_kernel_arg.c.
CCLArg* ccl_arg_new | ( | void * | value, |
size_t | size | ||
) |
Create a new kernel argument.
Arguments created with this function can local, private or NULL. Client code shouldn't directly use this function, but use instead ccl_arg_priv(), ccl_arg_local() or ccl_arg_full().
[in] | value | Argument value. |
[in] | size | Argument size. |
Definition at line 76 of file ccl_kernel_arg.c.