NVIDIA NvNeural SDK
2022.2
GPU inference framework for NVIDIA Nsight Deep Learning Designer
|
Standard implementation of IBackendDeviceIdentifier. More...
#include <BackendDeviceIdentifier.h>
Public Member Functions | |
BackendDeviceIdentifier (std::uint64_t uuidLow, std::uint64_t uuidHigh, const std::string &deviceName) | |
Creates a BackendDeviceIdentifier that reports the provided UUID and device name. More... | |
NeuralResult | getDeviceIdentifiers (std::uint64_t *pUuidLow, std::uint64_t *pUuidHigh) const noexcept |
Retrieves a pair of values that uniquely identify this GPU on the local system. More... | |
const char * | getDeviceName () const noexcept |
Retrieves the name of this GPU. More... | |
![]() | |
IRefObject::RefCount | addRef () const noexcept |
Increment the object's reference count. More... | |
const void * | queryInterface (IRefObject::TypeId interfaceId) const noexcept |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
void * | queryInterface (IRefObject::TypeId interfaceId) noexcept |
Retrieves a new object interface pointer. More... | |
RefObjectBase () | |
Default constructor. Logs object creation. | |
IRefObject::RefCount | release () const noexcept |
Decrements the object's reference count and destroys the object if the reference count reaches zero. More... | |
Standard implementation of IBackendDeviceIdentifier.
BackendDeviceIdentifier::BackendDeviceIdentifier | ( | std::uint64_t | uuidLow, |
std::uint64_t | uuidHigh, | ||
const std::string & | deviceName | ||
) |
Creates a BackendDeviceIdentifier that reports the provided UUID and device name.
uuidLow | Lower 64 bits of the device UUID |
uuidHigh | Upper 64 bits of the device UUID |
deviceName | Human-readable name of the device |
|
noexcept |
Retrieves a pair of values that uniquely identify this GPU on the local system.
pUuidLow | Pointer to a variable receiving the lower 64 bits of the device identifier |
pUuidHigh | Pointer to a variable receiving the upper 64 bits of the device identifier |
|
noexcept |
Retrieves the name of this GPU.
The pointer returned is valid for the lifespan of this object.