eheim
New Contributor
7 years agoOpenCL Compiler Local Memory Address Space Splitter fails
Hello, when compiling my OpenCL kernels with AOCL 17.1, I get the following error: aoc: Optimizing and doing static analysis of code...aocl-opt: Value.cpp:287: void llvm::Value::replaceAllUsesWith(...
- 7 years ago
Thank you for your reply, AKert. It is great to hear that my report is of some value. Meanwhile, I have found that the issue seems to be caused by reading from global memory and writing to an Intel FPGA channel in a single statement. When replacing
UTL_WRITE_CH(ch_1, data1[j]); UTL_WRITE_CH(ch_2, buf_d2[i]);with (make sure to use the actual types)
const my_type1 temp1 data1[j] UTL_WRITE_CH(ch_1, temp1); const my_type2 temp2 buf_d2[i] UTL_WRITE_CH(ch_2, temp2);the error goes away. It may or may not be related to also using char (8 bits) buffers.