#include "cudpp_globals.h"
#include "cudpp.h"
#include "cudpp_plan.h"
Functions | |
| void | cudppRandDispatch (void *d_out, size_t num_elements, const CUDPPRandPlan *plan) |
| Dispatches the rand function based on the plan. | |
| 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 |
1.5.9