nvmath.bindings.curand.generate_uniform¶
- nvmath.bindings.curand.generate_uniform(intptr_t generator, intptr_t output_ptr, size_t num)[source]¶
Generate uniformly distributed floats.
- Parameters:
generator (intptr_t) – Generator to use.
output_ptr (intptr_t) – Pointer to device memory to store CUDA-generated results, or Pointer to host memory to store CPU-generated results.
num (size_t) – Number of floats to generate.
See also
curandGenerateUniform