Forum Discussion
HI Mylee
i run the chapter chapter 1.3 case ,still wrong:
aoc: Environment checks are completed successfully.
aoc: Cached files in /var/tmp/aocl/iot may be used to reduce compilation time
You are now compiling the full flow!!
aoc: Selected target board a10gx
aoc: Running OpenCL parser....
/home/iot/work_example/tmp/prefetch/test.cl:11:35: error: implicit declaration of function '__prefetching_load' is invalid in OpenCL
sum[k] += __prefetching_load(&a[j]);
I think the possibility to control the LSU type was added in v19.3 and is not [fully] supported in v19.2. Only the guide from v19.3 has the "Controlling the Load-Store Units" section. The example in Section 1.3 of the v19.2 guide is probably a documentation error that mistakenly introduces an unreleased feature.