Forum Discussion
Altera_Forum
Honored Contributor
8 years agoHow to profile PCI transfer with aocl report?
With the IntelFPGA SDK 17.0, the Dynamic Profiler for OpenCL GUI (report) is showing me only the kernel execution time but not the PCI transfers.
However, I remember seeing the PCI transfer with an older SDK version and another board, Does somebody know how to show it, if it was removed or if it depends from board to board?3 Replies
- Altera_Forum
Honored Contributor
Generally you would set the environment variable ACL_PROFILE_TIMER to 1 before profiling your code if you wanted to show the memory transfers in the report.
The best practices guide has a small brief of it https://www.altera.com/content/dam/altera-www/global/en_us/pdfs/literature/hb/opencl-sdk/aocl-best-practices-guide.pdf#_opentopic_toc_processing_d116e11390 - Altera_Forum
Honored Contributor
--- Quote Start --- Generally you would set the environment variable ACL_PROFILE_TIMER to 1 before profiling your code if you wanted to show the memory transfers in the report. The best practices guide has a small brief of it https://www.altera.com/content/dam/altera-www/global/en_us/pdfs/literature/hb/opencl-sdk/aocl-best-practices-guide.pdf#_opentopic_toc_processing_d116e11390 --- Quote End --- Oh yes, that was it! I thought it was enabled by default. Thank you! - ADua0
Occasional Contributor
Can you please tell me how to set that variable because when I tried I am not able to see PCIE transfer time ?