VisionCpp  0.0.1
Classes | Namespaces | Functions
memory_access.hpp File Reference

this file contains a set of forward declarations and include headers required for constructing and accessing memory on both host and device. More...

#include "mem_coordinate.hpp"
#include "mem_neighbour.hpp"
Include dependency graph for memory_access.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  visioncpp::internal::CompareIdBasedScope< Conds, LDSize, GDSize, T >
 this is used for range check to make sure the index is within the range. More...
 
struct  visioncpp::internal::CompareIdBasedScope< false, LDSize, GDSize, T >
 specialisation of the CompareIdBasedScope when the Conds is false in this case the range check is with the global size template parameters: More...
 
struct  visioncpp::internal::GetIdBasedScope< Conds, T >
 brief This is used to get the correct Id based on the condition. More...
 
struct  visioncpp::internal::GetIdBasedScope< false, T >
 specialisation of the GetIdBasedScope when the condition is false. More...
 
struct  visioncpp::internal::MemoryTrait< LeafType, T >
 This class is used to determine the ElementType of accessor template parameters. More...
 
struct  visioncpp::internal::MemoryTrait< memory_type::Host, T >
 specialisation of MemoryTrait when the LeafType is Host More...
 

Namespaces

 visioncpp
 VisionCpp namespace.
 
 visioncpp::internal
 Internal implementations.
 

Functions

template<bool Conds, size_t LDSize, size_t GDSize, typename T >
static bool visioncpp::internal::get_compare (T l, int i, T g)
 function get_compare template deduction for CompareIdBasedScope template parameters: More...
 
template<bool Conds, typename T >
static T visioncpp::internal::id_val (T l, T g)
 function id_val More...
 
static size_t visioncpp::internal::calculate_index (size_t c, size_t r, size_t cols, size_t rows)
 function calculate_index More...
 

Detailed Description

this file contains a set of forward declarations and include headers required for constructing and accessing memory on both host and device.

Definition in file memory_access.hpp.