FPorr
New Contributor
6 years agoOpenCL software emulation crashes when the Kernel uses more than 6MByte of memory
Hello,
the OpenCL software emulation crashes with a segmentation fault when the kernel utilizes more than 6MByte of memory. Example:
uchar arr[128*128*384]; // 6MByte -- Works
uchar arr[128*128*385]; // more than 6MByte -- Segmentation FaultIf this behavior is intended, a warning message would be appreciated, to prevent people from searching for a non-existing bug in their code.
Setup:
Ubuntu 16.04.2
Intel FPGA SDK for OpenCL 18.0.0-219
Tested Boards:
Arria 10 (ref BSP and BSP of custom hardware)
Stratix 10 (only BSP of custom hardware)