Issue with Dynamic profiling for Autorun kernels.
Hi All,
I am profiling my OpenCL application which has a autorun kerenl. In the profile.mon, it was not giving any information. See the attached image.
After going through the Intel programming Guide, found "Unlike enqueued kernels that automatically generate profiler data on completion (if the compiler flag is set), autorun kernels never complete. Hence, you must explicitly indicate when to profile kernels by calling the clGetProfileDataDeviceIntelFPGA host library call."
But when I add
cl_int check = clGetProfileDataDeviceIntelFPGA (deviceId[0], program, TRUE, TRUE, NULL, NULL, NULL, NULL, &err);
I am getting the below error, please help me understsand what I am doing wrong in this. I am using Quartus 18.0
error: ‘clGetProfileDataDeviceIntelFPGA’ was not declared in this scope
Thanks in advance