nk 1.0.0
C++ Numerical Computing Runtime
Loading...
Searching...
No Matches
blas.hpp
1// ops/include/nk/ops/blas.hpp
2//
3// Umbrella header for BLAS-like operations.
4
5#pragma once
6
7#include <nk/ops/blas1.hpp>
8#include <nk/ops/blas2.hpp>
9#include <nk/ops/blas3.hpp>
10#include <atomic>
11#include <cstdint>
12
13namespace nk::ops {
14
16bool lu_panel(double *A, std::size_t lda, std::int32_t *piv, std::size_t m, std::size_t n, std::size_t offset_row);
17
19bool lu_panel(std::complex<double> *A, std::size_t lda, std::int32_t *piv, std::size_t m, std::size_t n, std::size_t offset_row);
20
22inline std::atomic<std::size_t> g_last_gemm_threads_used{0};
23inline std::size_t get_last_gemm_threads_used() {
24 return g_last_gemm_threads_used.load();
25}
26
27} // namespace nk::ops