Modifier and Type | Method and Description |
---|---|
static int |
JCurand.curandCreateGenerator(curandGenerator generator,
int rng_type)
Create new random number generator.
|
static int |
JCurand.curandCreateGeneratorHost(curandGenerator generator,
int rng_type)
Create new host CPU random number generator.
|
static int |
JCurand.curandDestroyGenerator(curandGenerator generator)
Destroy an existing generator.
|
static int |
JCurand.curandGenerate(curandGenerator generator,
Pointer outputPtr,
long num)
Generate 32-bit pseudo or quasirandom numbers.
|
static int |
JCurand.curandGenerateLogNormal(curandGenerator generator,
Pointer outputPtr,
long n,
float mean,
float stddev)
Generate log-normally distributed floats.
|
static int |
JCurand.curandGenerateLogNormalDouble(curandGenerator generator,
Pointer outputPtr,
long n,
double mean,
double stddev)
Generate log-normally distributed doubles.
|
static int |
JCurand.curandGenerateLongLong(curandGenerator generator,
Pointer outputPtr,
long num)
Generate 64-bit quasirandom numbers.
|
static int |
JCurand.curandGenerateNormal(curandGenerator generator,
Pointer outputPtr,
long n,
float mean,
float stddev)
Generate normally distributed floats.
|
static int |
JCurand.curandGenerateNormalDouble(curandGenerator generator,
Pointer outputPtr,
long n,
double mean,
double stddev)
Generate normally distributed doubles.
|
static int |
JCurand.curandGeneratePoisson(curandGenerator generator,
Pointer outputPtr,
long n,
double lambda)
Generate Poisson-distributed unsigned ints.
|
static int |
JCurand.curandGenerateSeeds(curandGenerator generator)
Setup starting states.
|
static int |
JCurand.curandGenerateUniform(curandGenerator generator,
Pointer outputPtr,
long num)
Generate uniformly distributed floats.
|
static int |
JCurand.curandGenerateUniformDouble(curandGenerator generator,
Pointer outputPtr,
long num)
Generate uniformly distributed doubles.
|
static int |
JCurand.curandSetGeneratorOffset(curandGenerator generator,
long offset)
Set the absolute offset of the pseudo or quasirandom number generator.
|
static int |
JCurand.curandSetGeneratorOrdering(curandGenerator generator,
int order)
Set the ordering of results of the pseudo or quasirandom number generator.
|
static int |
JCurand.curandSetPseudoRandomGeneratorSeed(curandGenerator generator,
long seed)
Set the seed value of the pseudo-random number generator.
|
static int |
JCurand.curandSetQuasiRandomGeneratorDimensions(curandGenerator generator,
int num_dimensions)
Set the number of dimensions.
|
static int |
JCurand.curandSetStream(curandGenerator generator,
cudaStream_t stream)
Set the current stream for CURAND kernel launches.
|
Copyright © 2020. All rights reserved.