关于支持OPenACC的编译器说明

很多开发者都在关注支持OPenACC的编译器都有哪些,下面给大家汇总一下,share给大家。

关于支持OPenACC的编译器说明
支持OpenACC的编译器:PGI, Cray, CAPS 和 GCC。下面是 gcc 对 OpenACC 支持的介绍。
All – GCC 6.1 was released withimproved OpenACC support – see below for key OpenACC highlights.  
PGI is still NVIDIA’s go-tocompiler for OpenACC.
GCC 6.1’s improved supportfor OpenACC is an important step in making the standard pervasive.
Noteworthy as well, GCC 6.1C++ default is now C++14 (-std=gnu++14 instead of -std=gnu++98)
GCC 6.1 OpenACC highlights
·           GCC 6.1 wasreleased 04/27 with improved support for OpenACC:
o    Standard supported: OpenACC 2.0a
o    Compilers: C, C++ and Fortran
o    Accelerators: NVIDIA GPUs
o    Hosts:
§  x86
§  Power8 support is broken in GCC 6.1 – though a functional March snapshot isavailable from Mentor Graphics
·           OpenACC 2.0asupport status in GCC 6.1:
o   Read the cautions and capabilities statedhere: https://gcc.gnu.org/gcc-6/changes.html
o   Recommend using parallel constructs ifpossible:
§  Additionally,specify explicitly number of gangs, workers, and vector length clauses forbetter performance
o   Avoid kernels constructs as there are performance andfunctionality limitations
·           How to get GCC 6.1?
o   As of end of April 2016, GCC 6.1 is not yetadopted in new Linux distributions
o   Fedora 24 (ETA June 2016) will adopt GCC6.1 as a default compiler, it is anticipated (not POR) that Ubuntu 16.10 willadopt GCC 6.1 or later version
o   GCC 6.1 may be built from source (see https://gcc.gnu.org/wiki/Offloading)         
·         GCC OpenMP 4.5status:
o    The OpenMP 4.5 specification is fullysupported in GCC 6.1 for the C and C++ compilers
§  thecompiler can be configured for OpenMP offloading to Intel XeonPhi KnightsLanding and AMD HSAIL
§  Supportfor NVPTX is under development in the gomp-nvptx branch, not supported in GCC6.1.
o    GCC can now generate HSAIL (Heterogeneous System Architecture IntermediateLanguage) for simple OpenMP device constructs
·          OpenACCsupport beyond GCC 6.1 – future work for GCC 7:
o   Performance improvements
·       ImproveGCC's parallelization of inner loops
·       Defaultbehavior of number of gangs, workers and vector length for parallel constructs
o   OpenACC 2.5 support

原文发布时间为:2016-6-24 12:51:06
原文由:nvadmin 发布,版权归属于原作者 
本文来自云栖社区合作伙伴NVIDIA,了解相关信息可以关注NVIDIA官方网站
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值