Abstract interface for device implementation used by Device.
More...
#include <vart_device_impl_base.hpp>
Abstract interface for device implementation used by Device.
- Note
- Applications should use vart::Device rather than this type directly, unless extending or integrating a new backend.
◆ DeviceImplBase() [1/2]
| vart::DeviceImplBase::DeviceImplBase |
( |
| ) |
|
|
delete |
Default construction is disabled.
◆ DeviceImplBase() [2/2]
| vart::DeviceImplBase::DeviceImplBase |
( |
int32_t |
dev_idx | ) |
|
|
inline |
◆ ~DeviceImplBase()
| virtual vart::DeviceImplBase::~DeviceImplBase |
( |
| ) |
|
|
inlinevirtual |
Virtual destructor to ensure proper cleanup of derived implementations.
◆ get_device_index()
| virtual int32_t vart::DeviceImplBase::get_device_index |
( |
| ) |
|
|
pure virtual |
get_device_index() - Retrieves device index of current instance
- Returns
- Returns the device index
◆ device_index
| int32_t vart::DeviceImplBase::device_index |
|
protected |
Device index for this implementation.
The documentation for this class was generated from the following file: