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
CUDAWrappers Namespace Reference

Namespaces

namespace  internal
 

Classes

class  PreconditionIC
 
class  PreconditionILU
 
class  SolverDirect
 
class  SparseMatrix
 

Variables

constexpr int block_size = 512
 
constexpr int chunk_size = 1
 
constexpr int warp_size = 32
 

Detailed Description

Namespace for the CUDA wrappers

Variable Documentation

◆ block_size

int CUDAWrappers::block_size = 512
constexpr

Define the size of a block when launching a CUDA kernel. This number can be changed depending on the architecture the code is running on.

Definition at line 28 of file cuda_size.h.

◆ chunk_size

int CUDAWrappers::chunk_size = 1
constexpr

Define the size of chunk of data worked on by a thread. This number can be changed depending on the architecture the code is running on.

Definition at line 34 of file cuda_size.h.

◆ warp_size

int CUDAWrappers::warp_size = 32
constexpr

Define the number of threads in a warp.

Definition at line 39 of file cuda_size.h.