Skip to content

Commit

Permalink
Updating RandLAPACK to work with the most recent version of RandBLAS
Browse files Browse the repository at this point in the history
  • Loading branch information
TeachRaccooon committed Apr 12, 2024
1 parent 5432731 commit d761a28
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CMake/rl_build_options.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD 23)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)

option(BUILD_SHARED_LIBS OFF "Configure to build shared or static libraries")
Expand Down
2 changes: 1 addition & 1 deletion RandBLAS
Submodule RandBLAS updated 77 files
+1 −1 CMake/rb_build_options.cmake
+1 −1 CMakeLists.txt
+1 −1 INSTALL.md
+76 −0 LICENSE
+3 −21 README.md
+3 −3 RandBLAS.hh
+0 −91 RandBLAS/base.cc
+127 −22 RandBLAS/base.hh
+71 −440 RandBLAS/dense_skops.hh
+1 −1 RandBLAS/exceptions.hh
+6 −6 RandBLAS/random_gen.hh
+597 −390 RandBLAS/skge.hh
+339 −0 RandBLAS/skge3_to_gemm.hh
+301 −0 RandBLAS/skges_to_spmm.hh
+0 −979 RandBLAS/sparse.hh
+162 −0 RandBLAS/sparse_data/base.hh
+184 −0 RandBLAS/sparse_data/conversions.hh
+383 −0 RandBLAS/sparse_data/coo_matrix.hh
+135 −0 RandBLAS/sparse_data/coo_spmm_impl.hh
+223 −0 RandBLAS/sparse_data/csc_matrix.hh
+125 −0 RandBLAS/sparse_data/csc_spmm_impl.hh
+236 −0 RandBLAS/sparse_data/csr_matrix.hh
+91 −0 RandBLAS/sparse_data/csr_spmm_impl.hh
+278 −0 RandBLAS/sparse_data/sksp.hh
+339 −0 RandBLAS/sparse_data/sksp3_to_spmm.hh
+348 −0 RandBLAS/sparse_data/spmm_dispatch.hh
+461 −0 RandBLAS/sparse_skops.hh
+0 −449 RandBLAS/test_util.hh
+33 −0 RandBLAS/util.hh
+51 −0 examples/CMakeLists.txt
+174 −0 examples/TLS_DenseSkOp.cc
+173 −0 examples/TLS_SparseSkOp.cc
+1 −0 rtd/howwebuiltthis.md
+1 −0 rtd/requirements.txt
+2 −1 rtd/source/Doxyfile
+19 −0 rtd/source/api_reference/index.rst
+21 −0 rtd/source/api_reference/other_sparse.rst
+41 −0 rtd/source/api_reference/sketch_dense.rst
+20 −0 rtd/source/api_reference/sketch_sparse.rst
+57 −0 rtd/source/api_reference/skops_and_dists.rst
+31 −0 rtd/source/api_reference/sparse_matrices.rst
+2 −0 rtd/source/assets/sparse_vs_dense_diagram_no_header.html
+5 −3 rtd/source/conf.py
+15 −9 rtd/source/index.rst
+19 −0 rtd/source/tutorial/_incomplete_sketching.rst
+89 −0 rtd/source/tutorial/distributions.rst
+105 −0 rtd/source/tutorial/gemm.rst
+59 −0 rtd/source/tutorial/index.rst
+132 −0 rtd/source/tutorial/sampling_skops.rst
+76 −0 rtd/source/tutorial/submatrices.rst
+68 −0 rtd/source/tutorial/temp.rst
+0 −43 rtd/source/user_guide/index.rst
+0 −93 rtd/source/user_guide/operators.rst
+0 −46 rtd/source/user_guide/rng_details.rst
+0 −38 rtd/source/user_guide/sketching.rst
+7 −0 rtd/themes/randblas_rtd/static/theme_overrides.css
+29 −8 test/CMakeLists.txt
+208 −0 test/comparison.hh
+689 −0 test/linop_common.hh
+0 −412 test/test_dense/test_sketch_gefr3.cc
+52 −12 test/test_dense_skops/test_construction.cc
+21 −153 test/test_dense_skops/test_lskge3.cc
+273 −0 test/test_dense_skops/test_rskge3.cc
+3 −3 test/test_rng_speed.cc
+190 −0 test/test_sketch_vector.cc
+0 −144 test/test_sparse/test_construction.cc
+0 −823 test/test_sparse/test_sketch_gefls.cc
+130 −0 test/test_sparse_data/common.hh
+89 −0 test/test_sparse_data/test_conversions.cc
+581 −0 test/test_sparse_data/test_coo.cc
+485 −0 test/test_sparse_data/test_csc.cc
+514 −0 test/test_sparse_data/test_csr.cc
+89 −0 test/test_sparse_data/test_left_multiply.hh
+81 −0 test/test_sparse_data/test_right_multiply.hh
+218 −0 test/test_sparse_skops/test_construction.cc
+561 −0 test/test_sparse_skops/test_lskges.cc
+53 −167 test/test_sparse_skops/test_rskges.cc
2 changes: 1 addition & 1 deletion benchmark/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.10)
project(benchmark)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD 23)
set(CMAKE_CXX_STANDARD_REQUIRED True)

message(STATUS "Checking for OpenMP ... ")
Expand Down
6 changes: 3 additions & 3 deletions test/comps/test_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include "rl_gen.hh"

#include <RandBLAS.hh>
#include <RandBLAS/test_util.hh>
#include <RandBLAS/test/comparison.hh>

#include <math.h>
#include <chrono>
Expand Down Expand Up @@ -187,7 +187,6 @@ TEST_F(TestUtil, test_binary_rank_search_zero_mat) {
test_binary_rank_search_zero_mat<double>(m, n, A);
}


class Test_Inplace_Square_Transpose : public ::testing::Test
{
protected:
Expand All @@ -205,7 +204,7 @@ class Test_Inplace_Square_Transpose : public ::testing::Test
double *A2 = new double[n*n];
blas::copy(n*n, A1, 1, A2, 1);
RandLAPACK::util::transpose_square(A2, n);
RandBLAS_Testing::Util::matrices_approx_equal(
test::comparison::matrices_approx_equal(
layout, blas::Op::Trans, n, n, A1, n, A2, n,
__PRETTY_FUNCTION__, __FILE__, __LINE__
);
Expand All @@ -215,6 +214,7 @@ class Test_Inplace_Square_Transpose : public ::testing::Test

};


TEST_F(Test_Inplace_Square_Transpose, random_matrix_colmajor) {
apply(blas::Layout::ColMajor);
}
Expand Down

0 comments on commit d761a28

Please sign in to comment.