I am receiving the error "User store segfault @ 0x000000007feff598
" for a large convolution operation.
I have defined the resultant array as
int t3_isize = 0;
int t3_irowcount = 0;
t3_irowcount=atoi(argv[2]);
t3_isize = atoi(argv[3]);
int iarray_size = t3_isize*t3_irowcount;
uint64_t t_result[iarray_size];
I noticed that if the array size is less than 2^16 - 1
, the operation doesn't fail, but for the array size 2^16
or higher, I get the segfault error.
Any idea why this is happening? And how can i rectify this?