Forum Discussion
m4n1c22
New Contributor
6 years agoHow to list nested functions used in OpenCL kernel in the final report?
Hi, I am new to Intel Altera. I am trying to list the resource utilization for the nested functions. Lets consider the following example: int foo(int a) {
...
}
//Kernel function
void my_kern...
MEIYAN_L_Intel
Frequent Contributor
6 years agoHi,
May I have the full design code and I would like to compile at my side for further investigate?
Also, may I know the information as below:
- OS version
- OpenCL SDK edition and version
Thanks
- m4n1c226 years ago
New Contributor
Hi,
- OS Version - CentOS Linux release 7.7.1908 (core)
- OpenCL SDK edition and version - Intel(R) FPGA SDK for OpenCL(TM). version 18.1.2 Build 277 Pro Edition
- The target board is pac_s10_dc
My code is a test code not a real project more like a helloworld program for testing nested functions. I have attached the source code as a zip along with this post.
You can run the cl file after unzipping it with the following compiler options:
aoc -rtl -report -v -board=pac_s10_dc -fp-relaxed -fpc test_nesed_functions.cl
Thanks