![]() |
Eigen-unsupported
3.4.1 (git rev 28ded8800c26864e537852658428ab44c8399e87)
|
#include <unsupported/Eigen/CXX11/src/Tensor/TensorContractionSycl.h>
MemHolder this is a place holder struct for creating memory hierarchy in SYCL. Inside SYCL kernel it is not allowed to have dynamic memory allocation. While the local memory is created outside of the kernel and passed to the kernel as an accessor, the private memory can only allowed to be allocated statically. Since we are abstracting the TiledMemory for both local and private memory, the MemHolder structs is used as a helper to abstract out different type of memory needed when local/no_local memory computation is called.
| contraction_type | it is an enum value representing whether the local memroy/no local memory implementation of the algorithm to be used |
| the | private memory size |
| ptr | the tile memory pointer type |