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
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.
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.
Let me know if you have any questions.