EVK-MIMXRT685 SDK_Malloc returns NULL for 307200 bytes

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

EVK-MIMXRT685 SDK_Malloc returns NULL for 307200 bytes

724 次查看
tugrulyatagan
Contributor I

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

标签 (1)
0 项奖励
回复
1 回复

703 次查看
FelipeGarcia
NXP Employee
NXP Employee

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

0 项奖励
回复