cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

shankha
Journeyman III

Profiling the compilation stage of OpenCL compiler

Hi,
Are there any enviornment variables which can be set or options used which can help me to generate profiling information for the compilation stage of a kernel for the AMD OpenCL compiler(e.g. Amount of Heap memory used, No of Cycles of execution, etc).  

Thanks

Tags (2)
0 Likes
1 Reply
himanshu_gautam
Grandmaster

Profiling the compilation stage of OpenCL compiler

I am not aware of any way to profile the compilation. You can try to time the clBuildProgram function, which should approximately give the time taken to compile.

Thanks

0 Likes