CUDPP 1.1.1
rand_cta.cu 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.
__device__ unsigned int leftRotate (unsigned int x, unsigned int n)
 Rotates the bits in x over by n bits.
__device__ unsigned int F (unsigned int x, unsigned int y, unsigned int z)
 The F scrambling function.
__device__ unsigned int G (unsigned int x, unsigned int y, unsigned int z)
 The G scrambling function.
__device__ unsigned int H (unsigned int x, unsigned int y, unsigned int z)
 The H scrambling function.
__device__ unsigned int I (unsigned int x, unsigned int y, unsigned int z)
 The I scrambling function.
__device__ void FF (uint4 *td, int i, uint4 *Fr, float p, unsigned int *data)
 The FF scrambling function.
__device__ void GG (uint4 *td, int i, uint4 *Gr, float p, unsigned int *data)
 The GG scrambling function.
__device__ void HH (uint4 *td, int i, uint4 *Hr, float p, unsigned int *data)
 The HH scrambling function.
__device__ void II (uint4 *td, int i, uint4 *Ir, float p, unsigned int *data)
 The II scrambling function.
__device__ void setupInput (unsigned int *input, unsigned int seed)
 Sets up the input array using information of seed, and threadIdx.

Detailed Description

CUDPP CTA-level rand routines.

rand_cta.cu

 All Classes Files Functions Variables Enumerations Enumerator Defines