cancel
Showing results for 
Search instead for 
Did you mean: 

OpenCL

dipak
Staff
Staff

Re: Issues when switching to OpenCL 2.0

Jump to solution

If I'm right, Stanislav Mekhanoshin has asked for the intermediate temporary files (such as IL and ISA code) that can be generated during kernel building/compilation. You can dump/save those temporary files using build option "-save-temps[=<prefix>]"  . For more details, please refer the section "3.4 AMD-Developed Supplemental Compiler Options" in AMD programming user guide.

Regards

0 Likes
Reply
rampitec
Staff
Staff

Re: Issues when switching to OpenCL 2.0

Jump to solution

Right, dumps made with -save-temps=<prefix> is what is needed for the analysis. The easiest way to get them is by setting env AMD_OCL_BUILD_OPTIONS_APPEND=-save-temps=dump before the app run.

AMD_OCL_BUILD_OPTIONS_APPEND

0 Likes
Reply