CoreFlow 1.0.0
A modern orchestration and execution runtime
Loading...
Searching...
No Matches
vx_khr_opencl.h File Reference
#include <VX/vx.h>
#include <CL/cl.h>

Macros

#define VX_SCALE_UNITY   (1024)
 
#define VX_CL_MAX_PLANES   (4)
 The maximum number of planes an image may have which is compatible across both API.
 
#define OPENVX_KHR_OPENCL   "vx_khr_opencl"
 The string name of this extension to match for in the extensions list.
 

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.
 

Macro Definition Documentation

◆ VX_SCALE_UNITY

#define VX_SCALE_UNITY   (1024)