nvmath.bindings.curand.create_generator_host

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

Create new host CPU random number generator.

Parameters:

rng_type (RngType) – Type of generator to create.

Returns:

Pointer to generator.

Return type:

intptr_t

See also

curandCreateGeneratorHost