SkelCL
SkelCL is a high level multi GPU skeleton library developed at the university of Münster, Germany.
 All Classes Namespaces Files Functions Variables Typedefs Groups
Namespaces | Functions
Distributions.h File Reference
#include "detail/Distribution.h"
#include "detail/BlockDistribution.h"
#include "detail/OLDistribution.h"
#include "detail/CopyDistribution.h"
#include "detail/SingleDistribution.h"

Go to the source code of this file.

Namespaces

 skelcl
 The namespace skelcl encapsulated the whole project. Every class provided by SkelCL is in this namespace.
 
 skelcl::distribution
 This namespace groups factory functions to construct the different distributions available in SkelCL.
 

Functions

template<template< typename > class C, typename T >
std::unique_ptr
< skelcl::detail::Distribution
< C< T > > > 
skelcl::distribution::Block (const C< T > &c)
 Factory function to create a BlockDistribution with the types of the given container. More...
 
template<template< typename > class C, typename T >
void skelcl::distribution::setBlock (const C< T > &c)
 This function sets the distribution of the given container to the BlockDistribution. More...
 
template<template< typename > class C, typename T >
std::unique_ptr
< skelcl::detail::Distribution
< C< T > > > 
skelcl::distribution::OL (const C< T > &c)
 Factory function to create an OverlapDistribution with the types of the given container. More...
 
template<template< typename > class C, typename T >
void skelcl::distribution::setOL (const C< T > &c)
 This function sets the distribution of the given container to the OverlapDistribution. More...
 
template<template< typename > class C, typename T >
std::unique_ptr
< skelcl::detail::Distribution
< C< T > > > 
skelcl::distribution::Copy (const C< T > &c, typename identity< std::function< T(const T &, const T &)>>::type combineFunc=nullptr)
 Factory function to create a CopyDistribution with the types of the given container. More...
 
template<template< typename > class C, typename T >
void skelcl::distribution::setCopy (const C< T > &c, std::function< T(const T &, const T &)> combineFunc=nullptr)
 This function sets the distribution of the given container to the CopyDistribution. More...
 
template<template< typename > class C, typename T >
std::unique_ptr
< skelcl::detail::Distribution
< C< T > > > 
skelcl::distribution::Single (const C< T > &c)
 Factory function to create a SingleDistribution with the types of the given container and for the default device. More...
 
template<template< typename > class C, typename T >
std::unique_ptr
< skelcl::detail::Distribution
< C< T > > > 
skelcl::distribution::Single (const C< T > &c, const std::shared_ptr< skelcl::detail::Device > &device)
 Factory function to create a SingleDistribution with the types of the given container and for the given device. More...
 
template<template< typename > class C, typename T >
void skelcl::distribution::setSingle (const C< T > &c)
 This function sets the distribution of the given container to the SingleDistribution using the default device. More...
 
template<template< typename > class C, typename T >
void skelcl::distribution::setSingle (const C< T > &c, const std::shared_ptr< skelcl::detail::Device > &device)
 This function sets the distribution of the given container to the SingleDistribution using the given device. More...
 

Detailed Description

Author
Michel Steuwer miche.nosp@m.l.st.nosp@m.euwer.nosp@m.@uni.nosp@m.-muen.nosp@m.ster.nosp@m..de

Definition in file Distributions.h.