cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

mike11
Journeyman III

ISA Assembly in OpenCL program

I have a requirement to optimize a working OpenCL program for AMD GPUs.

I would like to rewrite one core kernel in ISA assembly, but I'm stuck on the tool chain.

I have analyzed the OpenCL code in CodeXL, which gives me IL and ISA versions, but I don't know how to modify these and then run them.

I have done "Export Binary" ( device-specific binaries would be fine ) but I don't know how to run these in my own program.

Any suggestions would be very welcome at this point.

0 Likes
1 Reply
dipak
Big Boss

Hi,

Here are some related and useful threads for the same.

AMD GCN Assembler

GCN Assembler for Linux is available!

Creating assembly code from kernel code

clCreateProgramWithBinary  is used to create program objects from a pre-built binary (i.e. device specific binary or SPIR code).

Regards,

0 Likes