ATLAS Offline Software
Loading...
Searching...
No Matches
AthCUDA/AthCUDAInterfaces/AthCUDAInterfaces/IStreamProvider.h
Go to the documentation of this file.
1// Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
2#ifndef ATHCUDAINTERFACES_ISTREAMPROVIDER_H
3#define ATHCUDAINTERFACES_ISTREAMPROVIDER_H
4
5// Gaudi include(s).
6#include "GaudiKernel/EventContext.h"
7
8namespace AthCUDA {
9
12
13 public:
15 virtual ~IStreamProvider() = default;
16
22 virtual void* stream(const EventContext& ctx) const = 0;
23
24}; // class IStreamProvider
25
26} // namespace AthCUDA
27
28#endif // ATHCUDAINTERFACES_ISTREAMPROVIDER_H
Interface for components providing CUDA streams to (reentrant) algorithms.
virtual void * stream(const EventContext &ctx) const =0
Get the CUDA stream to use.
virtual ~IStreamProvider()=default
Destructor.
Definition Info.h:14