#include "cudpp.h"
#include "cudpp_util.h"
#include "cudpp_plan.h"
#include "kernel/scan_kernel.cu"
#include "kernel/vector_kernel.cu"
#include <cutil.h>
#include <cstdlib>
#include <cstdio>
#include <assert.h>
Functions | |
Scan Functions | |
| template<class T , bool isBackward, bool isExclusive, CUDPPOperator op> | |
| void | scanArrayRecursive (T *d_out, const T *d_in, T **d_blockSums, size_t numElements, size_t numRows, const size_t *rowPitches, int level) |
| Perform recursive scan on arbitrary size arrays. | |
| void | allocScanStorage (CUDPPScanPlan *plan) |
| Allocate intermediate arrays used by scan. | |
| void | freeScanStorage (CUDPPScanPlan *plan) |
| Deallocate intermediate block sums arrays in a CUDPPScanPlan object. | |
| void | cudppScanDispatch (void *d_out, const void *d_in, size_t numElements, size_t numRows, const CUDPPScanPlan *plan) |
| Dispatch function to perform a scan (prefix sum) on an array with the specified configuration. | |
1.5.9