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?
"tivxTargetKernelInstanceAlloc: kernel <kernel name> has not been registered on this CPU"
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 target CPU. Therefore, the kernel module register target callbacks function must be called during init time of the target core. This API will most likely be called tivxRegister<Target Kernel Name>Kernels.
For example, the sample surround view kernels within vision apps are contained within the surround view kernel module. This kernel module contains target kernels which are executed on both the C66 and A72 cores. Therefore, the target kernels must be registered on both the C66 and A72 cores during init time for each of these cores. In order to do so, the tivxRegisterSrvTargetC66Kernels function is called at init time of the C66 core and the tivxRegisterSrvTargetGpuKernels is called at init time of the A72 core.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.