r338049 - [OPENMP] What's new for OpenMP in clang.
GMail via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 26 11:17:34 PDT 2018
Oh, yes, it is a typo, thanks for catching it!
-------------
Best regards,
Alexey Bataev
26.07.2018 13:59, Jonas Hahnfeld via cfe-commits пишет:
> Hi Alexey,
>
> On 2018-07-26 19:53, Alexey Bataev via cfe-commits wrote:
>> Author: abataev
>> Date: Thu Jul 26 10:53:45 2018
>> New Revision: 338049
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=338049&view=rev
>> Log:
>> [OPENMP] What's new for OpenMP in clang.
>>
>> Updated ReleaseNotes + Status of the OpenMP support in clang.
>>
>> Modified:
>> cfe/trunk/docs/OpenMPSupport.rst
>> cfe/trunk/docs/ReleaseNotes.rst
>>
>> Modified: cfe/trunk/docs/OpenMPSupport.rst
>> [...]
>>
>> Modified: cfe/trunk/docs/ReleaseNotes.rst
>> URL:
>> http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/ReleaseNotes.rst?rev=338049&r1=338048&r2=338049&view=diff
>>
>> ==============================================================================
>>
>> --- cfe/trunk/docs/ReleaseNotes.rst (original)
>> +++ cfe/trunk/docs/ReleaseNotes.rst Thu Jul 26 10:53:45 2018
>> @@ -216,7 +216,21 @@ OpenCL C Language Changes in Clang
>> OpenMP Support in Clang
>> ----------------------------------
>>
>> -- ...
>> +- Clang gained basic support for OpenMP 4.5 offloading for NVPTX
>> target.
>> + To compile your program for NVPTX target use the following options:
>> + `-fopenmp -fopenmp-targets=nvptx64-nvidia-cuda` for 64 bit
>> platforms or
>> + `-fopenmp -fopenmp-targets=nvptx-nvidia-cuda` for 32 bit platform.
>> +
>> +- Passing options to the OpenMP device offloading toolchain can be
>> done using
>> + the `-Xopenmp-target=<triple> -opt=val` flag. In this way the
>> `-opt=val`
>> + option will be forwarded to the respective OpenMP device
>> offloading toolchain
>> + described by the triple. For example passing the compute
>> capability to
>> + the OpenMP NVPTX offloading toolchain can be done as follows:
>> + `-Xopenmp-target=nvptx62-nvidia-cuda -march=sm_60`.
>
> Is that a typo and should say "nvptx64"?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180726/30f70f4a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180726/30f70f4a/attachment.sig>
More information about the cfe-commits
mailing list