Changes between Version 9 and Version 10 of AmdCl2Abi
- Timestamp:
- 09/29/17 18:00:44 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AmdCl2Abi
v9 v10 3 3 #!html 4 4 <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 6 Kernel setup is AMD HSA configuration, hence we recommend to refer to ROCm-ABI documentation 7 to get information about kernel setup and kernel arguments passing. Now assembler have 8 all the AMD HSA configuration's pseudo-ops to do it.</p> 6 9 <p>In this chapter, size is given in dwords. Dword is 4-byte value.</p> 7 10 <h3>Passing options</h3> … … 27 30 <li>if usegeneric enabled, then 12 user data registers will be used. 4-5 user data regs 28 31 are 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 33 are kernel setup pointer. 6-7 user data regs are argument's pointer.</li> 29 34 </ul> 30 35 <h3>Argument passing and kernel setup</h3>