TIOVX User Guide

Detailed Description

Internal APIs for kernel operations.

Data Structures

struct  tivx_signature_t
 The internal representation of the attributes associated with a run-time parameter. More...
 
struct  tivx_kernel_t
 Kernel object internal state. More...
 

Functions

vx_enum ownKernelGetDefaultTarget (vx_kernel kernel)
 Get default target ID associated with this kernel. More...
 
vx_enum ownKernelGetTarget (vx_kernel kernel, const char *target_string)
 Match user provided target with supported targets and return target ID on which to run this kernel. More...
 

Function Documentation

◆ ownKernelGetDefaultTarget()

vx_enum ownKernelGetDefaultTarget ( vx_kernel  kernel)

Get default target ID associated with this kernel.

Returns
TIVX_TARGET_ID_INVALID if no target or invalid target associated with this kernel

◆ ownKernelGetTarget()

vx_enum ownKernelGetTarget ( vx_kernel  kernel,
const char *  target_string 
)

Match user provided target with supported targets and return target ID on which to run this kernel.

Returns
TIVX_TARGET_ID_INVALID if valid target match not found