OpenCL* for CPU
Ask questions and share information on Intel® SDK for OpenCL™ Applications and OpenCL™ implementations for Intel® CPU.
This forum covers OpenCL* for CPU only. OpenCL* for GPU questions can be asked in the GPU Compute Software forum. Intel® FPGA SDK for OpenCL™ questions can be ask in the FPGA Intel® High Level Design forum.
1720 Discussions

Is it possible that the aocl optimization "removing unnecessary storage to local memory" affects the calculated results?




I'm using Intel aocl to compile my design for fpga (arria 10) on Intel vLab. The compilations (for both emulation and real hardware) are successful excepts many warnings like "Aggressive compiler optimization: removing unnecessary storage to local memory". The emulation shows my design works well but the running of the hardware (fpga) version does not give me the correct results.


So I was wondering if it is possible for such aggressive optimization to affect the correctness of the calculation.


Any help is appreciated!

0 Kudos
0 Replies