On your advice I am using Utils_memAlloc for memory allocation, and I just want to check whether I am doing it right.
acc = Utils_memAlloc(UTILS_HEAPID_DDR_CACHED_SR_NON_ECC_QM, (tw*thh)*4, 4);
I am trying to make accumulator acc that can store up to 250200 integers. I am using UTILS_HEAPID_DDR_CACHED_SR_NON_ECC_QM for heap because it is big enough, tw is 180, thh is 1390 and I put *4 because it says that the size is in bytes, and byte alignment is 4.
I am trying to make accumulator acc that can store up to 250200 integers. I am using UTILS_HEAPID_DDR_CACHED_SR_NON_ECC_QM for heap because it is big enough, tw is 180, thh is 1390 and I put *4 because it says that the size is in bytes, and byte alignment is 4.
Is that correct?
Thank you,
Srdjan