Skip to content

Commit 6f850c2

Browse files
committed
adjust to removal of memory pool
1 parent 1cadfb8 commit 6f850c2

File tree

1 file changed

+0
-12
lines changed
  • offload/plugins-nextgen/level_zero/include

1 file changed

+0
-12
lines changed

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

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -228,10 +228,6 @@ class L0DeviceTy final : public GenericDeviceTy {
228228
/// MemAllocator for this device
229229
MemAllocatorTy MemAllocator;
230230

231-
/// The current size of the global device memory pool (managed by us).
232-
uint64_t HeapSize = 1L << 23L /*8MB=*/;
233-
234-
bool shouldSetupDeviceMemoryPool() const override { return false; }
235231
DeviceArchTy computeArch() const;
236232

237233
/// Get default compute group ordinal. Returns Ordinal-NumQueues pair
@@ -628,14 +624,6 @@ class L0DeviceTy final : public GenericDeviceTy {
628624
Expected<GenericKernelTy &> constructKernel(const char *Name) override;
629625

630626
Error setDeviceStackSize(uint64_t V) override { return Plugin::success(); }
631-
Error getDeviceHeapSize(uint64_t &V) override {
632-
V = HeapSize;
633-
return Plugin::success();
634-
}
635-
Error setDeviceHeapSize(uint64_t V) override {
636-
HeapSize = V;
637-
return Plugin::success();
638-
}
639627

640628
Expected<omp_interop_val_t *>
641629
createInterop(int32_t InteropType, interop_spec_t &InteropSpec) override;

0 commit comments

Comments
 (0)