diff --git a/src/TNL/Algorithms/Segments/BiEllpack.hpp b/src/TNL/Algorithms/Segments/BiEllpack.hpp index 4bbccbb0eec375ec6d312adcc85e894bae4851c7..ddb3c0342404b868ead912eea9e7cae7c795b479 100644 --- a/src/TNL/Algorithms/Segments/BiEllpack.hpp +++ b/src/TNL/Algorithms/Segments/BiEllpack.hpp @@ -84,6 +84,7 @@ String BiEllpack< Device, Index, IndexAllocator, Organization, WarpSize >:: getSerializationType() { + // FIXME: the serialized data DEPEND on the Organization and WarpSize parameters, so it should be reflected in the serialization type return "BiEllpack< [any_device], " + TNL::getSerializationType< IndexType >() + " >"; } diff --git a/src/TNL/Algorithms/Segments/BiEllpackView.hpp b/src/TNL/Algorithms/Segments/BiEllpackView.hpp index ab79d5833357146820d86a18ae9c69300ee57dce..8a1b035aa1122edd39b878fa851b76a46e6485b5 100644 --- a/src/TNL/Algorithms/Segments/BiEllpackView.hpp +++ b/src/TNL/Algorithms/Segments/BiEllpackView.hpp @@ -97,6 +97,7 @@ String BiEllpackView< Device, Index, Organization, WarpSize >:: getSerializationType() { + // FIXME: the serialized data DEPEND on the Organization and WarpSize parameters, so it should be reflected in the serialization type return "BiEllpack< [any_device], " + TNL::getSerializationType< IndexType >() + " >"; } diff --git a/src/TNL/Algorithms/Segments/CSR.hpp b/src/TNL/Algorithms/Segments/CSR.hpp index 0d15790bf8f9b284f764532f15ac3e08df8754e8..0bd2d33ca628db43a2e103d0f8d6128e424d73c9 100644 --- a/src/TNL/Algorithms/Segments/CSR.hpp +++ b/src/TNL/Algorithms/Segments/CSR.hpp @@ -80,6 +80,7 @@ getSerializationType() { return "CSR< [any_device], " + TNL::getSerializationType< IndexType >() + ", " + + // FIXME: the serialized data do not depend on the the kernel type so it should not be in the serialization type TNL::getSerializationType< KernelType >() + " >"; } diff --git a/src/TNL/Algorithms/Segments/CSRView.hpp b/src/TNL/Algorithms/Segments/CSRView.hpp index 4343e672bc1b8c58eba08f47798e5fc217f37da7..7aac457afac9d16110e32f22821d060aa118138c 100644 --- a/src/TNL/Algorithms/Segments/CSRView.hpp +++ b/src/TNL/Algorithms/Segments/CSRView.hpp @@ -80,7 +80,8 @@ CSRView< Device, Index, Kernel >:: getSerializationType() { return "CSR< [any_device], " + - TNL::getSerializationType< IndexType >() + + TNL::getSerializationType< IndexType >() + ", " + + // FIXME: the serialized data do not depend on the the kernel type so it should not be in the serialization type TNL::getSerializationType< KernelType >() + " >"; } diff --git a/src/TNL/Algorithms/Segments/ChunkedEllpack.hpp b/src/TNL/Algorithms/Segments/ChunkedEllpack.hpp index e39a166707a644e7bae7d6b804d342e7c0d81f9f..9a08957da19291ce89a6c6e5aac41a89a654e375 100644 --- a/src/TNL/Algorithms/Segments/ChunkedEllpack.hpp +++ b/src/TNL/Algorithms/Segments/ChunkedEllpack.hpp @@ -88,6 +88,7 @@ String ChunkedEllpack< Device, Index, IndexAllocator, Organization >:: getSerializationType() { + // FIXME: the serialized data DEPEND on the Organization parameter, so it should be reflected in the serialization type return "ChunkedEllpack< [any_device], " + TNL::getSerializationType< IndexType >() + " >"; } diff --git a/src/TNL/Algorithms/Segments/ChunkedEllpackView.hpp b/src/TNL/Algorithms/Segments/ChunkedEllpackView.hpp index 6fc7671079b09a845f540887c51c6720a96a5571..a48afead54e0e2e20774a25885a0e22c96d019dc 100644 --- a/src/TNL/Algorithms/Segments/ChunkedEllpackView.hpp +++ b/src/TNL/Algorithms/Segments/ChunkedEllpackView.hpp @@ -122,6 +122,7 @@ String ChunkedEllpackView< Device, Index, Organization >:: getSerializationType() { + // FIXME: the serialized data DEPEND on the Organization parameter, so it should be reflected in the serialization type return "ChunkedEllpack< [any_device], " + TNL::getSerializationType< IndexType >() + " >"; } diff --git a/src/TNL/Algorithms/Segments/Ellpack.hpp b/src/TNL/Algorithms/Segments/Ellpack.hpp index 27e7dcbe3cc8edc86a6bec5d5f15baf20d9aa002..baef4d16133a450cdd9120ef799f0f842ebdd240 100644 --- a/src/TNL/Algorithms/Segments/Ellpack.hpp +++ b/src/TNL/Algorithms/Segments/Ellpack.hpp @@ -99,6 +99,7 @@ String Ellpack< Device, Index, IndexAllocator, Organization, Alignment >:: getSerializationType() { + // FIXME: the serialized data DEPEND on the Organization and Alignment parameters, so it should be reflected in the serialization type return "Ellpack< [any_device], " + TNL::getSerializationType< IndexType >() + " >"; } diff --git a/src/TNL/Algorithms/Segments/EllpackView.hpp b/src/TNL/Algorithms/Segments/EllpackView.hpp index 6f49c55eef3bf277722b46c728b56c68b3a4f4dc..e283a75d0ebe2e960bdf522d44e7a59e62f87fa9 100644 --- a/src/TNL/Algorithms/Segments/EllpackView.hpp +++ b/src/TNL/Algorithms/Segments/EllpackView.hpp @@ -205,6 +205,7 @@ String EllpackView< Device, Index, Organization, Alignment >:: getSerializationType() { + // FIXME: the serialized data DEPEND on the Organization and Alignment parameters, so it should be reflected in the serialization type return "Ellpack< [any_device], " + TNL::getSerializationType< IndexType >() + " >"; } diff --git a/src/TNL/Algorithms/Segments/SlicedEllpack.hpp b/src/TNL/Algorithms/Segments/SlicedEllpack.hpp index 8a4903cbd6d1c8d5f2f9b156d508fd5835e55459..652eceb566d9460d04a95ed31c93a178f9779083 100644 --- a/src/TNL/Algorithms/Segments/SlicedEllpack.hpp +++ b/src/TNL/Algorithms/Segments/SlicedEllpack.hpp @@ -93,6 +93,7 @@ String SlicedEllpack< Device, Index, IndexAllocator, Organization, SliceSize >:: getSerializationType() { + // FIXME: the serialized data DEPEND on the Organization and Alignment parameters, so it should be reflected in the serialization type return "SlicedEllpack< [any_device], " + TNL::getSerializationType< IndexType >() + " >"; } diff --git a/src/TNL/Algorithms/Segments/SlicedEllpackView.hpp b/src/TNL/Algorithms/Segments/SlicedEllpackView.hpp index 5b97c72e20b6c84601cb7f078c6a1af9d742bffd..d7ef9524c85b1697af214383ae7274eedb5309be 100644 --- a/src/TNL/Algorithms/Segments/SlicedEllpackView.hpp +++ b/src/TNL/Algorithms/Segments/SlicedEllpackView.hpp @@ -83,6 +83,7 @@ String SlicedEllpackView< Device, Index, Organization, SliceSize >:: getSerializationType() { + // FIXME: the serialized data DEPEND on the Organization and Alignment parameters, so it should be reflected in the serialization type return "SlicedEllpack< [any_device], " + TNL::getSerializationType< IndexType >() + " >"; }