Skip to content

1.04

Choose a tag to compare

@alkino alkino released this 12 Feb 20:18
  • overhaul known answer tests (kat)
    • common source for serial C, C++, cuda and opencl replaces katc and katpp
    • add missing kat_vectors for threefry2x32
  • make keyinit functions device/kernel functions in CUDA/OpenCL
  • replace r123array::assemble methods with r123array::seed(SeedSeq) template
  • cleanup of signatures of Engine and MicroURNG methods:
    • Engine(ukey_type&) and MicroURNG(ctr_type, ukey_type) constructors.
    • Engine(SeedSeq&) takes a reference argument, and, when C++0x <type_traits> are available the SeedSeq templates don't participate in "surprising" overloads.
  • new kat_vectors - there are now three tests for each tested generator: gen(ctr=0, key=0), gen(ctr=fff, key=0xfff), and gen(ctr=digits-of-pi, key=more-digits-of-pi). There are fewer tests overall, but they provide better coverage, especially of non-zero keys.