Reference documentation for deal.II version GIT b206511199 2023-01-31 13:40:02+00:00
\(\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\}}\)
Classes | Typedefs | Functions
MemorySpace Namespace Reference

Classes

struct  Host
 
struct  Default
 
struct  MemorySpaceData
 

Typedefs

using CUDA = Default
 

Functions

template<typename T , typename MemorySpace >
void swap (MemorySpaceData< T, MemorySpace > &u, MemorySpaceData< T, MemorySpace > &v)
 

Typedef Documentation

◆ CUDA

using MemorySpace::CUDA = typedef Default

Structure describing CUDA memory space.

Definition at line 55 of file memory_space.h.

Function Documentation

◆ swap()

template<typename T , typename MemorySpace >
void MemorySpace::swap ( MemorySpaceData< T, MemorySpace > &  u,
MemorySpaceData< T, MemorySpace > &  v 
)
inline

Swap function similar to std::swap.