1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking Benchmarking Platform
Phoromatic Test Orchestration

OpenACC Over OpenMP Proposed For GCC Compiler

Compiler

Published on 07 November 2013 12:19 AM EST
Written by Michael Larabel in Compiler
5 Comments

As some more interesting GCC compiler news this week besides the integration of Intel Cilk Plus support and C11 _Atomic support being ready is a new competing implementation of the OpenACC parallel programming standard for the GNU Compiler Collection.

Back in September was a proposal out of Samsung for OpenACC in GCC with GPU support. That support hasn't been merged yet but now CodeSourcery is out with another implementation.

OpenACC is the parallel programming standard backed by Cray and NVIDIA and other firms to simplify CPU/GPU programming. The OpenACC approach is similar to OpenMP and this standard supports the C, C++, and Fortran languages. The big deal with OpenACC over OpenMP is support for GPU acceleration.

The approach done by Samsung in September had the OpenACC code being morphed into OpenCL 1.1 code for GPGPU execution since GCC doesn't have GPU support like in LLVM/Clang. The Samsung approach also targeted OpenACC 1.0 rather than OpenACC 2.0.

Now announced on Wednesday by Thomas Schwinge of CodeSourcery is an alternative implementation. This new implementation doesn't have any GPU side support, but it does have OpenACC 2.0 support and this implementation is all based off of GOMP, the GCC OpenMP support. With OpenMP and OpenACC being similar on the CPU side, CodeSourcery is leveraging the GOMP code-base. The OpenACC support ends up being embedded within the OpenMP infrastructure and passes. This implementation right now is still in early development form and only supports C while C++ and Fortran are to be forthcoming. There might also be some possibility for front/middle-end code sharing between the two OpenACC implementations for this open-source compiler.

Those interested in seeing this new GCC OpenACC work can visit the GCC mailing list. In the spirit of open-source, the best implementation shall win.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Articles & Reviews
  1. Ubuntu 15.04 Offers Faster OpenGL For AMD Radeon GPUs On Open-Source
  2. Ubuntu 15.04 Brings Some Graphics Performance Improvements For Intel Haswell
  3. Sub-$20 802.11n USB WiFi Adapter That's Linux Friendly
  4. The Lenovo T450s Is Working Beautifully With Linux
  5. Linux 4.0 SSD EXT4 / Btrfs / XFS / F2FS Benchmarks
  6. Linux 4.0 Hard Drive Comparison With Six File-Systems
Latest Linux News
  1. GCC 5.2 Will Come In Two To Three Months
  2. AMD FP3 Motherboard Ported To Coreboot
  3. The Difference In Optimizations Between NIR & GLSL
  4. OpenMandriva Lx 3 Alpha: Adds UEFI Support, Defaults To LXQt
  5. Systemd Kills Off Shutdownd
  6. There's Now More Than 1,100 Games On Steam For Linux
  7. Btrfs In Linux 4.1 Has Fixes For File-Systems Of 20 Terabytes & Up
  8. Microsoft's CoreCLR Now Works On FreeBSD
  9. Unigine 2.0 Beta 2 Brings PBR, SSR, Kinect 2 Support
  10. KDBUS Still Hasn't Been Pulled, Might Not Land For Linux 4.1
Most Viewed News This Week
  1. AMD Releases New "AMDGPU" Linux Kernel Driver & Mesa Support
  2. EXT4 In Linux 4.1 Adds File-System Level Encryption
  3. My Favorite Computer Desk Of The Past Decade For Less Than $100
  4. AMD Open-Sources "Addrlib" From Catalyst
  5. Library Operating System (LibOS) For Linux Still Being Pursued
  6. Linux-Powered Endless Computer Raises $100k+ In A Few Days
  7. Features Thus Far For The Linux 4.1 Kernel
  8. GIMP's Porting To GTK3 Continues