Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
839 Views

Profile.mon is not Generated

Hi, i run the command aoc --profile <mykernel_name>.cl 

The compiler doesn't return me any error and the compilation only generate .aocx file. 

Any possible cause on this issue?  

I've been read through the similar thread in this forum, but there's no solution for this issue.  

And i tried 3 times for this :( :( :(  

 

Could anyone please help on this?
0 Kudos
3 Replies
Altera_Forum
Honored Contributor I
51 Views

You have to run the kernel using the profile aocx file and then you will get the profiling info. 

 

Check "Intel FPGA SDK for OpenCL Programming Guide, Section 10 - Profiling Your OpenCL Kernel" and "Intel FPGA SDK for OpenCL Best Practices Guide, Section 4 - Profiling Your Kernel to Identify Performance Bottlenecks" for more info.
Altera_Forum
Honored Contributor I
51 Views

 

--- Quote Start ---  

You have to run the kernel using the profile aocx file and then you will get the profiling info. 

 

Check "Intel FPGA SDK for OpenCL Programming Guide, Section 10 - Profiling Your OpenCL Kernel" and "Intel FPGA SDK for OpenCL Best Practices Guide, Section 4 - Profiling Your Kernel to Identify Performance Bottlenecks" for more info. 

--- Quote End ---  

 

 

Thank for your reply. 

If i'm not mistaken, the command should generate both profile.mon and .aocx file (Issue: I don't get the profile.mon file).  

Both "profile.mon" and ".aocx" file are needed to get the profiling info. 

Please correct me if I'm wrongly understanding the documentation
Altera_Forum
Honored Contributor I
51 Views

No, the aoc command does not generate profile.mon. As I said, you have to run the application and then, at run time, profiling info is gathered and profile.mon is generated. Then you supply the profiler with the aocx file and the profile.mon file and get the profiling info.

Reply