Changes between Version 11 and Version 12 of AmdCl2Abi


Ignore:
Timestamp:
12/29/17 08:00:29 (6 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AmdCl2Abi

    v11 v12  
    55<p>This chapter describes how kernel gets its argument, how access to constant data. Because
    66Kernel 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
     7to get information about kernel setup and kernel arguments passing. Now an assembler have
    88all the AMD HSA configuration's pseudo-ops to do it.</p>
    99<p>In this chapter, size is given in dwords. Dword is 4-byte value.</p>
     
    1818<li>usegeneric - enable generic pointers support</li>
    1919</ul>
    20 <p>Number of user data registers depends on set of an enabled features. Following rules will
     20<p>The number of user data registers depends on set of an enabled features. Following rules will
    2121be applied:</p>
    2222<ul>
     
    5353<li>void* aqlwrap_pointer - 32-bit or 64-bit</li>
    5454</ul>
    55 <p>Further arguments in that buffer are an user arguments defined for kernel. Any pointer,
     55<p>Further arguments in that buffer are an user arguments defined for a kernel. Any pointer,
    5656command queue, image, sampler, structure tooks 8 bytes (64-bit pointer) or
    57574 bytes (32-bit pointer) in 32-bit AMD OpenCL 2.0.
    58583 component vector tooks number of bytes  of 4 element vector.
    59 Smaller types likes (char, short) tooks 1-3 bytes. Alignment depends on same type
     59Smaller types likes (char, short) tooks 1-3 bytes. An alignment depends on same type
    6060or type of element (for vectors).</p>
    6161<p>For 64-bit AMD OpenCL 2.0 all setup arguments and pointers are 64-bit.