[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)
commit68e11a6ecac7a37a5772d8c5c9c56c19614fc7f0
treedf920ecf6634b45a3142222ab72dcf713682c4e3
parent7a893d4e34e7261368c58ad583dfaa600108b7e1
[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

llvm-svn: 328350
clang/lib/CodeGen/TargetInfo.cpp
clang/test/CodeGenOpenCL/amdgpu-attrs.cl