Skip to content

Commit f39a057

Browse files
committed
GPU Interface: meanwhile we should be able to dump events in double-pipeline mode
1 parent 4456424 commit f39a057

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

GPU/GPUTracking/Interface/GPUO2Interface.cxx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,6 @@ void GPUO2Interface::Deinitialize()
135135

136136
void GPUO2Interface::DumpEvent(int nEvent, GPUTrackingInOutPointers* data)
137137
{
138-
if (mConfig->configProcessing.doublePipeline) {
139-
throw std::runtime_error("Cannot dump events in double pipeline mode");
140-
}
141138
mCtx[0].mChain->ClearIOPointers();
142139
mCtx[0].mChain->mIOPtrs = *data;
143140
char fname[1024];
@@ -156,10 +153,7 @@ void GPUO2Interface::DumpEvent(int nEvent, GPUTrackingInOutPointers* data)
156153

157154
void GPUO2Interface::DumpSettings()
158155
{
159-
if (mConfig->configProcessing.doublePipeline) {
160-
throw std::runtime_error("Cannot dump events in double pipeline mode");
161-
}
162-
mCtx[0].mChain->DoQueuedCalibUpdates(-1);
156+
mCtx[0].mChain->DoQueuedUpdates(-1);
163157
mCtx[0].mRec->DumpSettings();
164158
}
165159

0 commit comments

Comments
 (0)