Reference documentation for deal.II version 9.2.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\}}\)
Namespaces | Classes | Functions | Variables
CUDAWrappers Namespace Reference

Namespaces

 internal
 

Classes

class  FEEvaluation
 
class  MatrixFree
 
class  PreconditionIC
 
class  PreconditionILU
 
struct  SharedData
 
class  SolverDirect
 
class  SparseMatrix
 

Functions

constexpr __host__ unsigned int cells_per_block_shmem (int dim, int fe_degree)
 

Variables

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

Detailed Description

Namespace for the CUDA wrappers

Function Documentation

◆ cells_per_block_shmem()

constexpr __host__ unsigned int CUDAWrappers::cells_per_block_shmem ( int  dim,
int  fe_degree 
)
constexpr

Definition at line 623 of file cuda_matrix_free.h.

Variable Documentation

◆ block_size

constexpr 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 29 of file cuda_size.h.

◆ chunk_size

constexpr 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 35 of file cuda_size.h.

◆ warp_size

constexpr int CUDAWrappers::warp_size = 32
constexpr

Define the number of threads in a warp.

Definition at line 40 of file cuda_size.h.