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.
Hi.
I'm trying to modify the c7x kernel example code.
But the example code is made with kernel and call the kernel by ENUM preset.
1. How to make custom kernel and allocate ENUM
2. In the example whats difference with app_c7x_target_kernel_img_add.cpp and app_c7x_kernel_img_add.c
Thank you.
Hi Kwanghyun,
Could you clarify what part of the example code you are trying to modify? I'm assigning your question to our appropriate expert.
Best,
Asha
This example is about frame adding example.
I want to change the adding kernel to another one such as multiplying weights on just one frame.( change the kernel )
Hi,
You could refer the below documentation to add new kernels.
TIOVX User Guide: User Kernels and User Target Kernels
You could also refer the TIOVX/tutorial/ch03_graph to create a target kernel on C7 DSP
In the example whats difference with app_c7x_target_kernel_img_add.cpp and app_c7x_kernel_img_add.c
The .cpp is the target side implementation of the kernel (i.e. the code runs on C7x) and the .c is the host side implementation of the kernel (i.e. code runs on A72)
Regards,
Nikhil