Changes between Version 45 and Version 46 of ClrxAsmAmdCl2


Ignore:
Timestamp:
02/16/25 09:00:42 (4 weeks ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ClrxAsmAmdCl2

    v45 v46  
    1313prevbious binary format for OpenCL 1.2. The Kernel codes are in single text inner binary.
    1414Instead of AMD CAL notes and ProgInfo entries, the kernel setup is in special
    15 format structure. Metadatas mainly holds arguments definitions of kernels.</p>
    16 <p>A CLRadeonExtender supports two versions of binary formats for OpenCL 2.0: newer (since
     15format structure. Metadatas mainly hold arguments definitions of kernels.</p>
     16<p>The CLRadeonExtender supports two versions of binary formats for OpenCL 2.0: newer (since
    1717AMD OpenCL 1912.05) and older (before 1912.05 driver version).</p>
    1818<p>Special section to define global data for all kernels:</p>
     
    2323</ul>
    2424<h2>Relocations</h2>
    25 <p>A CLRX assembler handles relocations to symbol at global data, global rwdata and
     25<p>The CLRX assembler handles relocations to symbol at global data, global rwdata and
    2626global bss data in kernel code. These relocations can be applied to places that accepts
    272732-bit literal immediates. Only two types of relocations is allowed:</p>
     
    3939s_mov_b32       s14, (gdata+160)&amp;0xffffffff</code></p>
    4040<h2>Layout of the source code</h2>
    41 <p>The CLRX assembler allow to use one of two ways to configure kernel setup:
     41<p>The CLRX assembler allows to use one of two ways to configure kernel setup:
    4242for human (<code>.config</code>) and for quick recompilation (kernel setup, stub, metadata content).</p>
    4343<p>In the HSA layout mode the kernel codes in single main code section and no code section