Skip to content

Commit

Permalink
Extend configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
mconcas committed Apr 21, 2024
1 parent 5c460c9 commit d014339
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ namespace its
enum class TrackingMode {
Sync,
Async,
Cosmics
Cosmics,
Unset, // Special value to leave a default in case we want to override via Configurable Params
};

std::string asString(TrackingMode mode);
Expand Down Expand Up @@ -146,6 +147,7 @@ struct TimeFrameGPUParameters {
size_t maxVerticesCapacity = 5e4;
size_t nMaxROFs = 1e3;
size_t nTimeFrameChunks = 3;
size_t nROFsPerChunk = 768; // pp defaults
int maxGPUMemoryGB = -1;
};

Expand Down
2 changes: 2 additions & 0 deletions Detectors/ITSMFT/ITS/tracking/src/Configuration.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ std::string asString(TrackingMode mode)
return "async";
case TrackingMode::Cosmics:
return "cosmics";
case TrackingMode::Unset:
return "unset";
}
return "unknown";
}
Expand Down

0 comments on commit d014339

Please sign in to comment.