Skip to content

Commit bd43212

Browse files
committed
remove removed plugin interface
1 parent 94335ac commit bd43212

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

offload/plugins-nextgen/level_zero/include/L0Device.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,6 @@ class L0DeviceTy final : public GenericDeviceTy {
607607
void *DstPtr, int64_t Size,
608608
AsyncInfoWrapperTy &AsyncInfoWrapper) override;
609609
Error initAsyncInfoImpl(AsyncInfoWrapperTy &AsyncInfoWrapper) override;
610-
Error initDeviceInfoImpl(__tgt_device_info *Info) override;
611610
Expected<bool>
612611
hasPendingWorkImpl(AsyncInfoWrapperTy &AsyncInfoWrapper) override;
613612

offload/plugins-nextgen/level_zero/src/L0Device.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -545,14 +545,6 @@ Error L0DeviceTy::initAsyncInfoImpl(AsyncInfoWrapperTy &AsyncInfoWrapper) {
545545
return Plugin::success();
546546
}
547547

548-
Error L0DeviceTy::initDeviceInfoImpl(__tgt_device_info *Info) {
549-
if (!Info->Context)
550-
Info->Context = getZeContext();
551-
if (!Info->Device)
552-
Info->Device = reinterpret_cast<void *>(getZeDevice());
553-
return Plugin::success();
554-
}
555-
556548
static const char *DriverVersionToStrTable[] = {
557549
"1.0", "1.1", "1.2", "1.3", "1.4", "1.5", "1.6",
558550
"1.7", "1.8", "1.9", "1.10", "1.11", "1.12"};

0 commit comments

Comments
 (0)