🔧На сайте запланированы технические работы
25.12.2025 в промежутке с 18:00 до 21:00 по Московскому времени (GMT+3) на сайте будут проводиться плановые технические работы. Возможны перебои с доступом к сайту. Приносим извинения за временные неудобства. Благодарим за понимание!
🔧Site maintenance is scheduled.
Scheduled maintenance will be performed on the site from 6:00 PM to 9:00 PM Moscow time (GMT+3) on December 25, 2025. Site access may be interrupted. We apologize for the inconvenience. Thank you for your understanding!

 

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.