Project
Loading...
Searching...
No Matches
o2::its::ITSGpuTrackingParamConfig Struct Reference

#include <TrackingConfigParam.h>

Inherits o2::conf::ConfigurableParamHelper< ITSGpuTrackingParamConfig >.

Public Member Functions

void maybeOverride () const
 
 O2ParamDef (ITSGpuTrackingParamConfig, "ITSGpuTrackingParam")
 
- Public Member Functions inherited from o2::conf::ConfigurableParamHelper< ITSGpuTrackingParamConfig >
std::string getName () const final
 
EParamProvenance getMemberProvenance (const std::string &key) const final
 
void printKeyValues (bool showProv=true, bool useLogger=false, bool withPadding=true, bool showHash=true) const final
 
size_t getHash () const final
 
void output (std::ostream &out) const final
 
std::vector< ParamDataMember > * getDataMembers () const
 
void putKeyValues (boost::property_tree::ptree *tree) final
 
void initFrom (TFile *file) final
 
void syncCCDBandRegistry (void *externalobj) final
 
void serializeTo (TFile *file) const final
 
 ConfigurableParam ()
 

Public Attributes

int nBlocks = OverrideValue
 
int nThreads = OverrideValue
 
int nBlocksLayerTracklets [MaxIter] = {30, 30, 30, 30}
 Individual kernel launch parameter for each iteration.
 
int nThreadsLayerTracklets [MaxIter] = {256, 256, 256, 256}
 
int nBlocksLayerCells [MaxIter] = {30, 30, 30, 30}
 
int nThreadsLayerCells [MaxIter] = {256, 256, 256, 256}
 
int nBlocksFindNeighbours [MaxIter] = {30, 30, 30, 30}
 
int nThreadsFindNeighbours [MaxIter] = {256, 256, 256, 256}
 
int nBlocksProcessNeighbours [MaxIter] = {30, 30, 30, 30}
 
int nThreadsProcessNeighbours [MaxIter] = {256, 256, 256, 256}
 
int nBlocksTracksSeeds [MaxIter] = {30, 30, 30, 30}
 
int nThreadsTracksSeeds [MaxIter] = {256, 256, 256, 256}
 

Static Public Attributes

static constexpr int MaxIter = TrackerParamConfig::MaxIter
 
static constexpr int OverrideValue {-1}
 
static constexpr char const * BlocksName = "nBlocks"
 
static constexpr char const * ThreadsName = "nThreads"
 

Additional Inherited Members

- Public Types inherited from o2::conf::ConfigurableParam
enum  EParamProvenance { kCODE , kCCDB , kRT }
 
enum class  EParamUpdateStatus { Changed , Unchanged , Failed }
 
- Static Public Member Functions inherited from o2::conf::ConfigurableParamHelper< ITSGpuTrackingParamConfig >
static const ITSGpuTrackingParamConfig & Instance ()
 
- Static Public Member Functions inherited from o2::conf::ConfigurableParam
static std::string toString (EParamProvenance p)
 
static EParamProvenance getProvenance (const std::string &key)
 
static void printAllRegisteredParamNames ()
 
static void printAllKeyValuePairs (bool useLogger=false)
 
static const std::string & getOutputDir ()
 
static void setOutputDir (const std::string &d)
 
static bool configFileExists (std::string const &filepath)
 
static void writeJSON (std::string const &filename, std::string const &keyOnly="")
 
static void writeINI (std::string const &filename, std::string const &keyOnly="")
 
template<typename T >
static T getValueAs (std::string key)
 
template<typename T >
static void setValue (std::string const &mainkey, std::string const &subkey, T x)
 
static void setProvenance (std::string const &mainkey, std::string const &subkey, EParamProvenance p)
 
static void setValue (std::string const &key, std::string const &valuestring)
 
static void setEnumValue (const std::string &, const std::string &)
 
static void setArrayValue (const std::string &, const std::string &)
 
static void setValues (std::vector< std::pair< std::string, std::string > > const &keyValues)
 
static void initialize ()
 
static void toCCDB (std::string filename)
 
static void fromCCDB (std::string filename)
 
static void updateFromString (std::string const &)
 
static void updateFromFile (std::string const &, std::string const &paramsList="", bool unchangedOnly=false)
 
- Protected Member Functions inherited from o2::conf::ConfigurableParam
 ConfigurableParam ()
 
virtual ~ConfigurableParam ()=default
 
void setRegisterMode (bool b)
 
bool isInitialized () const
 
- Static Protected Member Functions inherited from o2::conf::ConfigurableParam
static void initPropertyTree ()
 
static EParamUpdateStatus updateThroughStorageMap (std::string, std::string, std::type_info const &, void *)
 
