Employing AVX vectorization to improve the performance of random number generators


Cite item

Full Text

Open Access Open Access
Restricted Access Access granted
Restricted Access Subscription Access

Abstract

By the example of the RNGAVXLIB random number generator library, this paper considers some approaches to employing AVX vectorization for calculation speedup. The RNGAVXLIB library contains AVX implementations of modern generators and the routines allowing one to initialize up to 1019 independent random number streams. The AVX implementations yield exactly the same pseudorandom sequences as the original algorithms do, while being up to 40 times faster than the ANSI C implementations.

About the authors

L. Yu. Barash

Landau Institute for Theoretical Physics; Science Center in Chernogolovka

Author for correspondence.
Email: barash@itp.ac.ru
Russian Federation, Chernogolovka, 142432; Chernogolovka, 142432

M. S. Guskova

Science Center in Chernogolovka; National Research University Higher School of Economics

Email: barash@itp.ac.ru
Russian Federation, Chernogolovka, 142432; Moscow, 101000

L. N. Shchur

Landau Institute for Theoretical Physics; Science Center in Chernogolovka; National Research University Higher School of Economics

Email: barash@itp.ac.ru
Russian Federation, Chernogolovka, 142432; Chernogolovka, 142432; Moscow, 101000

Supplementary files

Supplementary Files
Action
1. JATS XML

Copyright (c) 2017 Pleiades Publishing, Ltd.