- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Many thanks Stas
That works perfectly. I can now run my FPGA application through Vtune on a local Linux browser. I will try the VS Code route later. I look forward to reading your cookbook.
My next problem is that the application fails at kernel launch if I select AOCL Profiler (it works for OpenCL Profiling API but gives no details on the kernel performance). The application is compiled with -Xsprofile. The error logged is:
acl_profiler.cpp:831 int acl_process_profiler_scan_chain(acl_device_op_t*): Assertion '0' failed.
aocl Error: The execution failed with an error.
aocl Returned status: 6
What am I doing wrong?
Kind regards
Marcus
Lien copié
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
This looks like a known bug which is planned to be fixed in next releases. As for workaround passing “-no-mem-transfers" option to aocl profile should help. This corresponds to 'FPGA no memory transfers' option in VTune analysis configuration. This does mean that memory transfer information between device and host will not be present in the final VTune report though.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hi ,
Did you try the solution provided by Dmitry. Is your issue resolved ?
Please let us know the updates.
Raeesa
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hi Raeesa and thanks Dimitry.
Yes this work-around works. But I still don't see any detailed performance figures within the FPGA kernel - what information should I expect to see?
Marcus
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hi Marcus,
Glad to know that work-around worked for you.
Please refer the following link for details regarding FPGA analysis and viewpoints :
Hope this helps.
Thanks and Regards,
Raeesa
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hi Raeesa,
I'm afraid I am still struggling to see any FPGA results. The documentation you refer to says to look at the 'FPGA Top Compute Tasks
In the Configuration I have chosen 'CPU/FPGA Interaction', left everything as default except for ticking the 'FPGA no memory transfers' as instructed. Is there something else I need to do?
I attach the collection log which contains warnings in case there is a clue there.
Kind regards
Marcus
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Could you please archive and share the VTune result folder (e.g. the r010fi one)? If you can't do this please share at least the log and config folders from it (e.g. r010fi/log and r010fi/config).
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hi Dmitry
Here is result folder.
Marcus
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
The error from logs is essentially saying that the compiler produced a profiler config file but did it wrong – a bug we haven’t seen before. If you can provide the application binary (target-forward.fpga) it would be a huge help in debugging. Feel free to contact me by mail [email protected] if you prefer to do it privately.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
We've got the binary and will continue the investigation. Meanwhile you can try the following things:
1) Run the design using “aocl profile /home/u57941/target-forward/target-forward.fpga” and see if it also produce the same errors
2) Recompile the design using the -Xsprofile option in case their design executable (target-forward.fpga) is corrupt in some way and then run step 1)
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
After some investigation we discovered a bug in the compiler that was resulting in a debug location having a line number of 0. This caused the profiler post processor to fail while trying to parse the line number. We plan to fix it in next versions of compiler.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hi Marcus,
This issue escalated to development. I will let you know as soon as I get any information.
Thank you!
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hi Marcus,
This issue was fixed in oneAPI 2021.4 release which will be available for download soon. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.
Thank you very much!
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable