Forum Discussion
Thanks for the links, that was very helpful.
Using that information, I was able to compile the OneAPI vector-add example with profiling enabled (by adding the "-Xsprofile" option to the command line).
I then tried to obtain the profiling information by running the command "vtune -collect=fpga-interaction vector-add.fpga" on an fpga-runtime node, but got the following error messages:
vtune: Warning: Access to /proc/kallsyms file is limited. Consider changing /proc/sys/kernel/kptr_restrict to 0 to enable resolution of OS kernel and kernel module symbols.
vtune: Warning: To profile kernel modules during the session, make sure they are available in the /lib/modules/kernel_version/ location.
vtune: Error: Binary `vector-add.fpga' cannot be executed. Suggestion: Make sure the file exists, specified location is correct, and you have privileges to run the file.
vtune: Collection failed.
I'm not really sure what that means, given that that the vector-add.fpga executable was in the directory in which I ran the command.
I had no trouble running the executable without using vtune, but of course could not obtain the profiling information.
Is there something else I need to do?