File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed
offload/plugins-nextgen/common/include Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -1294,12 +1294,6 @@ struct GenericPluginTy {
12941294
12951295 return *Devices[DeviceId];
12961296 }
1297- const GenericDeviceTy &getDevice (int32_t DeviceId) const {
1298- assert (isValidDeviceId (DeviceId) && " Invalid device id" );
1299- assert (Devices[DeviceId] && " Device is uninitialized" );
1300-
1301- return *Devices[DeviceId];
1302- }
13031297
13041298 // / Get the number of active devices.
13051299 int32_t getNumDevices () const { return NumDevices; }
@@ -1310,11 +1304,6 @@ struct GenericPluginTy {
13101304 return UserDeviceIds.at (DeviceId);
13111305 }
13121306
1313- // / Get the UID for the given device.
1314- const char *getDeviceUid (int32_t DeviceId) const {
1315- return getDevice (DeviceId).getDeviceUid ();
1316- }
1317-
13181307 // / Get the UID for the host device.
13191308 static constexpr const char *getHostDeviceUid () { return " HOST" ; }
13201309
You can’t perform that action at this time.
0 commit comments