Forum Discussion
Hi,
This is an uncommon issues, I need to check internally with this issues.
Can you try to compile the simple example code in Chapter 1.3 as link below:
https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/hb/opencl-sdk/aocl-best-practices-guide.pdf
Thanks
- zjinf6 years ago
Occasional Contributor
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]);
- HRZ6 years ago
Frequent Contributor
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.