Forum Discussion
Altera_Forum
Honored Contributor
11 years agoclGetProfileInfoAltera question
hi guys, In OpenCL Programming Guide , It says that we can use clGetProfileInfoAltera to get the profile.mom file when the kernel is completed. But I added the clGetProfileInfoAltera API afte...
Altera_Forum
Honored Contributor
11 years agoI am pretty sure 13.1 doesn't support profiling. I didn't start using it until 14.0. I am not familiar with the clGetProfileInfoAltera api. Are you looking at the latest documentation? If you add "--profile" to your command line compile, the profile.mon file will be generated when you execute your application. Then run "aocl report profile.mon <kernel>.aocx to launch the gui. This works for me.
Hope that helps, Rudy