|
| curandStatus_t CURANDAPI | curandCreateGenerator (curandGenerator_t *generator, curandRngType_t rng_type) |
| | Create new random number generator.
|
| curandStatus_t CURANDAPI | curandCreateGeneratorHost (curandGenerator_t *generator, curandRngType_t rng_type) |
| | Create new host CPU random number generator.
|
| curandStatus_t CURANDAPI | curandDestroyGenerator (curandGenerator_t generator) |
| | Destroy an existing generator.
|
| curandStatus_t CURANDAPI | curandGetVersion (int *version) |
| | Return the version number of the library.
|
| curandStatus_t CURANDAPI | curandSetStream (curandGenerator_t generator, cudaStream_t stream) |
| | Set the current stream for CURAND kernel launches.
|
| curandStatus_t CURANDAPI | curandSetPseudoRandomGeneratorSeed (curandGenerator_t generator, unsigned long long seed) |
| | Set the seed value of the pseudo-random number generator.
|
| curandStatus_t CURANDAPI | curandSetGeneratorOffset (curandGenerator_t generator, unsigned long long offset) |
| | Set the absolute offset of the pseudo or quasirandom number generator.
|
| curandStatus_t CURANDAPI | curandSetGeneratorOrdering (curandGenerator_t generator, curandOrdering_t order) |
| | Set the ordering of results of the pseudo or quasirandom number generator.
|
| curandStatus_t CURANDAPI | curandSetQuasiRandomGeneratorDimensions (curandGenerator_t generator, unsigned int num_dimensions) |
| | Set the number of dimensions.
|
| curandStatus_t CURANDAPI | curandGenerate (curandGenerator_t generator, unsigned int *outputPtr, size_t num) |
| | Generate 32-bit pseudo or quasirandom numbers.
|
| curandStatus_t CURANDAPI | curandGenerateLongLong (curandGenerator_t generator, unsigned long long *outputPtr, size_t num) |
| | Generate 64-bit quasirandom numbers.
|
| curandStatus_t CURANDAPI | curandGenerateUniform (curandGenerator_t generator, float *outputPtr, size_t num) |
| | Generate uniformly distributed floats.
|
| curandStatus_t CURANDAPI | curandGenerateUniformDouble (curandGenerator_t generator, double *outputPtr, size_t num) |
| | Generate uniformly distributed doubles.
|
| curandStatus_t CURANDAPI | curandGenerateNormal (curandGenerator_t generator, float *outputPtr, size_t n, float mean, float stddev) |
| | Generate normally distributed floats.
|
| curandStatus_t CURANDAPI | curandGenerateNormalDouble (curandGenerator_t generator, double *outputPtr, size_t n, double mean, double stddev) |
| | Generate normally distributed doubles.
|
| curandStatus_t CURANDAPI | curandGenerateLogNormal (curandGenerator_t generator, float *outputPtr, size_t n, float mean, float stddev) |
| | Generate log-normally distributed floats.
|
| curandStatus_t CURANDAPI | curandGenerateLogNormalDouble (curandGenerator_t generator, double *outputPtr, size_t n, double mean, double stddev) |
| | Generate log-normally distributed doubles.
|
| curandStatus_t CURANDAPI | curandGenerateSeeds (curandGenerator_t generator) |
| | Setup starting states.
|
| curandStatus_t CURANDAPI | curandGetDirectionVectors32 (curandDirectionVectors32_t *vectors[], curandDirectionVectorSet_t set) |
| | Get direction vectors for 32-bit quasirandom number generation.
|
| curandStatus_t CURANDAPI | curandGetScrambleConstants32 (unsigned int **constants) |
| | Get scramble constants for 32-bit scrambled Sobol' .
|
| curandStatus_t CURANDAPI | curandGetDirectionVectors64 (curandDirectionVectors64_t *vectors[], curandDirectionVectorSet_t set) |
| | Get direction vectors for 64-bit quasirandom number generation.
|
| curandStatus_t CURANDAPI | curandGetScrambleConstants64 (unsigned long long **constants) |
| | Get scramble constants for 64-bit scrambled Sobol' .
|
| enum | curandStatus {
CURAND_STATUS_SUCCESS = 0
, CURAND_STATUS_VERSION_MISMATCH
, CURAND_STATUS_NOT_INITIALIZED = 101
, CURAND_STATUS_ALLOCATION_FAILED = 102
,
CURAND_STATUS_TYPE_ERROR = 103
, CURAND_STATUS_OUT_OF_RANGE = 104
, CURAND_STATUS_LENGTH_NOT_MULTIPLE
, CURAND_STATUS_LAUNCH_FAILURE = 201
,
CURAND_STATUS_PREEXISTING_FAILURE
, CURAND_STATUS_INITIALIZATION_FAILED
, CURAND_STATUS_ARCH_MISMATCH
, CURAND_STATUS_INTERNAL_ERROR = 999
} |
| | CURAND Host API datatypes. More...
|
| enum | curandRngType {
CURAND_RNG_TEST = 0
, CURAND_RNG_PSEUDO_DEFAULT = 100
, CURAND_RNG_PSEUDO_XORWOW = 101
, CURAND_RNG_QUASI_DEFAULT = 200
,
CURAND_RNG_QUASI_SOBOL32 = 201
, CURAND_RNG_QUASI_SCRAMBLED_SOBOL32
, CURAND_RNG_QUASI_SOBOL64 = 203
, CURAND_RNG_QUASI_SCRAMBLED_SOBOL64
} |
| | CURAND generator types. More...
|
| enum | curandOrdering { CURAND_ORDERING_PSEUDO_BEST
, CURAND_ORDERING_PSEUDO_DEFAULT
, CURAND_ORDERING_PSEUDO_SEEDED = 102
, CURAND_ORDERING_QUASI_DEFAULT
} |
| | CURAND orderings of results in memory. More...
|
| enum | curandDirectionVectorSet { CURAND_DIRECTION_VECTORS_32_JOEKUO6
, CURAND_SCRAMBLED_DIRECTION_VECTORS_32_JOEKUO6
, CURAND_DIRECTION_VECTORS_64_JOEKUO6
, CURAND_SCRAMBLED_DIRECTION_VECTORS_64_JOEKUO6
} |
| | CURAND choice of direction vector set. More...
|
| typedef enum curandStatus | curandStatus_t |
| | CURAND function call status types.
|
| typedef enum curandRngType | curandRngType_t |
| | CURAND generator types.
|
| typedef enum curandOrdering | curandOrdering_t |
| | CURAND orderings of results in memory.
|
| typedef enum curandDirectionVectorSet | curandDirectionVectorSet_t |
| | CURAND choice of direction vector set.
|
| typedef unsigned int | curandDirectionVectors32_t[32] |
| | CURAND array of 32-bit direction vectors.
|
| typedef unsigned long long | curandDirectionVectors64_t[64] |
| | CURAND array of 64-bit direction vectors.
|
| typedef struct curandGenerator_st * | curandGenerator_t |
| | CURAND generator.
|