示例#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();}