@@ -143,6 +143,7 @@ class GPUReconstruction
143143 virtual void * getGPUPointer (void * ptr) { return ptr; }
144144 virtual void startGPUProfiling () {}
145145 virtual void endGPUProfiling () {}
146+ int32_t GPUFailedMsgA (const int64_t error, const char * file, int32_t line, bool failOnError);
146147 int32_t CheckErrorCodes (bool cpuOnly = false , bool forceShowErrors = false , std::vector<std::array<uint32_t , 4 >>* fillErrors = nullptr );
147148 void RunPipelineWorker ();
148149 void TerminatePipelineWorker ();
@@ -246,6 +247,7 @@ class GPUReconstruction
246247 void UpdateMaxMemoryUsed ();
247248 int32_t EnqueuePipeline (bool terminate = false );
248249 GPUChain* GetNextChainInQueue ();
250+ virtual int32_t GPUFailedMsgInternal (const int64_t error, const char * file, int32_t line) const { return 0 ; }
249251
250252 virtual int32_t registerMemoryForGPU_internal (const void * ptr, size_t size) = 0;
251253 virtual int32_t unregisterMemoryForGPU_internal (const void * ptr) = 0;
@@ -327,6 +329,7 @@ class GPUReconstruction
327329
328330 // Others
329331 bool mInitialized = false ;
332+ bool mInErrorHandling = false ;
330333 uint32_t mStatNEvents = 0 ;
331334 uint32_t mNEventsProcessed = 0 ;
332335 double mStatKernelTime = 0 .;
0 commit comments