From a7e7576f8cbe5b635281d1e318d4bf705309b23e Mon Sep 17 00:00:00 2001 From: Lukas Cejka <lukas.ostatek@gmail.com> Date: Mon, 5 Nov 2018 17:43:44 +0100 Subject: [PATCH] Created and updated TODO at start of file. --- src/UnitTests/Matrices/SparseMatrixTest.h | 47 +++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/src/UnitTests/Matrices/SparseMatrixTest.h b/src/UnitTests/Matrices/SparseMatrixTest.h index 3ff6b58446..aaeda4cd78 100644 --- a/src/UnitTests/Matrices/SparseMatrixTest.h +++ b/src/UnitTests/Matrices/SparseMatrixTest.h @@ -8,6 +8,53 @@ /* See Copyright Notice in tnl/Copyright */ +// TODO +/* + * getType() ::HOW? How to test this for each format? edit string how? + * getTypeVirtual() ::TEST? This just calls getType(). + * getSerializationType() ::TEST? This just calls HostType::getType(). + * getSerializationTypeVirtual() ::TEST? This just calls getSerializationType(). + * setDimensions() ::DONE + * setCompressedRowLengths() ::DONE + * getRowLength() ::USED! in test_setCompressedRowLengths() to verify the test. + * getRowLengthFast() ::TEST? How to test __cuda_callable__? + * setLike() ::DONE + * reset() ::DONE + * setElementFast() ::TEST? How to test __cuda_callable__? + * setElement() ::DONE + * addElementFast() ::TEST? How to test __cuda_callable__? + * addElement() + * setRowFast() ::TEST? How to test __cuda_callable__? + * setRow() + * addRowFast() ::TEST? How to test __cuda_callable__? + * addRow() + * getElementFast() ::TEST? How to test __cuda_callable__? + * getElement() + * getRowFast() ::TEST? How to test __cuda_callable__? + * MatrixRow getRow() ::TEST? How to test __cuda_callable__? + * ConstMatrixRow getRow() ::TEST? How to test __cuda_callable__? + * rowVectorProduct() ::TEST? How to test __cuda_callable__? + * vectorProduct() + * addMatrix() + * getTransposition() + * performSORIteration() + * operator=() + * save( File& file) + * load( File& file ) + * save( String& fileName ) + * load( String& fileName ) + * print() + * setCudaKernelType() + * getCudaKernelType() ::TEST? How to test __cuda_callable__? + * setCudaWarpSize() + * getCudaWarpSize() + * setHybridModeSplit() + * getHybridModeSplit() ::TEST? How to test __cuda_callable__? + * spmvCudaVectorized() ::TEST? How to test __device__? + * vectorProductCuda() ::TEST? How to test __device__? + */ + + #include <TNL/Matrices/CSR.h> #include <TNL/Matrices/Ellpack.h> #include <TNL/Matrices/SlicedEllpack.h> -- GitLab