PSCF v1.5.0

Backend identifier class for the GPU-enabled CUDA backend. More...

#include <CUT.h>

Static Public Member Functions

static void init ()
 Initialize backend thread array.
static void setThreadCount (int nThread)
 Set the number of threads per block.

Static Public Attributes

static const BackendId id = BackendId::Cpp
 Identifier for computational backend.

Detailed Description

Backend identifier class for the GPU-enabled CUDA backend.

Definition at line 31 of file CUT.h.

Member Function Documentation

◆ init()

void Pscf::CUT::init ( )
static

Initialize backend thread array.

Definition at line 20 of file CUT.cu.

References Pscf::ThreadArray::init().

◆ setThreadCount()

void Pscf::CUT::setThreadCount ( int nThread)
static

Set the number of threads per block.

Parameters
nThreadnumber of threads

Definition at line 26 of file CUT.cu.

References Pscf::ThreadArray::setThreadsPerBlock(), and Pscf::ThreadMesh::setThreadsPerBlock().

Member Data Documentation

◆ id

const BackendId Pscf::CUT::id = BackendId::Cpp
static

Identifier for computational backend.

Definition at line 45 of file CUT.h.


The documentation for this class was generated from the following files: