cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

aj_guillon
Adept I

Annotated Assembly Output

Is there any way to get annotations of OpenCL code in the generated assembly code... either when we dump the kernel code, or in the kernel analyzer?  Some of my kernels become quite huge, and it would be nice if there was some way to tell what parts of the assembly correspond to what parts of the original C code...

0 Likes
2 Replies
himanshu_gautam
Grandmaster

hi aj_guillon,

AFAIK you can see the ISA or IL code in the SKA as well as in profiler.

also there is a environment variable GPU_DUMP_DEVICE_KERNEL which can be used to dump ISA or IL.

Detailed description about using these is given in ATI Stream SDK OpenCL Programming Guide.

Thanks

0 Likes

IMHO this is not quite possible. as compiler regroup independent instructions to utilize VLIW unit.

0 Likes