1 #include "../../../include/common/monolish_dense.hpp"
2 #include "../../../include/common/monolish_logger.hpp"
3 #include "../../../include/common/monolish_matrix.hpp"
4 #include "../../internal/monolish_internal.hpp"
12 if (get_device_mem_stat() ==
true) {
15 #pragma omp target teams distribute parallel for
16 for (
size_t i = 0; i < get_nnz(); i++) {
20 throw std::runtime_error(
21 "error USE_GPU is false, but get_device_mem_stat() == true");
24 #pragma omp parallel for
25 for (
size_t i = 0; i < get_nnz(); i++) {