- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 -profile parameter. But when I run the aocx file , there is still profile.mon generated. My AOC version is 17.1.1
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Currently I am reviewing the forum for any open questions and found this thread. I apologize that no one seems to answer this question that you posted. Since it has been a while you posted this question, I'm wondering if you have found the answer? If not, please let me know, I will try to assign/find someone to assist you. Please do expect some delay in response as most of our agents are out of office due to the year-end holidays. Thank you.
Regards,
Nooraini
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
thanks for your attention!
In fact I did not get the answer! I want to know that my operation to remove the --profile is right or not!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
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
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page