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
Classes | Typedefs | Functions
MemorySpace Namespace Reference

Classes

struct  Default
 
struct  Host
 
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 53 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.