Block-Structured AMR Software Framework
Loading...
Searching...
No Matches
AMReX_CSR.H File Reference
#include <AMReX_Config.H>
#include <AMReX_Gpu.H>
#include <AMReX_INT.H>
#include <AMReX_OpenMP.H>
#include <cub/cub.cuh>
#include <algorithm>
#include <concepts>
#include <climits>
#include <type_traits>

Go to the source code of this file.

Classes

struct  amrex::CsrView< T >
 Lightweight non-owning CSR view that can point to host or device buffers. More...
 
struct  amrex::CSR< T, V >
 Owning CSR container backed by AMReX resizable vectors. More...
 

Namespaces

namespace  amrex
 

Functions

template<typename C , typename T , template< typename > class AD, template< typename > class AS>
requires (std::same_as<C,Gpu::HostToDevice> || std::same_as<C,Gpu::DeviceToHost> || std::same_as<C,Gpu::DeviceToDevice>)
void amrex::duplicateCSR (C c, CSR< T, AD > &dst, CSR< T, AS > const &src)
 

Detailed Description

CSR containers and helper utilities shared by sparse solvers that rely on compressed-sparse-row storage.