Reference documentation for deal.II version 9.6.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
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) noexcept
 

Typedef Documentation

◆ CUDA

Structure describing CUDA memory space.

Definition at line 52 of file memory_space.h.

Function Documentation

◆ swap()

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

Swap function similar to std::swap.