GPU Workshop Sample Code
 All Data Structures Namespaces Files Functions Variables Macros Pages
Namespaces | Constant Groups | Functions
mycuda_scan.h File Reference

Go to the source code of this file.

Namespaces

 mycuda_scan
 Module for computing prefix scans.
 

Constant Groups

 mycuda_scan
 Module for computing prefix scans.
 

Functions

template<typename T >
__device__ void mycuda_scan::scan_dev (T *r, T x, int i, int n)
 Device code for prefix scan of a single thread block. More...
 
template<typename T >
__global__ void mycuda_scan::scan_blocks (T *w, T *x, T *blocksum, int inclusive)
 Kernel for doing prefix scan. More...