cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

HarryH
Journeyman III

Dumping IL and ISA does not work on linux in v2.2 (Solved)

Setting the environment variable GPU_DUMP_DEVICE_KERNEL as described in the

OpenCL Programming Guide rev 1.05 pages  1-30 and 4-3 does not produce any

.il or .isa files on my linux system.

0 Likes
2 Replies
dschwen
Journeyman III

export GPU_DUMP_DEVICE_KERNEL=3
./myGPUprogram 

works perfectly on my machine (Debian unstable, SDK 2.2, 10.7b)

0 Likes

Thanks for your input. I had tried it with the putenv() method. An export in the shell now

works for me also. I had put a call to putenv right before clBuildProgram, I moved it to the

very start of the program and now that works as well. The reason that export in the shell

previously didn't work is that I had left the putenv() call in (probably).

0 Likes