Forum Discussion
yjian16
New Contributor
7 years agoDisable output of profile.mon
I was using the AOC to generate the .aocx file. When I run the aocx file, I do not want to generate the profile.mon file. How should I do? please help me! when I compile the .cl, I have remove the ...
MuhammadAr_U_Intel
Contributor
7 years agoHi,
To enable the profiling for OpenCL kernel we need to add "-profile=(all|autorun|enqueued)' to you aoc command.
For example aoc -profile=(all|autorun|enqueued) <your_kernel_filename>.cl
After that during host execution it will create "profile.mon" file with profiling data.
Now in your case since you don't want to generate profile data, make sure you clean your previous compilation results and delete older "profile.mon" as well.
- Recompile you kernel, aoc -v -board=<board_name> device/hello_world.cl -o bin/hello_world.aocx
- Flash fpga with kernel programming file aocl flash <device_name><design_example_filename>.aocx
- Re-create host executable file.
- Run host file.
Let me know if you have any questions.
Thanks,
Arslan