HyPar  1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
SharedMemory< T > Struct Template Reference

Public Member Functions

__device__ operator T * ()
 
__device__ operator const T * () const
 

Detailed Description

template<class T>
struct SharedMemory< T >

Definition at line 44 of file ParallelReduction_GPU.cu.

Member Function Documentation

__device__ operator T * ( )
inline

Definition at line 45 of file ParallelReduction_GPU.cu.

45  {
46  extern __shared__ int __smem[];
47  return (T *)__smem;
48  }
__device__ operator const T * ( ) const
inline

Definition at line 50 of file ParallelReduction_GPU.cu.

50  {
51  extern __shared__ int __smem[];
52  return (T *)__smem;
53  }

The documentation for this struct was generated from the following file: