This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[FAQ] PROCESSOR-SDK-DRA8X-TDA4X: Error with new node in OpenVX

Part Number: PROCESSOR-SDK-DRA8X-TDA4X

When I try to create a new node in OpenVX, I get the following error message.  How do I fix this issue?

"tivxCreateNodeByKernelName: Call to vxGetKernelByName failed; kernel may not be registered"

  • Each kernel is OpenVX is a part of a "kernel module".  Each kernel module must be loaded on the host CPU side as well as the target CPU which this kernel is executed on.  The reason for loading each kernel module on both host and target CPU's is that each kernel requires both host and target CPU callbacks to be registered with the framework.

    This particular issue is due to the kernel module not being loaded on the host CPU.  Therefore, the kernel module load function must be called during init time of the application.  This API will most likely be called tivx<Kernel Module Name>LoadKernels. 

    For example, the TIOVX HWA kernels are contained within the HWA kernel module.  The load kernels function for this module is called tivxHwaLoadKernels.  Therefore, this function is called during init time of any application needing to create a node of any HWA kernel.