]> granicus.if.org Git - clang/commit
[AMDGPU] Enable the implicit arguments for HIP (CLANG)
authorYaxun Liu <Yaxun.Liu@amd.com>
Fri, 14 Jun 2019 15:54:47 +0000 (15:54 +0000)
committerYaxun Liu <Yaxun.Liu@amd.com>
Fri, 14 Jun 2019 15:54:47 +0000 (15:54 +0000)
commit6279011307b083e8bc984ee021fba12dee435010
tree8ebe03595f615854dc858cfa229fcb4c3b5b0427
parent1c9402d07dedc3a7bef447f4b3f6f7c20b7c145a
[AMDGPU] Enable the implicit arguments for HIP (CLANG)

Enable 48-bytes of implicit arguments for HIP as well. Earlier it was enabled for OpenCL. This code is specific to AMDGPU target.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@363414 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetInfo.cpp
test/CodeGenCUDA/amdgpu-hip-implicit-kernarg.cu [new file with mode: 0644]