LLVM Now Has "Official" Support For Targeting NEC's Vector Engine (VE)

Written by Michael Larabel in LLVM on 7 December 2021 at 06:00 AM EST. 3 Comments
LLVM
The LLVM compiler infrastructure supports not only a growing number of CPU architectures but continues to lead when it comes to its support for different accelerators. Back in 2019 NEC was working to upstream their SX-Aurora VE "Vector Engine" Accelerator and now as of this week that target is considered officially supported upstream.

NEC originally launched the SX-Aurora Vector Engine (VE) back in 2018 as a PCI Express accelerator card and supporting up to eight vector processors per server. The NEC SX-Aurora has its own architecture for the "VE" and is backed by HBM2 memory. The current VE processor is rated for 1.53 TB/s of memory bandwidth and a double precision peak performance of 3.07 TFLOPS or 4.91 single precision TFLOPS.


NEC started out with their own proprietary compiler toolchain for targeting software on the Vector Engine with Fortran / C / C++ support but since 2019 have been working to provide open-source support via LLVM.

Over the past two years of working on the NEC VE target upstream, it has gone from being considered experimental to now being officially supported.

Last month was a proposal to make the Vector Engine target official. The upstream support is considered "sufficient" now for handling scalar code generation from C code with target-specific vector intrinsics. The test coverage of LLVM VE has also matured in recent times. NEC is also working to upstream their Compiler RT, libcxx, and OpenMP changes too.

With that said as of the latest code for LLVM 14.0, the VE target is now official. This makes NEC's VE target built by default alongside the other current LLVM targets of AArch64, AMDGPU, ARM, AVR, BPF, Hexagon, Lanai, MIPS, MSP430, NVIDIA NVPTX, PowerPC, RISC-V, SPARC, SystemZ, WebAssembly, X86, and XCore.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week