Forum Discussion
DHawv
New Contributor
6 years agoI can build a pac_a10 design for profiling on devcloud, and compile the host code containing a clGetProfileInfoIntelFPGA() call, but when I run it I get the error listed in the Details.
Error message running bin/host from the command line: Error: Unable to find function name clGetProfileInfoIntelFPGA in board library /glob/development-tools/versions/oneapi/beta05/inteloneapi/compil...
MEIYAN_L_Intel
Frequent Contributor
6 years agoHi,
Based on the warning and error, provided you might need to the file you profiling is available in the location /lib/modules/kernel_version/ location.
Also, you may need to make sure all the file is able to read and write by using command "chmod 777".
If there is any new error found, you may need to file a new forum case to better support.
Thanks
DHawv
New Contributor
6 years agoWhile the directory " /lib/modules/kernel_version/ " exists, it has no subdirectory "kernel_version",
and since these directories are only writeable by root on the devcloud fpga_runtime node, I couldn't
change them if I wanted to.
The error message seems to imply that I am trying to profile the Linux kernel, which I have no interest in doing.
I'm only trying to profile the OneAPI FPGA application.