umar456 · GitHub

added 2 commits

July 30, 2020 01:43
* boxMuller for float randn was being passed incorrect portions
of the counter/seed
The Chi2 tests measure the quality of the random number generator. This
test is too expensive to run on the CPU

@umar456

@umar456

rstub

rstub

rstub previously approved these changes Aug 7, 2020

@umar456

@umar456

9prady9

@umar456

Move the RNG quality checks to a separate file to avoid memory allocation
failures because the random tests are running parallely with other
tests. These tests are marked as SERIAL so they are running
serially.
* Fix rounding of some operations by using fused operations like sincospi
  and fma instead of a multiply add.
* Convert half constants to hex values and use __ushort_as_half
  to avoid redundant conversions from float
* Pass integers instead of pointers in the OpenCL backend of
  the rng functions

@umar456

@9prady9

Read the original on github.com ↗