Intrepid2
Classes | Functions
Intrepid2_Kernels.hpp File Reference

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.

Classes

struct  Intrepid2::Kernels::Serial
 

Functions

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)
 

Detailed Description

Header file for small functions used in Intrepid2.

Author
Created by Kyungjoo Kim

Definition in file Intrepid2_Kernels.hpp.

Function Documentation

◆ dot()

template<typename xViewType , typename yViewType >
static KOKKOS_FORCEINLINE_FUNCTION xViewType::value_type Intrepid2::Kernels::dot ( const xViewType  x,
const yViewType  y 
)
static

Definition at line 420 of file Intrepid2_Kernels.hpp.

◆ dot_d2()

template<typename xViewType , typename yViewType >
static KOKKOS_FORCEINLINE_FUNCTION xViewType::value_type Intrepid2::Kernels::dot_d2 ( const xViewType  x,
const yViewType  y 
)
static

Definition at line 439 of file Intrepid2_Kernels.hpp.

◆ dot_d3()

template<typename xViewType , typename yViewType >
static KOKKOS_FORCEINLINE_FUNCTION xViewType::value_type Intrepid2::Kernels::dot_d3 ( const xViewType  x,
const yViewType  y 
)
static

Definition at line 448 of file Intrepid2_Kernels.hpp.

◆ inv_scalar_mult_mat()

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 
)
static

Definition at line 505 of file Intrepid2_Kernels.hpp.

◆ inv_scale_mat()

template<typename AViewType , typename alphaScalarType >
static KOKKOS_FORCEINLINE_FUNCTION void Intrepid2::Kernels::inv_scale_mat ( AViewType &  A,
const alphaScalarType  alpha 
)
static

Definition at line 472 of file Intrepid2_Kernels.hpp.

◆ scalar_mult_mat()

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 
)
static

Definition at line 488 of file Intrepid2_Kernels.hpp.

◆ scale_mat()

template<typename AViewType , typename alphaScalarType >
static KOKKOS_FORCEINLINE_FUNCTION void Intrepid2::Kernels::scale_mat ( AViewType &  A,
const alphaScalarType  alpha 
)
static

Definition at line 457 of file Intrepid2_Kernels.hpp.