Skylark (Sketching Library)
0.1
|
#include <iostream>
#include <functional>
#include <cstring>
#include <vector>
#include <utility>
#include <ext/hash_map>
#include <elemental.hpp>
#include <CombBLAS.h>
#include <boost/mpi.hpp>
#include <skylark.hpp>
#include "utilities.hpp"
#include "parser.hpp"
Go to the source code of this file.
typedef std::vector<double> DblContainer |
typedef elem::DistMatrix<double> DenseDistMatrixType |
typedef elem::Matrix<double> DenseMatrixType |
typedef std::vector<int> IntContainer |
typedef SpParMat<int, double, SparseMatrixType> SparseDistMatrixType |
typedef SpDCCols<int, double> SparseMatrixType |
typedef FullyDistMultiVec<int, double> SparseMultiVectorType |
typedef FullyDistVec<int, double> SparseVectorType |
int main | ( | int | argc, |
char ** | argv | ||
) |
Only left sketch is supported for now
Only randomization is supported for now
TODO: Read the entries!
Run the test for elemental matrices
Depending on which sketch is requested, do the sketching
Set up the iterative solver parameters
Solve the exact problem
Solve the sketched problem---change to using the sketched regressor
Check the quality of the solution
Finalize Elemental
Run the test for CombBLAS matrices
Depending on which sketch is requested, do the sketching
Set up the iterative solver parameters
Solve the exact problem
Solve the sketched problem
Check the quality of the solution
Definition at line 58 of file lsqr.cpp.
References skylark::sketch::FJLT_t< InputMatrixType, OutputMatrixType >::apply(), skylark::sketch::CWT_t< InputMatrixType, OutputMatrixType >::apply(), skylark::sketch::JLT_t< InputMatrixType, OutputMatrixType >::apply(), chr_params, skylark::sketch::c::FJLT, int_params, and skylark::sketch::c::JLT.
char* chr_params[NUM_CHR_PARAMETERS] |
int int_params[NUM_INT_PARAMETERS] |