Skip to content
Commit 7a893d4e authored by Tony Tye's avatar Tony Tye
Browse files

[AMDGPU] Remove use of OpenCL triple environment and replace with function attribute for AMDGPU


- Remove use of the opencl and amdopencl environment member of the target triple for the AMDGPU target.
- Use function attribute to communicate to the AMDGPU backend to add implicit arguments for OpenCL kernels for the AMDHSA OS.

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

llvm-svn: 328349
parent a6fb536e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment