Vc swMATH ID: 21533 Software Authors: M. Kretz, V. Lindenstruth Description: Vc: A C++ library for explicit vectorization. Recent generations of CPUs, and GPUs in particular, require data-parallel codes for full efficiency. Data parallelism requires that the same sequence of operations is applied to different input data. CPUs and GPUs can thus reduce the necessary hardware for instruction decoding and scheduling in favor of more arithmetic and logic units, which execute the same instructions synchronously. On CPU architectures this is implemented via SIMD registers and instructions. A single SIMD register can store N values and a single SIMD instruction can execute N operations on those values. On GPU architectures N threads run in perfect sync, fed by a single instruction decoder/scheduler. Each thread has local memory and a given index to calculate the offsets in memory for loads and stores. Current C++ compilers can do automatic transformation of scalar codes to SIMD instructions (auto-vectorization). However, the compiler must reconstruct an intrinsic property of the algorithm that was lost when the developer wrote a purely scalar implementation in C++. Consequently, C++ compilers cannot vectorize any given code to its most efficient data-parallel variant. Especially larger data-parallel loops, spanning over multiple functions or even translation units, will often not be transformed into efficient SIMD code. The Vc library provides the missing link. Its types enable explicitly stating data-parallel operations on multiple values. The parallelism is therefore added via the type system. Competing approaches state the parallelism via new control structures and consequently new semantics inside the body of these control structures. Homepage: https://github.com/VcDevel/Vc Source Code: https://github.com/VcDevel/Vc Dependencies: C++ Related Software: UG; DUNE; vcl; GitHub; BEM4I; UMFPACK; dune-xt; PANG; CutFEM; Dune-UDG; libMesh; FEMPAR; p4est; ISTL; Gmsh; Curvilinear Grid; DUNE-ALUGrid; Exa-Dune; RBmatlab; Kaskade7 Cited in: 8 Documents all top 5 Cited by 24 Authors 4 Merta, Michal 4 Zapletal, Jan 2 Bastian, Peter 2 Kempf, Dominic 2 Of, Günther 1 Blatt, Markus 1 Dedner, Andreas S. 1 Dohr, Stefan 1 Dreier, Nils-Arne 1 Engwer, Christian 1 Fritze, René 1 Gekle, Stephan 1 Gräser, Carsten 1 Grüninger, Christoph 1 Guckenberger, Achim 1 Heß, René 1 Klöfkorn, Robert 1 Kolda, Tamara Gibson 1 Kravčenko, Michal 1 Malý, Lukáš 1 Müthing, Steffen 1 Ohlberger, Mario 1 Phipps, Eric T. 1 Sander, Oliver all top 5 Cited in 6 Serials 3 Computers & Mathematics with Applications 1 Journal of Fluid Mechanics 1 ACM Transactions on Mathematical Software 1 Mathematics and Computers in Simulation 1 SIAM Journal on Scientific Computing 1 Engineering Analysis with Boundary Elements all top 5 Cited in 6 Fields 7 Numerical analysis (65-XX) 3 Partial differential equations (35-XX) 2 Fluid mechanics (76-XX) 1 Linear and multilinear algebra; matrix theory (15-XX) 1 Computer science (68-XX) 1 Biology and other natural sciences (92-XX) Citations by Year