nvmath.bindings.curand.generate_poisson

nvmath.bindings.curand.generate_poisson(intptr_t generator, intptr_t output_ptr, size_t n, double lambda_)[source]

Generate Poisson-distributed unsigned ints.

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 unsigned ints to generate.

  • lambda (double) – lambda for the Poisson distribution.

See also

curandGeneratePoisson