Altera_Forum
Honored Contributor
10 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 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.