- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 after the clEnqueueNDRangeKernel API , I compiled the program (vectoradd) and got the error message - " main.cpp:270: error: ‘clGetProfileInfoAltera’ was not declared in this scope ". So how could I profile the program (command , code , GUI) ? I will get error when I follow the steps of profiling in programming guide : ( The version I installed is 13.1.Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I 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
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page