:orphan: # PETSCCURAND access to the CUDA random number generator from a `PetscRandom` object PETSc must be ./configure with the option --with-cuda to use this random number generator. ## See Also `PetscRandomCreate()`, `PetscRandomSetType()`, `PetscRandomType` ## Level beginner ## Location src/sys/classes/random/impls/curand/curand.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/classes/random/impls/curand/curand.c) [Index of all Sys routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)