![]() |
deal.II version GIT relicensing-7182-g951947b1c4 2026-11-26 10:30:01+00:00
|
#include <deal.II/matrix_free/portable_evaluation_kernels.h>
Same as Portable::MatrixFree::SharedData, but additionally contains Kokkos Views for shape data.
Definition at line 654 of file portable_evaluation_kernels.h.
Public Types | |
| using | TeamHandle = Kokkos::TeamPolicy< MemorySpace::Default::kokkos_space::execution_space >::member_type |
| using | SharedViewValues = Kokkos::View< Number **, MemorySpace::Default::kokkos_space::execution_space::scratch_memory_space, Kokkos::MemoryTraits< Kokkos::Unmanaged > > |
| using | SharedViewGradients = Kokkos::View< Number ***, MemorySpace::Default::kokkos_space::execution_space::scratch_memory_space, Kokkos::MemoryTraits< Kokkos::Unmanaged > > |
| using | SharedViewScratchPad = Kokkos::View< Number *, MemorySpace::Default::kokkos_space::execution_space::scratch_memory_space, Kokkos::MemoryTraits< Kokkos::Unmanaged > > |
| using | SharedViewShapeData = Kokkos::View< Number *, MemorySpace::Default::kokkos_space::execution_space::scratch_memory_space, Kokkos::MemoryTraits< Kokkos::Unmanaged > > |
Public Member Functions | |
| void | reinit (const TeamHandle &team_handle, const unsigned int n_q_points_per_cell, const int batch_size, const typename MatrixFree< dim, Number >::PrecomputedData &gpu_data) |
Static Public Member Functions | |
| static std::size_t | shmem_size (const unsigned int n_q_points_per_cell, const int batch_size, const typename MatrixFree< dim, Number >::PrecomputedData &gpu_data) |
| using Portable::internal::batched::SharedData< dim, Number >::TeamHandle = Kokkos::TeamPolicy< MemorySpace::Default::kokkos_space::execution_space>::member_type |
Definition at line 656 of file portable_evaluation_kernels.h.
| using Portable::internal::batched::SharedData< dim, Number >::SharedViewValues = Kokkos::View<Number **, MemorySpace::Default::kokkos_space::execution_space:: scratch_memory_space, Kokkos::MemoryTraits<Kokkos::Unmanaged> > |
Definition at line 659 of file portable_evaluation_kernels.h.
| using Portable::internal::batched::SharedData< dim, Number >::SharedViewGradients = Kokkos::View<Number ***, MemorySpace::Default::kokkos_space::execution_space:: scratch_memory_space, Kokkos::MemoryTraits<Kokkos::Unmanaged> > |
Definition at line 664 of file portable_evaluation_kernels.h.
| using Portable::internal::batched::SharedData< dim, Number >::SharedViewScratchPad = Kokkos::View<Number *, MemorySpace::Default::kokkos_space::execution_space:: scratch_memory_space, Kokkos::MemoryTraits<Kokkos::Unmanaged> > |
Definition at line 669 of file portable_evaluation_kernels.h.
| using Portable::internal::batched::SharedData< dim, Number >::SharedViewShapeData = Kokkos::View<Number *, MemorySpace::Default::kokkos_space::execution_space:: scratch_memory_space, Kokkos::MemoryTraits<Kokkos::Unmanaged> > |
Definition at line 674 of file portable_evaluation_kernels.h.
|
inline |
Allocate Kokkos Views for a batch of batch_size cells and copy the shape data from the precomputed data to shared memory. The values, gradients and scratch pad of the cells are stored cell after cell.
Definition at line 688 of file portable_evaluation_kernels.h.
|
inlinestatic |
Number of bytes of team scratch memory that reinit() allocates for the same arguments.
Definition at line 759 of file portable_evaluation_kernels.h.
| SharedViewValues Portable::internal::batched::SharedData< dim, Number >::values |
Memory for dof and quad values.
Definition at line 794 of file portable_evaluation_kernels.h.
| SharedViewGradients Portable::internal::batched::SharedData< dim, Number >::gradients |
Memory for computed gradients in reference coordinate system.
Definition at line 799 of file portable_evaluation_kernels.h.
| SharedViewScratchPad Portable::internal::batched::SharedData< dim, Number >::scratch_pad |
Memory for temporary arrays required by evaluation and integration.
Definition at line 804 of file portable_evaluation_kernels.h.
| SharedViewShapeData Portable::internal::batched::SharedData< dim, Number >::shape_values |
Memory for shape values.
Definition at line 809 of file portable_evaluation_kernels.h.
| SharedViewShapeData Portable::internal::batched::SharedData< dim, Number >::shape_gradients |
Memory for shape gradients.
Definition at line 813 of file portable_evaluation_kernels.h.
| SharedViewShapeData Portable::internal::batched::SharedData< dim, Number >::co_shape_gradients |
Memory for shape gradients in the collocation space.
Definition at line 817 of file portable_evaluation_kernels.h.