VisionCpp  0.0.1
Public Member Functions | Public Attributes | List of all members
visioncpp::internal::Coordinate< LC, LR, ItemID > Struct Template Reference

Coordinate is used to specify local/global offset for local/global access to the local/global memory for each thread on the device. More...

#include <mem_coordinate.hpp>

Collaboration diagram for visioncpp::internal::Coordinate< LC, LR, ItemID >:

Public Member Functions

 Coordinate (ItemID itemID)
 
void barrier ()
 function barrier is used to call sycl local barrier for local threads More...
 
void global_barrier ()
 

Public Attributes

ItemID itemID
 
size_t cLRng
 
size_t rLRng
 
size_t pointOp_gc
 
size_t pointOp_gr
 
size_t g_c
 
size_t g_r
 
size_t l_c
 
size_t l_r
 

Detailed Description

template<size_t LC, size_t LR, typename ItemID>
struct visioncpp::internal::Coordinate< LC, LR, ItemID >

Coordinate is used to specify local/global offset for local/global access to the local/global memory for each thread on the device.

template parameters:

Template Parameters
LCThe column size for local memory
LRThe Row size for the local memory
ItemIDprovided by sycl

Definition at line 47 of file mem_coordinate.hpp.

Constructor & Destructor Documentation

◆ Coordinate()

template<size_t LC, size_t LR, typename ItemID >
visioncpp::internal::Coordinate< LC, LR, ItemID >::Coordinate ( ItemID  itemID)
inline

Definition at line 48 of file mem_coordinate.hpp.

Member Function Documentation

◆ barrier()

template<size_t LC, size_t LR, typename ItemID >
void visioncpp::internal::Coordinate< LC, LR, ItemID >::barrier ( )
inline

function barrier is used to call sycl local barrier for local threads

Returns
void

Definition at line 63 of file mem_coordinate.hpp.

References visioncpp::internal::Coordinate< LC, LR, ItemID >::itemID.

◆ global_barrier()

template<size_t LC, size_t LR, typename ItemID >
void visioncpp::internal::Coordinate< LC, LR, ItemID >::global_barrier ( )
inline
Returns
void

Definition at line 69 of file mem_coordinate.hpp.

References visioncpp::internal::Coordinate< LC, LR, ItemID >::itemID.

Member Data Documentation

◆ cLRng

template<size_t LC, size_t LR, typename ItemID >
size_t visioncpp::internal::Coordinate< LC, LR, ItemID >::cLRng

Definition at line 74 of file mem_coordinate.hpp.

◆ g_c

template<size_t LC, size_t LR, typename ItemID >
size_t visioncpp::internal::Coordinate< LC, LR, ItemID >::g_c

Definition at line 78 of file mem_coordinate.hpp.

◆ g_r

template<size_t LC, size_t LR, typename ItemID >
size_t visioncpp::internal::Coordinate< LC, LR, ItemID >::g_r

Definition at line 79 of file mem_coordinate.hpp.

◆ itemID

template<size_t LC, size_t LR, typename ItemID >
ItemID visioncpp::internal::Coordinate< LC, LR, ItemID >::itemID

◆ l_c

template<size_t LC, size_t LR, typename ItemID >
size_t visioncpp::internal::Coordinate< LC, LR, ItemID >::l_c

Definition at line 80 of file mem_coordinate.hpp.

◆ l_r

template<size_t LC, size_t LR, typename ItemID >
size_t visioncpp::internal::Coordinate< LC, LR, ItemID >::l_r

Definition at line 81 of file mem_coordinate.hpp.

◆ pointOp_gc

template<size_t LC, size_t LR, typename ItemID >
size_t visioncpp::internal::Coordinate< LC, LR, ItemID >::pointOp_gc

Definition at line 76 of file mem_coordinate.hpp.

◆ pointOp_gr

template<size_t LC, size_t LR, typename ItemID >
size_t visioncpp::internal::Coordinate< LC, LR, ItemID >::pointOp_gr

Definition at line 77 of file mem_coordinate.hpp.

◆ rLRng

template<size_t LC, size_t LR, typename ItemID >
size_t visioncpp::internal::Coordinate< LC, LR, ItemID >::rLRng

Definition at line 75 of file mem_coordinate.hpp.


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