ATLAS Offline Software
Classes | Public Member Functions | List of all members
AthXRT::IDeviceMgmtSvc Class Referenceabstract

Interface for AthXRT::DeviceMgmtSvc service. More...

#include <IDeviceMgmtSvc.h>

Inheritance diagram for AthXRT::IDeviceMgmtSvc:
Collaboration diagram for AthXRT::IDeviceMgmtSvc:

Classes

struct  OpenCLHandle
 Struct holding OpenCL handles for a kernel. More...
 

Public Member Functions

 DeclareInterfaceID (AthXRT::IDeviceMgmtSvc, 1, 0)
 Declare the interface ID. More...
 
virtual const std::vector< IDeviceMgmtSvc::OpenCLHandleget_opencl_handles_by_kernel_name (const std::string &name) const =0
 Get a list of OpenCL handles providing the specified kernel. More...
 
virtual const std::vector< std::shared_ptr< xrt::device > > get_xrt_devices_by_kernel_name (const std::string &name) const =0
 Get a list of XRT devices providing the specified kernel. More...
 

Detailed Description

Interface for AthXRT::DeviceMgmtSvc service.

The implementation of this service is supposed to program XRT accelerator and return device and xclbin uuid handles required by user code to create kernels, buffer objects and runs.

Author
Quentin Berthet quent.nosp@m.in.b.nosp@m.erthe.nosp@m.t@ce.nosp@m.rn.ch

Definition at line 41 of file IDeviceMgmtSvc.h.

Member Function Documentation

◆ DeclareInterfaceID()

AthXRT::IDeviceMgmtSvc::DeclareInterfaceID ( AthXRT::IDeviceMgmtSvc  ,
,
 
)

Declare the interface ID.

◆ get_opencl_handles_by_kernel_name()

virtual const std::vector<IDeviceMgmtSvc::OpenCLHandle> AthXRT::IDeviceMgmtSvc::get_opencl_handles_by_kernel_name ( const std::string &  name) const
pure virtual

Get a list of OpenCL handles providing the specified kernel.

◆ get_xrt_devices_by_kernel_name()

virtual const std::vector<std::shared_ptr<xrt::device> > AthXRT::IDeviceMgmtSvc::get_xrt_devices_by_kernel_name ( const std::string &  name) const
pure virtual

Get a list of XRT devices providing the specified kernel.


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