Show / Hide Table of Contents

Interface curand.ICurand

Namespace: Hybridizer.Runtime.CUDAImports
Assembly: Hybridizer.Runtime.CUDAImports.dll
Syntax
public interface ICurand

Methods

curandCreateGenerator(out curand.curandGenerator_t, curand.curandRngType_t)

Declaration
curand.curandStatus_t curandCreateGenerator(out curand.curandGenerator_t generator, curand.curandRngType_t type)
Parameters
Type Name Description
curand.curandGenerator_t generator
curand.curandRngType_t type
Returns
Type Description
curand.curandStatus_t

curandGenerate(curand.curandGenerator_t, IntPtr, size_t)

Declaration
curand.curandStatus_t curandGenerate(curand.curandGenerator_t generator, IntPtr outputPtr, size_t num)
Parameters
Type Name Description
curand.curandGenerator_t generator
System.IntPtr outputPtr
size_t num
Returns
Type Description
curand.curandStatus_t

curandGenerateLogNormal(curand.curandGenerator_t, IntPtr, size_t, Single, Single)

Declaration
curand.curandStatus_t curandGenerateLogNormal(curand.curandGenerator_t generator, IntPtr outputPtr, size_t n, float mean, float stddev)
Parameters
Type Name Description
curand.curandGenerator_t generator
System.IntPtr outputPtr
size_t n
System.Single mean
System.Single stddev
Returns
Type Description
curand.curandStatus_t

curandGenerateLogNormalDouble(curand.curandGenerator_t, IntPtr, size_t, Double, Double)

Declaration
curand.curandStatus_t curandGenerateLogNormalDouble(curand.curandGenerator_t generator, IntPtr outputPtr, size_t n, double mean, double stddev)
Parameters
Type Name Description
curand.curandGenerator_t generator
System.IntPtr outputPtr
size_t n
System.Double mean
System.Double stddev
Returns
Type Description
curand.curandStatus_t

curandGenerateNormal(curand.curandGenerator_t, IntPtr, size_t, Single, Single)

Declaration
curand.curandStatus_t curandGenerateNormal(curand.curandGenerator_t generator, IntPtr outputPtr, size_t n, float mean, float stddev)
Parameters
Type Name Description
curand.curandGenerator_t generator
System.IntPtr outputPtr
size_t n
System.Single mean
System.Single stddev
Returns
Type Description
curand.curandStatus_t

curandGenerateNormalDouble(curand.curandGenerator_t, IntPtr, size_t, Double, Double)

Declaration
curand.curandStatus_t curandGenerateNormalDouble(curand.curandGenerator_t generator, IntPtr outputPtr, size_t n, double mean, double stddev)
Parameters
Type Name Description
curand.curandGenerator_t generator
System.IntPtr outputPtr
size_t n
System.Double mean
System.Double stddev
Returns
Type Description
curand.curandStatus_t

curandGeneratePoisson(curand.curandGenerator_t, IntPtr, size_t, Double)

Declaration
curand.curandStatus_t curandGeneratePoisson(curand.curandGenerator_t generator, IntPtr outputPtr, size_t n, double lambda)
Parameters
Type Name Description
curand.curandGenerator_t generator
System.IntPtr outputPtr
size_t n
System.Double lambda
Returns
Type Description
curand.curandStatus_t

curandGenerateUniform(curand.curandGenerator_t, IntPtr, size_t)

Declaration
curand.curandStatus_t curandGenerateUniform(curand.curandGenerator_t generator, IntPtr outputPtr, size_t num)
Parameters
Type Name Description
curand.curandGenerator_t generator
System.IntPtr outputPtr
size_t num
Returns
Type Description
curand.curandStatus_t

curandGenerateUniformDouble(curand.curandGenerator_t, IntPtr, size_t)

Declaration
curand.curandStatus_t curandGenerateUniformDouble(curand.curandGenerator_t generator, IntPtr outputPtr, size_t num)
Parameters
Type Name Description
curand.curandGenerator_t generator
System.IntPtr outputPtr
size_t num
Returns
Type Description
curand.curandStatus_t

curandSetGeneratorOffset(curand.curandGenerator_t, UInt64)

Declaration
curand.curandStatus_t curandSetGeneratorOffset(curand.curandGenerator_t generator, ulong offset)
Parameters
Type Name Description
curand.curandGenerator_t generator
System.UInt64 offset
Returns
Type Description
curand.curandStatus_t

curandSetGeneratorOrdering(curand.curandGenerator_t, curand.curandOrdering_t)

Declaration
curand.curandStatus_t curandSetGeneratorOrdering(curand.curandGenerator_t prngGPU, curand.curandOrdering_t order)
Parameters
Type Name Description
curand.curandGenerator_t prngGPU
curand.curandOrdering_t order
Returns
Type Description
curand.curandStatus_t

curandSetPseudoRandomGeneratorSeed(curand.curandGenerator_t, UInt64)

Declaration
curand.curandStatus_t curandSetPseudoRandomGeneratorSeed(curand.curandGenerator_t prngGPU, ulong seed)
Parameters
Type Name Description
curand.curandGenerator_t prngGPU
System.UInt64 seed
Returns
Type Description
curand.curandStatus_t
Back to top Generated by DocFX