Hello,
I'm implementing 3x3 filter need copy padding with Stream engine. Could you share example code?
Best regards,
Wilson.
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.
Hello,
I'm implementing 3x3 filter need copy padding with Stream engine. Could you share example code?
Best regards,
Wilson.
Hi WIlson,
You can see TI_C7X_DSP_TRAINING_00.05/c7x_dsp_code_samples/c7x_sample_2.html.
Regards,
Rishabh
Rishabh,
c7x_sample2 looks like using zero padding. I can' find copy code. Is there any trick using vector permutation and stream engine?
Best regards,
Wilson.
Yes you can use either the vector permute operation to duplicate elements or use streaming engine element-duplication feature. Look at streaming engine chapter for examples on element duplication.
Regards,
Shyam
Shyam,
I've implemented copy padding with __permute(). Thanks for advice. I hope more C7x example code available soon.
Best regards,
Wilson.
Thanks for the feedback Wilson,
There are a few more highly optimized kernels under "TI_C7X_DSP_TRAINING_00.05/c7x_dsp_code_samples_adv" folder, but I have to write some documentation on each of them. Planning to have it by next release sometime in 1Q20.
We will surely try to add more examples to the training material.
Regards,
Shyam