VisionCpp  0.0.1
Classes | Namespaces
mem_const.hpp File Reference

specialisations of SyclMem type when we are passing constant variable to the device. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  visioncpp::internal::ConstMemory< T >
 The definition can be found in ConstMemory. More...
 

Namespaces

 visioncpp
 VisionCpp namespace.
 
 visioncpp::internal
 Internal implementations.
 

Detailed Description

specialisations of SyclMem type when we are passing constant variable to the device.

In this case we are not using syclbuffer which can be stored on device memory. we have created struct supporting c++ standard layout. Therefore, the constant variable can be detectable by sycl compiler on the device side and each thread can have a copy of it on the private memory.

Definition in file mem_const.hpp.