monolish
0.14.0
MONOlithic LIner equation Solvers for Highly-parallel architecture
|
Go to the documentation of this file. 1 #include "../../../include/common/monolish_common.hpp"
2 #include "../../../include/common/monolish_dense.hpp"
3 #include "../../../include/common/monolish_logger.hpp"
4 #include "../../../include/common/monolish_matrix.hpp"
5 #include "../../internal/monolish_internal.hpp"
20 internal::vcopy(get_nnz(), val.data(), mat.
val.data(), get_device_mem_stat());
27 const std::vector<int> &r,
const std::vector<int> &c,
28 const std::vector<T> &v) {
41 const std::vector<int> &r,
42 const std::vector<int> &c,
43 const std::vector<double> &v);
45 const std::vector<int> &r,
46 const std::vector<int> &c,
47 const std::vector<float> &v);
bool is_same_size(const T &x, const U &y)
compare size of vector or 1Dview (same as is_same_structure())
void set_ptr(const size_t rN, const size_t cN, const std::vector< int > &r, const std::vector< int > &c, const std::vector< Float > &v)
Set COO array from std::vector.
bool is_same_structure(const T A, const U B)
compare matrix structure
logger class (singleton, for developper class)
void operator=(const COO< Float > &mat)
matrix copy
bool is_same_device_mem_stat(const T &arg1, const U &arg2)
compare same device memory status
std::vector< Float > val
Coodinate format value array, which stores values of the non-zero elements (size nnz)
void util_in(const std::string func_name)
Coodinate (COO) format Matrix (need to sort)
static Logger & get_instance()