static EParamUpdateStatus updateThroughStorageMapWithConversion (std::string const &, std::string const &)
 
- Static Protected Attributes inherited from o2::conf::ConfigurableParam
static std::map< std::string, std::pair< std::type_info const &, void * > > * sKeyToStorageMap = nullptr
 
static std::map< std::string, ConfigurableParam::EParamProvenance > * sValueProvenanceMap = nullptr
 
static EnumRegistrysEnumRegistry = nullptr
 
static std::string sOutputDir = ""
 

Detailed Description

Definition at line 111 of file TrackingConfigParam.h.

Member Function Documentation

◆ maybeOverride()

void o2::its::ITSGpuTrackingParamConfig::maybeOverride ( ) const

Definition at line 24 of file TrackingConfigParam.cxx.

◆ O2ParamDef()

o2::its::ITSGpuTrackingParamConfig::O2ParamDef ( ITSGpuTrackingParamConfig  ,
"ITSGpuTrackingParam"   
)

Member Data Documentation

◆ BlocksName

constexpr char const* o2::its::ITSGpuTrackingParamConfig::BlocksName = "nBlocks"
staticconstexpr

Definition at line 117 of file TrackingConfigParam.h.

◆ MaxIter

constexpr int o2::its::ITSGpuTrackingParamConfig::MaxIter = TrackerParamConfig::MaxIter
staticconstexpr

Definition at line 112 of file TrackingConfigParam.h.

◆ nBlocks

int o2::its::ITSGpuTrackingParamConfig::nBlocks = OverrideValue

Definition at line 119 of file TrackingConfigParam.h.

◆ nBlocksFindNeighbours

int o2::its::ITSGpuTrackingParamConfig::nBlocksFindNeighbours[MaxIter] = {30, 30, 30, 30}

Definition at line 130 of file TrackingConfigParam.h.

◆ nBlocksLayerCells

int o2::its::ITSGpuTrackingParamConfig::nBlocksLayerCells[MaxIter] = {30, 30, 30, 30}

Definition at line 127 of file TrackingConfigParam.h.

◆ nBlocksLayerTracklets

int o2::its::ITSGpuTrackingParamConfig::nBlocksLayerTracklets[MaxIter] = {30, 30, 30, 30}

Individual kernel launch parameter for each iteration.

Definition at line 124 of file TrackingConfigParam.h.

◆ nBlocksProcessNeighbours

int o2::its::ITSGpuTrackingParamConfig::nBlocksProcessNeighbours[MaxIter] = {30, 30, 30, 30}

Definition at line 133 of file TrackingConfigParam.h.

◆ nBlocksTracksSeeds

int o2::its::ITSGpuTrackingParamConfig::nBlocksTracksSeeds[MaxIter] = {30, 30, 30, 30}

Definition at line 136 of file TrackingConfigParam.h.

◆ nThreads

int o2::its::ITSGpuTrackingParamConfig::nThreads = OverrideValue

Definition at line 120 of file TrackingConfigParam.h.

◆ nThreadsFindNeighbours

int o2::its::ITSGpuTrackingParamConfig::nThreadsFindNeighbours[MaxIter] = {256, 256, 256, 256}

Definition at line 131 of file TrackingConfigParam.h.

◆ nThreadsLayerCells

int o2::its::ITSGpuTrackingParamConfig::nThreadsLayerCells[MaxIter] = {256, 256, 256, 256}

Definition at line 128 of file TrackingConfigParam.h.

◆ nThreadsLayerTracklets

int o2::its::ITSGpuTrackingParamConfig::nThreadsLayerTracklets[MaxIter] = {256, 256, 256, 256}

Definition at line 125 of file TrackingConfigParam.h.

◆ nThreadsProcessNeighbours

int o2::its::ITSGpuTrackingParamConfig::nThreadsProcessNeighbours[MaxIter] = {256, 256, 256, 256}

Definition at line 134 of file TrackingConfigParam.h.

◆ nThreadsTracksSeeds

int o2::its::ITSGpuTrackingParamConfig::nThreadsTracksSeeds[MaxIter] = {256, 256, 256, 256}

Definition at line 137 of file TrackingConfigParam.h.

◆ OverrideValue

constexpr int o2::its::ITSGpuTrackingParamConfig::OverrideValue {-1}
staticconstexpr

Set nBlocks/nThreads to summarily override all kernel launch parameters in each iteration. Parameters must start with nBlocks/nThreads.

Definition at line 116 of file TrackingConfigParam.h.

◆ ThreadsName

constexpr char const* o2::its::ITSGpuTrackingParamConfig::ThreadsName = "nThreads"
staticconstexpr

Definition at line 118 of file TrackingConfigParam.h.


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