Skip to content

Commit 3b37dc3

Browse files
committed
GPU: Add gpu-reconstruction-prepare device, forwarding the pointers to gpu-reconstruction
1 parent a41b4a3 commit 3b37dc3

5 files changed

Lines changed: 265 additions & 212 deletions

File tree

GPU/Workflow/include/GPUWorkflow/GPUWorkflowSpec.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ class GPURecoWorkflowSpec : public o2::framework::Task
8888
struct Config {
8989
int itsTriggerType = 0;
9090
int lumiScaleMode = 0;
91+
int enableDoublePipeline = 0;
9192
bool decompressTPC = false;
9293
bool decompressTPCFromROOT = false;
9394
bool caClusterer = false;
@@ -149,8 +150,7 @@ class GPURecoWorkflowSpec : public o2::framework::Task
149150
int runITSTracking(o2::framework::ProcessingContext& pc);
150151

151152
CompletionPolicyData* mPolicyData;
152-
std::unique_ptr<o2::algorithm::ForwardParser<o2::tpc::ClusterGroupHeader>> mParser;
153-
std::unique_ptr<GPUO2Interface> mTracker;
153+
std::unique_ptr<GPUO2Interface> mGPUReco;
154154
std::unique_ptr<GPUDisplayFrontendInterface> mDisplayFrontend;
155155
std::unique_ptr<TPCFastTransform> mFastTransform;
156156
std::unique_ptr<TPCFastTransform> mFastTransformRef;

GPU/Workflow/src/GPUWorkflowITS.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ void GPURecoWorkflowSpec::initFunctionITS(InitContext& ic)
308308
std::transform(mITSMode.begin(), mITSMode.end(), mITSMode.begin(), [](unsigned char c) { return std::tolower(c); });
309309
o2::its::VertexerTraits* vtxTraits = nullptr;
310310
o2::its::TrackerTraits* trkTraits = nullptr;
311-
mTracker->GetITSTraits(trkTraits, vtxTraits, mITSTimeFrame);
311+
mGPUReco->GetITSTraits(trkTraits, vtxTraits, mITSTimeFrame);
312312
mITSVertexer = std::make_unique<o2::its::Vertexer>(vtxTraits);
313313
mITSTracker = std::make_unique<o2::its::Tracker>(trkTraits);
314314
mITSVertexer->adoptTimeFrame(*mITSTimeFrame);

0 commit comments

Comments
 (0)