cancel
Showing results for 
Search instead for 
Did you mean: 

OpenCL

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

Tags (1)
0 Kudos
Reply
2 Replies
himanshu_gautam
Grandmaster

Annotated Assembly Output

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 Kudos
Reply
nou
Exemplar

Annotated Assembly Output

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

0 Kudos
Reply