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,
For the foo function with an empty body, the compiler will optimize it away and could not find the utilization for the foo function.
For the foo function without an empty body, the compiler will inline the function.
However, you should still see the area usage for that function in the reports. It will first point to the call in my_kernel_function and then foo function.
Thanks