Muesli
 All Classes Namespaces Files Functions Typedefs Enumerations
Classes | Functions
msl::detail Namespace Reference

Namespace detail contains internally used classes. The user of Muesli should not get in touch with the contents of this namespace. More...

Classes

class  CcDeque
 
class  Conversion
 
class  Conversion< T, T >
 
struct  Int2Type
 
class  Exception
 
class  UndefinedSourceException
 
class  UndefinedDestinationException
 
class  NonLocalAccessException
 
class  MissingInitializationException
 
class  IllegalGetException
 
class  IllegalPutException
 
class  IllegalPartitionException
 
class  PartitioningImpossibleException
 
class  IllegalPermuteException
 
class  IllegalAllToAllException
 
class  IllegalFunctorException
 
class  FeatureNotSupportedByDeviceException
 
class  NoSolutionException
 
class  InternalErrorException
 
class  EmptyHeapException
 
class  EmptyStackException
 
class  EmptyQueueException
 
class  FunctorBase
 Class FunctorBase represents the base class for all functor classes. More...
 
class  MatrixFunctorBase
 Class MatrixFunctorBase represents the base class for all functors to be used with any distributed matrix skeletons. More...
 
class  ArrayFunctorBase
 Class ArrayFunctorBase represents the base class for all functors to be used with any distributed array skeletons. More...
 
class  FarmFunctorBase
 Class FarmFunctorBase represents the base class for all functors to be used with the farm skeleton. More...
 
class  LocalFarm
 
class  Process
 

Functions

template<typename T >
__global__ void copyKernel (const T *source, T *copy, size_t size)
 
std::ostream & operator<< (std::ostream &os, const Exception &e)
 
template<class I , class O , class F >
__global__ void farmKernel (I *input, O *output, int size, F f)
 
bool isPow2 (size_t x)
 
size_t nextPow2 (size_t x)
 
void getNumBlocksAndThreads (int n, int maxBlocks, int maxThreads, int &blocks, int &threads)
 
template<typename T , typename F , size_t blockSize, bool nIsPow2>
__global__ void foldKernel (T *g_idata, T *g_odata, size_t n, F func)
 
template<typename T , typename F >
void reduce (uint size, T *d_idata, T *d_odata, int threads, int blocks, F &f, cudaStream_t &stream, int gpu)
 
template<typename T , typename R , typename F >
__global__ void mapKernel (T *in, R *out, size_t size, F func)
 
template<typename T , typename R , typename F >
__global__ void mapIndexKernel (T *in, R *out, size_t size, size_t first, F func, bool localIndices)
 
template<typename T , typename R , typename F >
__global__ void mapIndexKernel (T *in, R *out, GPUExecutionPlan< T > plan, F func, bool localIndices)
 
template<typename T , typename R , typename F >
__global__ void mapStencilKernel (T *in, R *out, GPUExecutionPlan< T > plan, PLArray< T > *input, F func, int tile_width)
 
template<typename T , typename R , typename F >
__global__ void mapStencilKernel (T *in, R *out, GPUExecutionPlan< T > plan, PLMatrix< T > *input, F func, int tile_width)
 
int getMaxBlocksPerRow (int device)
 
int getMaxBlocksPerCol (int device)
 
int getMaxThreadsPerBlock (int device)
 
int getThreadsPerBlock (int device)
 
template<typename T1 , typename T2 , typename R , typename FCT2 >
__global__ void zipKernel (T1 *in1, T2 *in2, R *out, size_t n, FCT2 func)
 
template<typename T1 , typename T2 , typename R , typename FCT3 >
__global__ void zipIndexKernel (T1 *in1, T2 *in2, R *out, size_t n, int first, FCT3 func, bool localIndices)
 
template<typename T1 , typename T2 , typename R , typename FCT4 >
__global__ void zipIndexKernel (T1 *in1, T2 *in2, R *out, GPUExecutionPlan< T1 > plan, FCT4 func, bool localIndices)
 

Detailed Description

Namespace detail contains internally used classes. The user of Muesli should not get in touch with the contents of this namespace.