关于支持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官方网站
目录
相关文章
|
4天前
|
存储 算法 编译器
探索C++中的模板元编程:一种编译时计算的强大工具
探索C++中的模板元编程:一种编译时计算的强大工具
18 0
|
4天前
|
存储 算法 编译器
C/C++编译器局部优化技术:局部优化是针对单个函数或基本块进行的优化
C/C++编译器局部优化技术:局部优化是针对单个函数或基本块进行的优化
40 0
|
7月前
|
IDE 编译器 开发工具
编程前的准备:编译器的安装
编程前的准备:编译器的安装
33 0
|
4天前
|
安全 编译器 C语言
【C++ 编译器 版本支持】深度解读C++ 版本以及编译器版本相关宏
【C++ 编译器 版本支持】深度解读C++ 版本以及编译器版本相关宏
60 0
|
4天前
|
编译器 Linux C语言
Linux嵌入式系统之交叉编译中编译器与解释器的区别
Linux嵌入式系统之交叉编译中编译器与解释器的区别
16 0
|
前端开发 C语言 iOS开发
基于LLVM的编译原理简明教程 (1) - 写编译器越来越容易了
跟学院派的厚书给大家的印象不同,其实用LLVM写个简单的编译器是件容易的事情,因为大部分事情LLVM都替我们做了。
8197 0
|
Java 编译器
JVM09_执行引擎概述、机器码|指令|汇编语言、解释器、Jlt编译器及分类、AOT编译器(三)
⑥. HotSpot VM 可以设置程序执行方式 ⑦. HotSpot VM中的JIT分类 ⑧. AOT编译器
134 0
JVM09_执行引擎概述、机器码|指令|汇编语言、解释器、Jlt编译器及分类、AOT编译器(三)
|
Java 编译器 程序员
|
Java 编译器 自然语言处理
早期(编译器)优化
一、概述 前端编译器:把.java文件转变成.class文件的过程,Sun的JavacJIT编译器:后端运行期编译器(Just in time Compiler ),把字节码转变成机器码,HotSpot VM的C1、C2编译器AOT编译器:直接吧.
1538 0