Forum Discussion
MEIYAN_L_Intel
Frequent Contributor
5 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