GPU based random number generator
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Makefile
README.md
example.bin
packforent.c
rng.c
rng.cl

README.md

rndgpu - GPU based random number generator

Compile the OpenCL code, simply by running 'make'.

Compile the program to pack the data into binary, using: gcc packforent.c -lm -o packforent

Run the random number generator which outputs 0's and 1's as text using: ./rng > rnd

Then convert the text output, to a binary file rnd.bin, using: ./packforent

Then use 'ent' to gauge the randomness: ent rnd.bin