1#ifndef TENSORINTERFACE_HPP__
2#define TENSORINTERFACE_HPP__
10 const std::string
name()
const {
return "Eigen"; }
15 const std::string
name()
const {
return "ndarray"; }
20 const std::string
name()
const {
return "CTF Tensor"; }
23#ifdef XPED_USE_ARRAY_TENSOR_LIB
24# define M_TENSORLIB ArrayTensorLib
25#elif defined(XPED_USE_EIGEN_TENSOR_LIB)
26# define M_TENSORLIB EigenTensorLib
27#elif defined(XPED_USE_CYCLOPS_TENSOR_LIB)
28# define M_TENSORLIB CyclopsTensorLib
59#if defined XPED_USE_EIGEN_TENSOR_LIB
60# define EIGEN_DENSEBASE_PLUGIN "Xped/Util/EigenPlugins.hpp"
62#elif defined XPED_USE_ARRAY_TENSOR_LIB
64#elif defined XPED_USE_CYCLOPS_TENSOR_LIB
67# error "You specified an unsupported plain tensor library."
Definition: TensorInterface.hpp:14
const std::string name() const
Definition: TensorInterface.hpp:15
Definition: TensorInterface.hpp:19
const std::string name() const
Definition: TensorInterface.hpp:20
Definition: TensorInterface.hpp:9
const std::string name() const
Definition: TensorInterface.hpp:10