XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Functions
view_arithmetic.hpp File Reference
#include "space_settings.hpp"
#include "globals.hpp"
Include dependency graph for view_arithmetic.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ViewArithmeticPointers< T >
 

Functions

template<typename V1 , typename V2 , typename T >
void host_add_ay_to_x (V1 &dest_view, const V2 &added_view, T coeff)
 
template<typename V1 , typename V2 >
void host_multiply_x_by_y (V1 &dest_view, const V2 &multiplier_view)
 
template<typename V1 , typename V2 >
void host_divide_x_by_y (V1 &dest_view, const V2 &divisor_view)
 
template<typename V1 , typename T >
void divide_x_by_a (const V1 &dest_view, T coeff)
 
template<typename V1 , typename V2 >
void add_y_to_x (const V1 &dest_view, const V2 &added_view)
 
template<typename V1 , typename V2 >
void add_device_view_to_host_view (V1 &dest_view, const V2 &device_view)
 
template<typename T >
T::value_type sum_view (const T &view)
 
template<typename T >
T::value_type max_view (const T &view)
 

Function Documentation

template<typename V1 , typename V2 >
void add_device_view_to_host_view ( V1 &  dest_view,
const V2 &  device_view 
)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

template<typename V1 , typename V2 >
void add_y_to_x ( const V1 &  dest_view,
const V2 &  added_view 
)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

template<typename V1 , typename T >
void divide_x_by_a ( const V1 &  dest_view,
coeff 
)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

template<typename V1 , typename V2 , typename T >
void host_add_ay_to_x ( V1 &  dest_view,
const V2 &  added_view,
coeff 
)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

template<typename V1 , typename V2 >
void host_divide_x_by_y ( V1 &  dest_view,
const V2 &  divisor_view 
)
inline

Here is the call graph for this function:

template<typename V1 , typename V2 >
void host_multiply_x_by_y ( V1 &  dest_view,
const V2 &  multiplier_view 
)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

template<typename T >
T::value_type max_view ( const T &  view)
inline

Here is the caller graph for this function:

template<typename T >
T::value_type sum_view ( const T &  view)
inline

Here is the caller graph for this function: