Thursday, May 31, 2012

OpenCL 1.2 and OpenCL binaries

it looks that I was a bit sleepy ( or busy? ) and overlooked may be first OpenCL 1.2 implementation been released, from AMD
practically many expected changes and described at many places, 

just may be to add from my side, a diff view:
note claimed AVX support.

My kernels work.

Now about interoperability of binary kernels: right nobody was promising much, especially in between vendors, like for now:
- AMD: uses binary and kind of ELF format 

- Intel: uses binary and kind of LLVM bitcode format with minor additions ( to prevent fast disassemble or just an old LLVM (2.8, 2.9 ... )
 ( note: pattern of 0x42 0x43 0xC0 0xDE  starting from offset 0x18, property of bc format, magic number aka BC 0xC0DE )


- Nvidia: uses plain text NVVM IR/PTX format

No comments:

Post a Comment