Changes between Version 45 and Version 46 of ClrxAsmAmdCl2
- Timestamp:
- 02/16/25 09:00:42 (4 weeks ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ClrxAsmAmdCl2
v45 v46 13 13 prevbious binary format for OpenCL 1.2. The Kernel codes are in single text inner binary. 14 14 Instead of AMD CAL notes and ProgInfo entries, the kernel setup is in special 15 format structure. Metadatas mainly hold sarguments definitions of kernels.</p>16 <p> ACLRadeonExtender supports two versions of binary formats for OpenCL 2.0: newer (since15 format 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 17 17 AMD OpenCL 1912.05) and older (before 1912.05 driver version).</p> 18 18 <p>Special section to define global data for all kernels:</p> … … 23 23 </ul> 24 24 <h2>Relocations</h2> 25 <p> ACLRX assembler handles relocations to symbol at global data, global rwdata and25 <p>The CLRX assembler handles relocations to symbol at global data, global rwdata and 26 26 global bss data in kernel code. These relocations can be applied to places that accepts 27 27 32-bit literal immediates. Only two types of relocations is allowed:</p> … … 39 39 s_mov_b32 s14, (gdata+160)&0xffffffff</code></p> 40 40 <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: 42 42 for human (<code>.config</code>) and for quick recompilation (kernel setup, stub, metadata content).</p> 43 43 <p>In the HSA layout mode the kernel codes in single main code section and no code section