ATLAS Offline Software
Loading...
Searching...
No Matches
AthCUDA::IStreamProvider Class Referenceabstract

Interface for components providing CUDA streams to (reentrant) algorithms. More...

#include <IStreamProvider.h>

Inheritance diagram for AthCUDA::IStreamProvider:
Collaboration diagram for AthCUDA::IStreamProvider:

Public Member Functions

virtual ~IStreamProvider ()=default
 Destructor.
virtual cudaStream_t stream (const EventContext &ctx) const =0
 Get the CUDA stream to use.

Detailed Description

Interface for components providing CUDA streams to (reentrant) algorithms.

Definition at line 14 of file IStreamProvider.h.

Constructor & Destructor Documentation

◆ ~IStreamProvider()

virtual AthCUDA::IStreamProvider::~IStreamProvider ( )
virtualdefault

Destructor.

Member Function Documentation

◆ stream()

virtual cudaStream_t AthCUDA::IStreamProvider::stream ( const EventContext & ctx) const
pure virtual

Get the CUDA stream to use.

Parameters
ctxThe event context for which the stream is requested
Returns
The CUDA stream to use for the specified event context

The documentation for this class was generated from the following file: