25 #ifndef VISIONCPP_INCLUDE_FRAMEWORK_MEMORY_MEMORY_ACCESS_MEM_COORDINATE_HPP_
26 #define VISIONCPP_INCLUDE_FRAMEWORK_MEMORY_MEMORY_ACCESS_MEM_COORDINATE_HPP_
46 template <
size_t LC,
size_t LR,
typename ItemID>
64 itemID.barrier(cl::sycl::access::fence_space::local_space);
70 itemID.barrier(cl::sycl::access::fence_space::global_space);
84 template <
size_t LC,
size_t LR,
typename ItemID>
static constexpr size_t RowDim
static constexpr size_t ColDim
when the sycl change the dim this should be applied and work ColDim=1 and RowDim==0;
Coordinate< LC, LR, ItemID > memLocation(ItemID itemID)
deduction function for Coordinate
Coordinate is used to specify local/global offset for local/global access to the local/global memory ...
void barrier()
function barrier is used to call sycl local barrier for local threads
Coordinate(ItemID itemID)