Hi,
I am referring to dsp_lenet_demo example to port my CNN inference application using HiFi4 NN library functions. I am trying to run xa_nn_conv2d_std_8x8 function with dimensions [3, 160, 120] -> [16, 160, 120]. xa_nn_conv2d_std_getsize tells 307200 bytes of buffer is needed. So when I request 307200 bytes from SDK_Malloc, it returns NULL. It is working fine with smaller dimensions. How can I run convolution function with big dimensions?
Thanks,
Tugrul
Hi Tugrul,
You can check inside SDK_Malloc to see exactly what is the parameter you are violating and why SDK_Malloc returns null.
Best regards,
Felipe