CoreFlow 1.0.0
A modern orchestration and execution runtime
|
The API used by Clients to add OpenCL Kernels as vx_kernel
.
More...
Functions | |
VX_API_ENTRY vx_kernel VX_API_CALL | vxAddOpenCLAsSourceKernel (vx_context context, vx_char name[VX_MAX_KERNEL_NAME], vx_enum enumeration, char *source[], size_t line_lengths[], size_t num_lines, char symbol_name[], vx_uint32 numParams, vx_kernel_input_validate_f input, vx_kernel_output_validate_f output) |
Adds an OpenCL Kernel as source code into the OpenVX implementation. | |
VX_API_ENTRY vx_kernel VX_API_CALL | vxAddOpenCLAsBinaryKernel (vx_context context, vx_char name[VX_MAX_KERNEL_NAME], vx_enum enumeration, cl_program program, char symbol_name[], vx_uint32 numParams, vx_kernel_input_validate_f input, vx_kernel_output_validate_f output) |
Adds an OpenCL Kernel as binary program into the OpenVX implementation. | |
The API used by Clients to add OpenCL Kernels as vx_kernel
.
VX_API_ENTRY vx_kernel VX_API_CALL vxAddOpenCLAsBinaryKernel | ( | vx_context | context, |
vx_char | name[VX_MAX_KERNEL_NAME], | ||
vx_enum | enumeration, | ||
cl_program | program, | ||
char | symbol_name[], | ||
vx_uint32 | numParams, | ||
vx_kernel_input_validate_f | input, | ||
vx_kernel_output_validate_f | output ) |
#include <vx_khr_opencl.h>
Adds an OpenCL Kernel as binary program into the OpenVX implementation.
[in] | context | The OpenVX Context. |
[in] | name | The name of the kernel in OpenVX nomenclature. |
[in] | enumeration | The OpenVX kernel enumeration used to identify this kernel. |
[in] | program | The OpenCL Program which contains the kernel (either pre-compiled or compiled by user). |
[in] | symbol_name | The name of the kernel to call in the program. |
[in] | numParams | The number of parameters to the OpenVX kernel. |
[in] | input | The input validator. |
[in] | output | The output validator. |
vxAddParameterToKernel
to configure the specific parameter attributes. VX_API_ENTRY vx_kernel VX_API_CALL vxAddOpenCLAsSourceKernel | ( | vx_context | context, |
vx_char | name[VX_MAX_KERNEL_NAME], | ||
vx_enum | enumeration, | ||
char * | source[], | ||
size_t | line_lengths[], | ||
size_t | num_lines, | ||
char | symbol_name[], | ||
vx_uint32 | numParams, | ||
vx_kernel_input_validate_f | input, | ||
vx_kernel_output_validate_f | output ) |
#include <vx_khr_opencl.h>
Adds an OpenCL Kernel as source code into the OpenVX implementation.
[in] | context | The OpenVX Context. |
[in] | name | The name of the kernel in OpenVX nomenclature. |
[in] | enumeration | The OpenVX kernel enumeration used to identify this kernel. |
[in] | source | The array of source line pointers. |
[in] | line_lengths | The array of lines lengths for each line of source. |
[in] | num_lines | the number of lines in both the sources array and line_lengths array. |
[in] | symbol_name | The name of the kernel to call in the program. |
[in] | numParams | The number of parameters to the OpenVX kernel. |
[in] | input | The input validator. |
[in] | output | The output validator. |
vxAddParameterToKernel
to configure the specific parameter attributes.