]> granicus.if.org Git - clang/commit
[AMDGPU] Update OpenCL to use 48 bytes of implicit arguments for AMDGPU (CLANG)
authorTony Tye <Tony.Tye@amd.com>
Fri, 23 Mar 2018 18:51:45 +0000 (18:51 +0000)
committerTony Tye <Tony.Tye@amd.com>
Fri, 23 Mar 2018 18:51:45 +0000 (18:51 +0000)
commitc26917500661e61e1ff922ff677a2dcbee215d53
treeaa23bff7838aa365bd2eed735112cc096f63b53f
parentb62adeec776faee5259fc8830807e0977bca0827
[AMDGPU] Update OpenCL to use 48 bytes of implicit arguments for AMDGPU (CLANG)

Add two additional implicit arguments for OpenCL for the AMDGPU target using the AMDHSA runtime to support device enqueue.

Differential Revision: https://reviews.llvm.org/D44696

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@328350 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetInfo.cpp
test/CodeGenOpenCL/amdgpu-attrs.cl