ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
AthHIP
AthHIPInterfaces
AthHIPInterfaces
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
11
namespace
AthHIP
{
12
14
class
IStreamProvider
{
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
AthHIP::IStreamProvider
Interface for components providing HIP streams to (reentrant) algorithms.
Definition
AthHIP/AthHIPInterfaces/AthHIPInterfaces/IStreamProvider.h:14
AthHIP::IStreamProvider::~IStreamProvider
virtual ~IStreamProvider()=default
Destructor.
AthHIP::IStreamProvider::stream
virtual hipStream_t stream(const EventContext &ctx) const =0
Get the HIP stream to use.
AthHIP
Definition
AthHIP/AthHIPComps/src/AsyncCopyTool.cxx:11
Generated on
for ATLAS Offline Software by
1.17.0