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

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

#include <IStreamTool.h>

Inheritance diagram for AthCUDA::IStreamTool:
Collaboration diagram for AthCUDA::IStreamTool:

Public Member Functions

 DeclareInterfaceID (AthCUDA::IStreamTool, 1, 0)
 Declare the interface ID.
virtual cudaStream_t stream (const EventContext &ctx) const =0
 Get the CUDA stream to use.

Detailed Description

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

Definition at line 14 of file Control/AthCUDA/AthCUDAInterfaces/AthCUDAInterfaces/IStreamTool.h.

Member Function Documentation

◆ DeclareInterfaceID()

AthCUDA::IStreamTool::DeclareInterfaceID ( AthCUDA::IStreamTool ,
1 ,
0  )

Declare the interface ID.

◆ stream()

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

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: