Header file for small functions used in Intrepid2.
More...
#include "Intrepid2_ConfigDefs.hpp"
#include "Intrepid2_Types.hpp"
#include "Intrepid2_Utils.hpp"
#include "Kokkos_Core.hpp"
Go to the source code of this file.
|
| template<typename xViewType, typename yViewType> |
| static KOKKOS_FORCEINLINE_FUNCTION xViewType::value_type | Intrepid2::Kernels::dot (const xViewType x, const yViewType y) |
| template<typename xViewType, typename yViewType> |
| static KOKKOS_FORCEINLINE_FUNCTION xViewType::value_type | Intrepid2::Kernels::dot_d2 (const xViewType x, const yViewType y) |
| template<typename xViewType, typename yViewType> |
| static KOKKOS_FORCEINLINE_FUNCTION xViewType::value_type | Intrepid2::Kernels::dot_d3 (const xViewType x, const yViewType y) |
| template<typename AViewType, typename alphaScalarType> |
| static KOKKOS_FORCEINLINE_FUNCTION void | Intrepid2::Kernels::scale_mat (AViewType &A, const alphaScalarType alpha) |
| template<typename AViewType, typename alphaScalarType> |
| static KOKKOS_FORCEINLINE_FUNCTION void | Intrepid2::Kernels::inv_scale_mat (AViewType &A, const alphaScalarType alpha) |
| template<typename AViewType, typename alphaScalarType, typename BViewType> |
| static KOKKOS_FORCEINLINE_FUNCTION void | Intrepid2::Kernels::scalar_mult_mat (AViewType &A, const alphaScalarType alpha, const BViewType &B) |
| template<typename AViewType, typename alphaScalarType, typename BViewType> |
| static KOKKOS_FORCEINLINE_FUNCTION void | Intrepid2::Kernels::inv_scalar_mult_mat (AViewType &A, const alphaScalarType alpha, const BViewType &B) |
Header file for small functions used in Intrepid2.
- Author
- Created by Kyungjoo Kim
Definition in file Intrepid2_Kernels.hpp.
◆ dot()
template<typename xViewType, typename yViewType>
| KOKKOS_FORCEINLINE_FUNCTION xViewType::value_type Intrepid2::Kernels::dot |
( |
const xViewType | x, |
|
|
const yViewType | y ) |
|
static |
◆ dot_d2()
template<typename xViewType, typename yViewType>
| KOKKOS_FORCEINLINE_FUNCTION xViewType::value_type Intrepid2::Kernels::dot_d2 |
( |
const xViewType | x, |
|
|
const yViewType | y ) |
|
static |
◆ dot_d3()
template<typename xViewType, typename yViewType>
| KOKKOS_FORCEINLINE_FUNCTION xViewType::value_type Intrepid2::Kernels::dot_d3 |
( |
const xViewType | x, |
|
|
const yViewType | y ) |
|
static |
◆ inv_scalar_mult_mat()
template<typename AViewType, typename alphaScalarType, typename BViewType>
| KOKKOS_FORCEINLINE_FUNCTION void Intrepid2::Kernels::inv_scalar_mult_mat |
( |
AViewType & | A, |
|
|
const alphaScalarType | alpha, |
|
|
const BViewType & | B ) |
|
static |
◆ inv_scale_mat()
template<typename AViewType, typename alphaScalarType>
| KOKKOS_FORCEINLINE_FUNCTION void Intrepid2::Kernels::inv_scale_mat |
( |
AViewType & | A, |
|
|
const alphaScalarType | alpha ) |
|
static |
◆ scalar_mult_mat()
template<typename AViewType, typename alphaScalarType, typename BViewType>
| KOKKOS_FORCEINLINE_FUNCTION void Intrepid2::Kernels::scalar_mult_mat |
( |
AViewType & | A, |
|
|
const alphaScalarType | alpha, |
|
|
const BViewType & | B ) |
|
static |
◆ scale_mat()
template<typename AViewType, typename alphaScalarType>
| KOKKOS_FORCEINLINE_FUNCTION void Intrepid2::Kernels::scale_mat |
( |
AViewType & | A, |
|
|
const alphaScalarType | alpha ) |
|
static |