mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 03:39:01 +08:00
Initialize BlockIteratorState in a C++03 compatible way.
This commit is contained in:
parent
44d8274383
commit
5d2e759329
@ -188,7 +188,14 @@ class TensorBlockIO {
|
|||||||
StorageIndex input_span;
|
StorageIndex input_span;
|
||||||
StorageIndex output_span;
|
StorageIndex output_span;
|
||||||
StorageIndex size;
|
StorageIndex size;
|
||||||
StorageIndex count = 0;
|
StorageIndex count;
|
||||||
|
BlockIteratorState()
|
||||||
|
: input_stride(0),
|
||||||
|
output_stride(0),
|
||||||
|
input_span(0),
|
||||||
|
output_span(0),
|
||||||
|
size(0),
|
||||||
|
count(0) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void Copy(
|
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void Copy(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user