예제 #1
0
 KOKKOS_INLINE_FUNCTION
 static float draw(Generator& gen, const float& range)
                       {return gen.frand(range);}
예제 #2
0
 KOKKOS_INLINE_FUNCTION
 static float draw(Generator& gen, const float& start, const float& end)
                       {return gen.frand(start,end);}
예제 #3
0
 KOKKOS_INLINE_FUNCTION
 static float draw(Generator& gen)
                       {return gen.frand();}