Reference documentation for deal.II version 9.5.0
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
CUDAWrappers::SharedData< dim, Number > Struct Template Reference

#include <deal.II/matrix_free/cuda_matrix_free.h>

Inheritance diagram for CUDAWrappers::SharedData< dim, Number >:
[legend]

Public Types

using TeamHandle = Kokkos::TeamPolicy< MemorySpace::Default::kokkos_space::execution_space >::member_type
 
using SharedView1D = Kokkos::View< Number *, MemorySpace::Default::kokkos_space::execution_space::scratch_memory_space, Kokkos::MemoryTraits< Kokkos::Unmanaged > >
 
using SharedView2D = Kokkos::View< Number *[dim], MemorySpace::Default::kokkos_space::execution_space::scratch_memory_space, Kokkos::MemoryTraits< Kokkos::Unmanaged > >
 

Public Member Functions

 SharedData (const TeamHandle &team_member, const SharedView1D &values, const SharedView2D &gradients)
 

Public Attributes

TeamHandle team_member
 
SharedView1D values
 
SharedView2D gradients
 

Detailed Description

template<int dim, typename Number>
struct CUDAWrappers::SharedData< dim, Number >

Definition at line 633 of file cuda_matrix_free.h.

Member Typedef Documentation

◆ TeamHandle

template<int dim, typename Number >
using CUDAWrappers::SharedData< dim, Number >::TeamHandle = Kokkos::TeamPolicy< MemorySpace::Default::kokkos_space::execution_space>::member_type

Definition at line 635 of file cuda_matrix_free.h.

◆ SharedView1D

template<int dim, typename Number >
using CUDAWrappers::SharedData< dim, Number >::SharedView1D = Kokkos::View< Number *, MemorySpace::Default::kokkos_space::execution_space::scratch_memory_space, Kokkos::MemoryTraits<Kokkos::Unmanaged> >

Definition at line 638 of file cuda_matrix_free.h.

◆ SharedView2D

template<int dim, typename Number >
using CUDAWrappers::SharedData< dim, Number >::SharedView2D = Kokkos::View< Number *[dim], MemorySpace::Default::kokkos_space::execution_space::scratch_memory_space, Kokkos::MemoryTraits<Kokkos::Unmanaged> >

Definition at line 642 of file cuda_matrix_free.h.

Constructor & Destructor Documentation

◆ SharedData()

template<int dim, typename Number >
CUDAWrappers::SharedData< dim, Number >::SharedData ( const TeamHandle team_member,
const SharedView1D values,
const SharedView2D gradients 
)
inline

Definition at line 648 of file cuda_matrix_free.h.

Member Data Documentation

◆ team_member

template<int dim, typename Number >
TeamHandle CUDAWrappers::SharedData< dim, Number >::team_member

TeamPolicy handle.

Definition at line 659 of file cuda_matrix_free.h.

◆ values

template<int dim, typename Number >
SharedView1D CUDAWrappers::SharedData< dim, Number >::values

Memory for dof and quad values.

Definition at line 664 of file cuda_matrix_free.h.

◆ gradients

template<int dim, typename Number >
SharedView2D CUDAWrappers::SharedData< dim, Number >::gradients

Memory for computed gradients in reference coordinate system.

Definition at line 669 of file cuda_matrix_free.h.


The documentation for this struct was generated from the following file: