CUDPP  2.2
CUDA Data-Parallel Primitives Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
rand_cta.cuh File Reference

CUDPP CTA-level rand routines. More...

Functions

Rand Functions
__device__ void swizzleShift (uint4 *f)
 Does a GLSL-style swizzle assigning f->xyzw = f->yzwx. More...
 
__device__ unsigned int leftRotate (unsigned int x, unsigned int n)
 Rotates the bits in x over by n bits. More...
 
__device__ unsigned int F (unsigned int x, unsigned int y, unsigned int z)
 The F scrambling function. More...
 
__device__ unsigned int G (unsigned int x, unsigned int y, unsigned int z)
 The G scrambling function. More...
 
__device__ unsigned int H (unsigned int x, unsigned int y, unsigned int z)
 The H scrambling function. More...
 
__device__ unsigned int I (unsigned int x, unsigned int y, unsigned int z)
 The I scrambling function. More...
 
__device__ void FF (uint4 *td, int i, uint4 *Fr, float p, unsigned int *data)
 The FF scrambling function. More...
 
__device__ void GG (uint4 *td, int i, uint4 *Gr, float p, unsigned int *data)
 The GG scrambling function. More...
 
__device__ void HH (uint4 *td, int i, uint4 *Hr, float p, unsigned int *data)
 The HH scrambling function. More...
 
__device__ void II (uint4 *td, int i, uint4 *Ir, float p, unsigned int *data)
 The II scrambling function. More...
 
__device__ void setupInput (unsigned int *input, unsigned int seed)
 Sets up the input array using information of seed, and threadIdx. More...
 

Detailed Description

CUDPP CTA-level rand routines.

rand_cta.cu