SHOGUN
6.0.0
|
Go to the source code of this file.
Classes | |
class | LinalgBackendGPUBase |
Base interface of generic GPU linalg methods and generic GPU memory transfer methods. More... | |
Macros | |
#define | DEFINE_FOR_ALL_PTYPE(METHODNAME, Container) |
#define | BACKEND_GENERIC_TO_GPU(Type, Container) virtual GPUMemoryBase<Type>* to_gpu(const Container<Type>&) const = 0;\ |
#define | BACKEND_GENERIC_FROM_GPU(Type, Container) virtual void from_gpu(const Container<Type>&, Type* data) const = 0;\ |
#define BACKEND_GENERIC_FROM_GPU | ( | Type, | |
Container | |||
) | virtual void from_gpu(const Container<Type>&, Type* data) const = 0;\ |
Wrapper method of fetching data from GPU memory.
Definition at line 79 of file LinalgBackendGPUBase.h.
#define BACKEND_GENERIC_TO_GPU | ( | Type, | |
Container | |||
) | virtual GPUMemoryBase<Type>* to_gpu(const Container<Type>&) const = 0;\ |
Wrapper method of Transferring data to GPU memory.
Definition at line 67 of file LinalgBackendGPUBase.h.
#define DEFINE_FOR_ALL_PTYPE | ( | METHODNAME, | |
Container | |||
) |
Definition at line 52 of file LinalgBackendGPUBase.h.