Defines | Functions | Variables
cuda_common.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define dxBlockDim   blockDim
#define dxBlockDimX()   blockDim.x
#define dxBlockDimY()   blockDim.y
#define dxBlockIdx   blockIdx
#define dxBlockIdxX()   blockIdx.x
#define dxBlockIdxY()   blockIdx.y
#define dxConstant   __constant__
#define dxDevice   __device__
#define dxDeviceContext   cudaStream_t
#define dxDeviceData
#define dxDeviceQueue   cudaStream_t
#define dxExecKernel(numb, numt, kfunc, args)   kfunc<<<numb, numt>>>args
#define dxGlobal   __global__
#define dxGlobalIdxX()   (dxBlockIdxX() * dxBlockDimX() + dxThreadIdxX())
#define dxGlobalIdxY()   (dxBlockIdxY() * dxBlockDimY() + dxThreadIdxY())
#define dxGlobalOffsetX()   0
#define dxGlobalOffsetY()   0
#define dxGridDimX()   gridDim.x
#define dxHost   __host__
#define dxOverload
#define dxParallelInfD   CUDART_INF
#define dxParallelInfF   CUDART_INF_F
#define dxParams   params
#define dxShared   __shared__
#define dxSyncthreads()   __syncthreads()
#define dxThreadIdx   threadIdx
#define dxThreadIdxX()   threadIdx.x
#define dxThreadIdxY()   threadIdx.y

Functions

dxDeviceContext dxGetDeviceContext ()
dxDeviceQueue dxGetDeviceQueue ()
void dxGlobalSync ()
void dxInitDevice ()
void dxShutdownDevice ()

Variables

static dxDeviceContext sDeviceContext = 0
static dxDeviceQueue sDeviceQueue = 0

Define Documentation

#define dxBlockDim   blockDim

Definition at line 21 of file cuda_common.h.

#define dxBlockDimX ( )    blockDim.x

Definition at line 25 of file cuda_common.h.

#define dxBlockDimY ( )    blockDim.y

Definition at line 31 of file cuda_common.h.

#define dxBlockIdx   blockIdx

Definition at line 20 of file cuda_common.h.

#define dxBlockIdxX ( )    blockIdx.x

Definition at line 24 of file cuda_common.h.

#define dxBlockIdxY ( )    blockIdx.y

Definition at line 30 of file cuda_common.h.

#define dxConstant   __constant__

Definition at line 14 of file cuda_common.h.

#define dxDevice   __device__

Definition at line 11 of file cuda_common.h.

#define dxDeviceContext   cudaStream_t

Definition at line 6 of file cuda_common.h.

#define dxDeviceData

Definition at line 13 of file cuda_common.h.

#define dxDeviceQueue   cudaStream_t

Definition at line 7 of file cuda_common.h.

#define dxExecKernel (   numb,
  numt,
  kfunc,
  args 
)    kfunc<<<numb, numt>>>args

Definition at line 35 of file cuda_common.h.

#define dxGlobal   __global__

Definition at line 16 of file cuda_common.h.

#define dxGlobalIdxX ( )    (dxBlockIdxX() * dxBlockDimX() + dxThreadIdxX())

Definition at line 28 of file cuda_common.h.

#define dxGlobalIdxY ( )    (dxBlockIdxY() * dxBlockDimY() + dxThreadIdxY())

Definition at line 34 of file cuda_common.h.

#define dxGlobalOffsetX ( )    0

Definition at line 27 of file cuda_common.h.

#define dxGlobalOffsetY ( )    0

Definition at line 33 of file cuda_common.h.

#define dxGridDimX ( )    gridDim.x

Definition at line 23 of file cuda_common.h.

#define dxHost   __host__

Definition at line 12 of file cuda_common.h.

#define dxOverload

Definition at line 10 of file cuda_common.h.

#define dxParallelInfD   CUDART_INF

Definition at line 9 of file cuda_common.h.

#define dxParallelInfF   CUDART_INF_F

Definition at line 8 of file cuda_common.h.

#define dxParams   params

Definition at line 15 of file cuda_common.h.

#define dxShared   __shared__

Definition at line 17 of file cuda_common.h.

#define dxSyncthreads ( )    __syncthreads()

Definition at line 18 of file cuda_common.h.

#define dxThreadIdx   threadIdx

Definition at line 22 of file cuda_common.h.

#define dxThreadIdxX ( )    threadIdx.x

Definition at line 26 of file cuda_common.h.

#define dxThreadIdxY ( )    threadIdx.y

Definition at line 32 of file cuda_common.h.


Function Documentation

Definition at line 45 of file cuda_common.h.

Definition at line 46 of file cuda_common.h.

void dxGlobalSync ( ) [inline]

Definition at line 47 of file cuda_common.h.

void dxInitDevice ( ) [inline]

Definition at line 48 of file cuda_common.h.

void dxShutdownDevice ( ) [inline]

Definition at line 49 of file cuda_common.h.


Variable Documentation

Definition at line 40 of file cuda_common.h.

Definition at line 41 of file cuda_common.h.



parallel_quickstep
Author(s): Jared Duke
autogenerated on Wed Apr 23 2014 10:23:51