TDevice.
The TDevice class provides static functions for the generation of CUDA grids for kernel launches and is used to encapsulate the distribution of threads and blocks over the data.
Definition at line 36 of file Device.h.
|
static dim3 | BlockDims1D () |
|
static dim3 | BlockDims2D () |
|
template<typename AMatrix > |
static dim3 | GridDims1D (const AMatrix &A) |
|
template<typename AMatrix > |
static dim3 | GridDims2D (const AMatrix &A) |
|
static dim3 | GridDims2D (int nrows, int ncols) |
|
template<typename AMatrix > |
static int | NThreads (const AMatrix &A) |
|
#include <TMVA/DNN/Architectures/Cuda/Device.h>
◆ BlockDims1D()
static dim3 TMVA::DNN::TDevice::BlockDims1D |
( |
| ) |
|
|
inlinestatic |
◆ BlockDims2D()
static dim3 TMVA::DNN::TDevice::BlockDims2D |
( |
| ) |
|
|
inlinestatic |
◆ GridDims1D()
template<typename AMatrix >
static dim3 TMVA::DNN::TDevice::GridDims1D |
( |
const AMatrix & |
A | ) |
|
|
inlinestatic |
◆ GridDims2D() [1/2]
template<typename AMatrix >
static dim3 TMVA::DNN::TDevice::GridDims2D |
( |
const AMatrix & |
A | ) |
|
|
inlinestatic |
◆ GridDims2D() [2/2]
static dim3 TMVA::DNN::TDevice::GridDims2D |
( |
int |
nrows, |
|
|
int |
ncols |
|
) |
| |
|
inlinestatic |
◆ NThreads()
template<typename AMatrix >
static int TMVA::DNN::TDevice::NThreads |
( |
const AMatrix & |
A | ) |
|
|
inlinestatic |
◆ BlockDimX
constexpr int TMVA::DNN::TDevice::BlockDimX = 1 |
|
staticconstexpr |
◆ BlockDimY
constexpr int TMVA::DNN::TDevice::BlockDimY = 32 |
|
staticconstexpr |
◆ BlockSize
The documentation for this class was generated from the following file:
- tmva/tmva/inc/TMVA/DNN/Architectures/Cuda/Device.h