Project
Loading...
Searching...
No Matches
o2::gpu::GPUDataTypes Class Reference

#include <GPUDataTypes.h>

Public Types

typedef bitfield< RecoStep, uint32_t > RecoStepField
 
typedef bitfield< InOutType, uint32_t > InOutTypeField
 

Static Public Member Functions

static DeviceType GetDeviceType (const char *type)
 

Static Public Attributes

static constexpr const char *const DEVICE_TYPE_NAMES [] = {"INVALID", "CPU", "CUDA", "HIP", "OCL"}
 
static constexpr const char *const RECO_STEP_NAMES [] = {"TPC Transformation", "TPC Sector Tracking", "TPC Track Merging and Fit", "TPC Compression", "TRD Tracking", "ITS Tracking", "TPC dEdx Computation", "TPC Cluster Finding", "TPC Decompression", "Global Refit"}
 
static constexpr const char *const GENERAL_STEP_NAMES [] = {"Prepare", "QA"}
 
static constexpr int32_t N_RECO_STEPS = sizeof(GPUDataTypes::RECO_STEP_NAMES) / sizeof(GPUDataTypes::RECO_STEP_NAMES[0])
 
static constexpr int32_t N_GENERAL_STEPS = sizeof(GPUDataTypes::GENERAL_STEP_NAMES) / sizeof(GPUDataTypes::GENERAL_STEP_NAMES[0])
 
static constexpr uint32_t NSECTORS = 36
 

Detailed Description

Definition at line 117 of file GPUDataTypes.h.

Member Typedef Documentation

◆ InOutTypeField

typedef bitfield<InOutType, uint32_t> o2::gpu::GPUDataTypes::InOutTypeField

Definition at line 158 of file GPUDataTypes.h.

◆ RecoStepField

typedef bitfield<RecoStep, uint32_t> o2::gpu::GPUDataTypes::RecoStepField

Definition at line 157 of file GPUDataTypes.h.

Member Function Documentation

◆ GetDeviceType()

GPUDataTypes::DeviceType GPUDataTypes::GetDeviceType ( const char type)
static

Definition at line 24 of file GPUDataTypes.cxx.

Member Data Documentation

◆ DEVICE_TYPE_NAMES

constexpr const char *const GPUDataTypes::DEVICE_TYPE_NAMES = {"INVALID", "CPU", "CUDA", "HIP", "OCL"}
staticconstexpr

Definition at line 151 of file GPUDataTypes.h.

◆ GENERAL_STEP_NAMES

constexpr const char *const GPUDataTypes::GENERAL_STEP_NAMES = {"Prepare", "QA"}
staticconstexpr

Definition at line 153 of file GPUDataTypes.h.

◆ N_GENERAL_STEPS

constexpr int32_t o2::gpu::GPUDataTypes::N_GENERAL_STEPS = sizeof(GPUDataTypes::GENERAL_STEP_NAMES) / sizeof(GPUDataTypes::GENERAL_STEP_NAMES[0])
staticconstexpr

Definition at line 155 of file GPUDataTypes.h.

◆ N_RECO_STEPS

constexpr int32_t o2::gpu::GPUDataTypes::N_RECO_STEPS = sizeof(GPUDataTypes::RECO_STEP_NAMES) / sizeof(GPUDataTypes::RECO_STEP_NAMES[0])
staticconstexpr

Definition at line 154 of file GPUDataTypes.h.

◆ NSECTORS

constexpr uint32_t o2::gpu::GPUDataTypes::NSECTORS = 36
staticconstexpr

Definition at line 159 of file GPUDataTypes.h.

◆ RECO_STEP_NAMES

constexpr const char *const GPUDataTypes::RECO_STEP_NAMES = {"TPC Transformation", "TPC Sector Tracking", "TPC Track Merging and Fit", "TPC Compression", "TRD Tracking", "ITS Tracking", "TPC dEdx Computation", "TPC Cluster Finding", "TPC Decompression", "Global Refit"}
staticconstexpr

Definition at line 152 of file GPUDataTypes.h.


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