Skip to content

Commit

Permalink
print
Browse files Browse the repository at this point in the history
  • Loading branch information
K20shores committed Sep 23, 2024
1 parent c384b4e commit fefc2ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/unit/cuda/solver/test_cuda_lu_decomposition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ void testCudaRandomMatrix(size_t n_grids)
cpu_A[i_block][i][j] = get_double();
gpu_A[i_block][i][j] = cpu_A[i_block][i][j];
}


micm::CudaLuDecomposition gpu_lud(gpu_A);
auto gpu_LU = micm::CudaLuDecomposition::GetLUMatrices(gpu_A, 1.0e-30);
Expand Down
1 change: 1 addition & 0 deletions test/unit/solver/test_lu_decomposition_policy.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ void check_results(
{
EXPECT_EQ(A.NumberOfBlocks(), L.NumberOfBlocks());
EXPECT_EQ(A.NumberOfBlocks(), U.NumberOfBlocks());
std::cout << "A.NumRows: " << A.NumRows() << " A.NumColumns: " A.NumColumns() << std::endl;
for (std::size_t i_block = 0; i_block < A.NumberOfBlocks(); ++i_block)
{
for (std::size_t i = 0; i < A.NumRows(); ++i)
Expand Down

0 comments on commit fefc2ab

Please sign in to comment.