7#ifndef KERNEL_LAFEM_ARCH_MIN_ABS_INDEX_HPP
8#define KERNEL_LAFEM_ARCH_MIN_ABS_INDEX_HPP 1
12#include <kernel/backend.hpp>
23 template <
typename DT_>
26 return value_generic(x, size);
29 template <
typename ValueType_>
30 static ValueType_ value_blocked(
const ValueType_ *
const x,
const Index size)
32 return value_blocked_generic(x, size);
37 BACKEND_SKELETON_RETURN(value_cuda, value_mkl, value_generic, x, size)
42 BACKEND_SKELETON_RETURN(value_cuda, value_mkl, value_generic, x, size)
45 template <
typename DT_>
46 static Index value_generic(
const DT_ *
const x,
const Index size);
48 template <
typename ValueType_>
49 static ValueType_ value_blocked_generic(
const ValueType_ *
const x,
const Index size);
51 static Index value_mkl(
const float *
const x,
const Index size);
52 static Index value_mkl(
const double *
const x,
const Index size);
54 template <
typename DT_>
55 static Index value_cuda(
const DT_ *
const x,
const Index size);
59 extern template Index MinAbsIndex::value_generic(
const float *
const,
const Index);
60 extern template Index MinAbsIndex::value_generic(
const double *
const,
const Index);
68#include <kernel/lafem/arch/min_abs_index_generic.hpp>
@ value
specifies whether the space should supply basis function values
std::uint64_t Index
Index data type.