ATLAS Offline Software
Loading...
Searching...
No Matches
AthHIP/AthHIPInterfaces/AthHIPInterfaces/IStreamProvider.h
Go to the documentation of this file.
1// Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
2#ifndef ATHHIPINTERFACES_ISTREAMPROVIDER_H
3#define ATHHIPINTERFACES_ISTREAMPROVIDER_H
4
5// Gaudi include(s).
6#include "GaudiKernel/EventContext.h"
7
8// HIP include(s).
9#include <hip/hip_runtime_api.h>
10
11namespace AthHIP {
12
15
16 public:
18 virtual ~IStreamProvider() = default;
19
25 virtual hipStream_t stream(const EventContext& ctx) const = 0;
26
27}; // class IStreamProvider
28
29} // namespace AthHIP
30
31#endif // ATHHIPINTERFACES_ISTREAMPROVIDER_H
Interface for components providing HIP streams to (reentrant) algorithms.
virtual ~IStreamProvider()=default
Destructor.
virtual hipStream_t stream(const EventContext &ctx) const =0
Get the HIP stream to use.