Viewing x86/x64 assembly

Discussion created by omion on Jan 21, 2011
Latest reply on Mar 2, 2011 by himanshu.gautam
Is there any easy way to view the x86 (or preferably x64) assembly of an OpenCL kernel? Stream KernelAnalyzer does not want to output an x86 assembly listing for some reason.

What I do now is write to a null pointer in the kernel, then run a MSVS debug with a temp host program, then disassemble the code where it throws an exception. This takes a long time and I need to actually put together a program to run the kernel, so it's not very easy to optimize a kernel for it.

Is there any way to just dump the assembly to a file somewhere without having to run a program to get it?

Also, when will Stream KernelAnalyzer support this? The x86 format has been there a while, but it never does anything.