دورية أكاديمية

A new portable random number generator wrapper library

التفاصيل البيبلوغرافية
العنوان: A new portable random number generator wrapper library
المؤلفون: Wang Tianle, Atif Mohammad, Dong Zhihua, Leggett Charles, Lin Meifeng
المصدر: EPJ Web of Conferences, Vol 295, p 11001 (2024)
بيانات النشر: EDP Sciences, 2024.
سنة النشر: 2024
المجموعة: LCC:Physics
مصطلحات موضوعية: Physics, QC1-999
الوصف: Random number generator is an important component of many scientific projects. Many projects are written using programming models (like OpenMP and SYCL) to target different architectures. However, some programming models do not provide a random number generator. In this work, we introduce our random number generator wrapper. It is a header-only library that supports three distributions of random numbers: uniform, normal, and poisson. On the GPU backend, it wraps the cuRAND and rocRAND library, and supports various random number engines. It also wraps random123, a counterbased random number generator, on both CPU and GPU. With this library, we can generate random numbers with a few lines of code and target both GPU and multi-thread CPU with the same code. We also investigate the performance and scalability of this wrapper on different architectures with different engines and the number of cores.
نوع الوثيقة: article
وصف الملف: electronic resource
اللغة: English
تدمد: 2100-014X
Relation: https://www.epj-conferences.org/articles/epjconf/pdf/2024/05/epjconf_chep2024_11001.pdf; https://doaj.org/toc/2100-014X
DOI: 10.1051/epjconf/202429511001
URL الوصول: https://doaj.org/article/23fba0b0776e4f07a1a0d32ec97eb81d
رقم الأكسشن: edsdoj.23fba0b0776e4f07a1a0d32ec97eb81d
قاعدة البيانات: Directory of Open Access Journals
الوصف
تدمد:2100014X
DOI:10.1051/epjconf/202429511001