nvmath.bindings.curand.create_generator

nvmath.bindings.curand.create_generator(int rng_type) intptr_t[source]

Create new random number generator.

Parameters:

rng_type (RngType) – Type of generator to create.

Returns:

Pointer to generator.

Return type:

intptr_t

See also

curandCreateGenerator