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"? >
signature.asc
Description: OpenPGP digital signature
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits