Changes between Version 10 and Version 11 of AmdCl2Abi


Ignore:
Timestamp:
Dec 13, 2017, 6:00:33 PM (12 months ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AmdCl2Abi

    v10 v11  
    4646First argument are setup arguments.</p>
    4747<ul>
    48 <li>ulong global_offset_0 - 64-bit global offset for X</li>
    49 <li>ulong global_offset_1 - 64-bit global offset for Y</li>
    50 <li>ulong global_offset_2 - 64-bit global offset for Z</li>
     48<li>size_t global_offset_0 - 32-bit or 64-bit global offset for X</li>
     49<li>size_t global_offset_1 - 32-bit or 64-bit global offset for Y</li>
     50<li>size_t global_offset_2 - 32-bit or 64-bit global offset for Z</li>
     51<li>void* printf_buffer - 32-bit or 64-bit printf buffer</li>
     52<li>void* vqueue_pointer - 32-bit or 64-bit</li>
     53<li>void* aqlwrap_pointer - 32-bit or 64-bit</li>
    5154</ul>
    5255<p>Further arguments in that buffer are an user arguments defined for kernel. Any pointer,
    53 command queue, image, sampler, structure tooks 8 bytes (64-bit pointer).
    54 3 componet vector tooks number of bytes  of 4 element vector.
     56command queue, image, sampler, structure tooks 8 bytes (64-bit pointer) or
     574 bytes (32-bit pointer) in 32-bit AMD OpenCL 2.0.
     583 component vector tooks number of bytes  of 4 element vector.
    5559Smaller types likes (char, short) tooks 1-3 bytes. Alignment depends on same type
    5660or type of element (for vectors).</p>
    57 <p>For 32-bit AMD OpenCL 2.0 all setup arguments are 32-bit.</p>
     61<p>For 64-bit AMD OpenCL 2.0 all setup arguments and pointers are 64-bit.
     62For 32-bit AMD OpenCL 2.0 all setup arguments and pointers are 32-bit.</p>
    5863<h3>Image arguments</h3>
    5964<p>An images are passed via pointers to argument's buffer. An image pointers points to