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_kernel_function( // Input and output matrices
__global int *axi,
// Widths of matrices.
int A_width)
{
int a;
a = foo(axi[0]);
....
}When I generate the report after running the aoc compiler, I am not a getting detailed report containing utilization from "foo" function but, only from my_kernel function. I believe this is because of compiler inlining the functions.
How can make changes in the program to adapt and find the necessary resources for the same?