Added missing apis.

This commit is contained in:
Benoit Steiner 2014-08-13 08:36:33 -07:00
parent f8fad09301
commit 9faad2932f
2 changed files with 6 additions and 1 deletions

View File

@ -173,7 +173,7 @@ struct TensorEvaluator<const TensorContractionOp<Indices, LeftArgType, RightArgT
}
}
// typedef typename XprType::Index Index;
typedef typename XprType::Scalar Scalar;
typedef typename XprType::CoeffReturnType CoeffReturnType;
typedef typename XprType::PacketReturnType PacketReturnType;
@ -226,6 +226,8 @@ struct TensorEvaluator<const TensorContractionOp<Indices, LeftArgType, RightArgT
}
}
Scalar* data() const { return NULL; }
private:
array<Index, 2*internal::array_size<Indices>::value> m_leftOffsets;
array<Index, 2*internal::array_size<Indices>::value> m_rightOffsets;

View File

@ -148,6 +148,7 @@ struct TensorEvaluator<const TensorConvolutionOp<Indices, InputArgType, KernelAr
}
}
typedef typename XprType::Scalar Scalar;
typedef typename XprType::CoeffReturnType CoeffReturnType;
typedef typename XprType::PacketReturnType PacketReturnType;
@ -203,6 +204,8 @@ struct TensorEvaluator<const TensorConvolutionOp<Indices, InputArgType, KernelAr
}
}
Scalar* data() const { return NULL; }
private:
array<Index, NumDims> m_inputStride;
array<Index, NumDims> m_outputStride;