Changes between Version 9 and Version 10 of AmdCl2Abi


Ignore:
Timestamp:
09/29/17 18:00:44 (6 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AmdCl2Abi

    v9 v10  
    33#!html
    44<h2>AMD Catalyst OpenCL 2.0 ABI description</h2>
    5 <p>This chapter describes how kernel gets its argument, how access to constant data.</p>
     5<p>This chapter describes how kernel gets its argument, how access to constant data. Because
     6Kernel setup is AMD HSA configuration, hence we recommend to refer to ROCm-ABI documentation
     7to get information about kernel setup and kernel arguments passing. Now assembler have
     8all the AMD HSA configuration's pseudo-ops to do it.</p>
    69<p>In this chapter, size is given in dwords. Dword is 4-byte value.</p>
    710<h3>Passing options</h3>
     
    2730<li>if usegeneric enabled, then 12 user data registers will be used. 4-5 user data regs
    2831are kernel setup pointer. 8-9 user data regs are argument's pointer.</li>
     32<li>for VEGA (GFX9) architecture, then 10 user data registers will be used. 4-5 user data regs
     33are kernel setup pointer. 6-7 user data regs are argument's pointer.</li>
    2934</ul>
    3035<h3>Argument passing and kernel setup</h3>