guanaqo
1.0.0-alpha.27
Utilities for scientific software
Loading...
Searching...
No Matches
blas.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <guanaqo/blas/config.hpp>
4
5
#if GUANAQO_WITH_MKL
6
#include <mkl.h>
7
#else
8
#include <cblas.h>
9
#endif
10
11
#include <type_traits>
12
13
namespace
guanaqo::blas
{
14
15
#if defined(MKL_INT)
16
using
blas_index_t
= MKL_INT;
17
#elif defined(CBLAS_INT)
18
using
blas_index_t
= CBLAS_INT;
19
#else
20
using
blas_index_t
= int;
21
#endif
22
23
static_assert
(std::is_same_v<index_t, blas_index_t>,
"Unsupported index type"
);
24
static_assert
(std::is_signed_v<index_t>);
25
26
}
// namespace guanaqo::blas
guanaqo::blas
Definition
blas-interface.hpp:9
guanaqo::blas::blas_index_t
int blas_index_t
Definition
blas.hpp:20
blas
include
guanaqo
blas
blas.hpp
Generated on
for guanaqo by
1.16.1