diff options
author | Tony Tye <Tony.Tye@amd.com> | 2018-03-23 18:43:15 +0000 |
---|---|---|
committer | Tony Tye <Tony.Tye@amd.com> | 2018-03-23 18:43:15 +0000 |
commit | 1a3f3a2d14946b41d176454a4f1843ef8e914a9e (patch) | |
tree | 04fcf4e9fe8f6559e380fcc4997f212fbeabe4c9 /clang/docs/UsersManual.rst | |
parent | 5f7ba9a74c5dca7e89f601ab6968c5e9ada30ade (diff) | |
download | bcm5719-llvm-1a3f3a2d14946b41d176454a4f1843ef8e914a9e.tar.gz bcm5719-llvm-1a3f3a2d14946b41d176454a4f1843ef8e914a9e.zip |
[AMDGPU] Remove use of OpenCL triple environment and replace with function attribute for AMDGPU (CLANG)
- Remove use of the opencl and amdopencl environment member of the target triple for the AMDGPU target.
- Use a function attribute to communicate to the AMDGPU backend.
Differential Revision: https://reviews.llvm.org/D43735
llvm-svn: 328347
Diffstat (limited to 'clang/docs/UsersManual.rst')
-rw-r--r-- | clang/docs/UsersManual.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/docs/UsersManual.rst b/clang/docs/UsersManual.rst index 1e46ebe03f8..25f99cf1531 100644 --- a/clang/docs/UsersManual.rst +++ b/clang/docs/UsersManual.rst @@ -2180,7 +2180,7 @@ to the target, for example: .. code-block:: console $ clang -target nvptx64-unknown-unknown test.cl - $ clang -target amdgcn-amd-amdhsa-opencl test.cl + $ clang -target amdgcn-amd-amdhsa -mcpu=gfx900 test.cl Compiling to bitcode can be done as follows: @@ -2288,7 +2288,7 @@ There is a set of concrete HW architectures that OpenCL can be compiled for. .. code-block:: console - $ clang -target amdgcn-amd-amdhsa-opencl test.cl + $ clang -target amdgcn-amd-amdhsa -mcpu=gfx900 test.cl - For Nvidia architectures: |