From 7868c46001711f563c48b6219f52e5bb64e26145 Mon Sep 17 00:00:00 2001
From: Lukas Cejka <lukas.ostatek@gmail.com>
Date: Sun, 11 Nov 2018 22:15:19 +0100
Subject: [PATCH] Updated TODO.

---
 src/UnitTests/Matrices/SparseMatrixTest.h | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/src/UnitTests/Matrices/SparseMatrixTest.h b/src/UnitTests/Matrices/SparseMatrixTest.h
index b48a9b0154..1e69262d3b 100644
--- a/src/UnitTests/Matrices/SparseMatrixTest.h
+++ b/src/UnitTests/Matrices/SparseMatrixTest.h
@@ -36,7 +36,8 @@
  * MatrixRow getRow()               ::TEST? How to test __cuda_callable__? ONLY TEST ON CPU FOR NOW
  * ConstMatrixRow getRow()          ::TEST? How to test __cuda_callable__? ONLY TEST ON CPU FOR NOW
  * rowVectorProduct()               ::TEST? How to test __cuda_callable__? ONLY TEST ON CPU FOR NOW
- * vectorProduct()                  ::HOW? Throwing abort,  CUDA illegal memory access errors.
+ * vectorProduct()                      ::DONE
+ *      This used to throw illegal memory access, but instead of using ints for vectors, using Types, helped.
  * addMatrix()                      ::NOT IMPLEMENTED!
  * getTransposition()               ::NOT IMPLMENETED!
  * performSORIteration()            ::HOW? Throws segmentation fault CUDA.
@@ -855,14 +856,6 @@ TEST( SparseMatrixTest, CSR_vectorProductTest_Host )
 TEST( SparseMatrixTest, CSR_vectorProductTest_Cuda )
 {
     test_VectorProduct< CSR_cuda_int >();
-//    bool testRan = false;
-//    EXPECT_TRUE( testRan );
-//    std::cout << "\nTEST DID NOT RUN. NOT WORKING.\n\n";
-//    std::cout << "If launched, this test throws the following message: \n";
-//    std::cout << "      terminate called after throwing an instance of 'TNL::Exceptions::CudaRuntimeError'\n";
-//    std::cout << "        what():  CUDA ERROR 77 (cudaErrorIllegalAddress): an illegal memory access was encountered.\n";
-//    std::cout << "      Source: line 57 in /home/lukas/tnl-dev/src/TNL/Containers/Algorithms/ArrayOperationsCuda_impl.h: an illegal memory access was encountered\n";
-//    std::cout << "      [1]    7238 abort (core dumped)  ./SparseMatrixTest-dbg\n\n";
 }
 #endif
 
-- 
GitLab