Reference documentation for deal.II version GIT relicensing-1054-gedd46abbd6 2024-07-12 01:20:01+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\}}\)
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
cuda_vector.h File Reference
#include <deal.II/base/config.h>
#include <deal.II/base/communication_pattern_base.h>
#include <deal.II/base/exceptions.h>
#include <deal.II/base/index_set.h>
#include <deal.II/lac/vector_operation.h>

Go to the source code of this file.

Classes

class  LinearAlgebra::CUDAWrappers::Vector< Number >
 

Namespaces

namespace  LinearAlgebra
 
namespace  LinearAlgebra::CUDAWrappers
 

Functions

template<typename Number >
void swap (LinearAlgebra::CUDAWrappers::Vector< Number > &u, LinearAlgebra::CUDAWrappers::Vector< Number > &v)
 

Function Documentation

◆ swap()

template<typename Number >
void swap ( LinearAlgebra::CUDAWrappers::Vector< Number > &  u,
LinearAlgebra::CUDAWrappers::Vector< Number > &  v 
)
inline

Global function swap which overloads the default implementation of the C++ standard library which uses a temporary object. The function simply exchanges the data of the two vectors.

Definition at line 367 of file cuda_vector.h.