Skip to content

Commit fff258a

Browse files
committed
rename getInitialDeviceUid to getHostDeviceUid again
1 parent 30a3437 commit fff258a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

offload/liboffload/src/OffloadImpl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ Error olGetDeviceInfoImplDetailHost(ol_device_handle_t Device,
546546
case OL_DEVICE_INFO_PRODUCT_NAME:
547547
return Info.writeString("Virtual Host Device");
548548
case OL_DEVICE_INFO_UID:
549-
return Info.writeString(GenericPluginTy::getInitialDeviceUid());
549+
return Info.writeString(GenericPluginTy::getHostDeviceUid());
550550
case OL_DEVICE_INFO_VENDOR:
551551
return Info.writeString("Liboffload");
552552
case OL_DEVICE_INFO_DRIVER_VERSION:

offload/plugins-nextgen/common/include/PluginInterface.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1312,8 +1312,8 @@ struct GenericPluginTy {
13121312
return getDevice(DeviceId).getDeviceUid();
13131313
}
13141314

1315-
/// Get the UID for the initial (= host) device.
1316-
static constexpr const char *getInitialDeviceUid() { return "HOST"; }
1315+
/// Get the UID for the host device.
1316+
static constexpr const char *getHostDeviceUid() { return "HOST"; }
13171317

13181318
/// Get the ELF code to recognize the binary image of this plugin.
13191319
virtual uint16_t getMagicElfBits() const = 0;

0 commit comments

Comments
 (0)