mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +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 output_span;
|
||||
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(
|
||||
|
Loading…
Reference in New Issue
Block a user