Effektiv parallell slumptalsgenerering på GPU:er
dc.contributor.author | Lundberg, Marcus | |
dc.contributor.author | Aasa, Jakob | |
dc.contributor.department | Chalmers tekniska högskola / Institutionen för rymd- och geovetenskap | sv |
dc.contributor.department | Chalmers University of Technology / Department of Earth and Space Sciences | en |
dc.date.accessioned | 2019-07-03T14:30:28Z | |
dc.date.available | 2019-07-03T14:30:28Z | |
dc.date.issued | 2017 | |
dc.description.abstract | This work compares several popular pseudo-random number generators implemented on a graphics processing unit (GPU). We consider generation for both uniform and normal distributions. The generators have also been tested using a selection of test algorithms to assess the quality of the output. As a final verification the generators have been tested in-situ on a simulation code. We chose to implement and test five different algorithms for generating uniform distributed numbers and three for generating normal distributed numbers. The generators were implemented with an object oriented programming approach in C++ using Nvidia’s CUDA framework. We have also included generators from Nvidia’s own random number generator library, cuRAND, to compare with our own. The test algorithms were implemented in C++ and CUDA as well. Our results show that some algorithms are not suited for use on GPUs, while other more GPU customized algorithms perform admirably. The results from the simulation code show that all of the generators except Wallace provide good output. The running time of the simulation code is about 100 to 250 times faster on the GPU depending on implementation compared to CPU. From our results we can recommend the Linear Congruental Generator (LCG) for generating uniform numbers if perfomance is a priority, and combining it with the Box-Muller Transform for generating normal distributed numbers. | |
dc.identifier.uri | https://hdl.handle.net/20.500.12380/250107 | |
dc.language.iso | eng | |
dc.setspec.uppsok | LifeEarthScience | |
dc.subject | Sannolikhetsteori och statistik | |
dc.subject | Data- och informationsvetenskap | |
dc.subject | Probability Theory and Statistics | |
dc.subject | Computer and Information Science | |
dc.title | Effektiv parallell slumptalsgenerering på GPU:er | |
dc.type.degree | Examensarbete för kandidatexamen | sv |
dc.type.degree | Bachelor Thesis | en |
dc.type.uppsok | M2 | |
local.programme | Engineering Mathematics (300 hp) |
Ladda ner
Original bundle
1 - 1 av 1
Hämtar...
- Namn:
- 250107.pdf
- Storlek:
- 6.52 MB
- Format:
- Adobe Portable Document Format
- Beskrivning:
- Fulltext