Searched refs:curand (Results 1 – 1 of 1) sorted by relevance
11 PetscRandom_CURAND *curand = (PetscRandom_CURAND *)r->data; in PetscRandomSeed_CURAND() local14 PetscCallCURAND(curandSetPseudoRandomGeneratorSeed(curand->gen, r->seed)); in PetscRandomSeed_CURAND()22 PetscRandom_CURAND *curand = (PetscRandom_CURAND *)r->data; in PetscRandomGetValuesReal_CURAND() local27 PetscCallCURAND(curandGenerateUniform(curand->gen, val, nn)); in PetscRandomGetValuesReal_CURAND()29 PetscCallCURAND(curandGenerateUniformDouble(curand->gen, val, nn)); in PetscRandomGetValuesReal_CURAND()49 PetscRandom_CURAND *curand = (PetscRandom_CURAND *)r->data; in PetscRandomDestroy_CURAND() local52 PetscCallCURAND(curandDestroyGenerator(curand->gen)); in PetscRandomDestroy_CURAND()79 PetscRandom_CURAND *curand; in PetscRandomCreate_CURAND() local87 PetscCall(PetscNew(&curand)); in PetscRandomCreate_CURAND()88 PetscCallCURAND(curandCreateGenerator(&curand->gen, CURAND_RNG_PSEUDO_DEFAULT)); in PetscRandomCreate_CURAND()[all …]