CUDPP
2.3
CUDA Data-Parallel Primitives Library
|
rand functionality header file - contains CUDPP interface (not public) More...
Functions | |
void | cudppRandDispatch (void *d_out, size_t num_elements, const CUDPPRandPlan *plan) |
Dispatches the rand function based on the plan. More... | |
rand functionality header file - contains CUDPP interface (not public)
void cudppRandDispatch | ( | void * | d_out, |
size_t | numElements, | ||
const CUDPPRandPlan * | plan | ||
) |
Dispatches the rand function based on the plan.
This is the dispatch call which looks at the algorithm specified in plan and calls the appropriate random number generation algorithm.
[out] | d_out | the array allocated on device memory where the random numbers will be stored must be of type unsigned int |
[in] | numElements | the number of elements in the array d_out |
[in] | plan | pointer to CUDPPRandPlan which contains the algorithm to run |