nvmath.bindings.curand.generate_normal¶
- nvmath.bindings.curand.generate_normal(intptr_t generator, intptr_t output_ptr, size_t n, float mean, float stddev)[source]¶
Generate normally distributed doubles.
- 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.
n (size_t) – Number of floats to generate.
mean (float) – Mean of normal distribution.
stddev (float) – Standard deviation of normal distribution.
See also
curandGenerateNormal