cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

dipak
Community Manager
Community Manager

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
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