Skip to content

Commit e063354

Browse files
committed
Add defaults to memoryHandleContext structure
Change-Id: If82510dff1ab77d4b4c3c77079035ca2ca15ea10
1 parent ab67b94 commit e063354

File tree

1 file changed

+2
-2
lines changed
  • level_zero/tools/source/sysman/memory

1 file changed

+2
-2
lines changed

level_zero/tools/source/sysman/memory/memory.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ struct MemoryHandleContext {
3838

3939
ze_result_t memoryGet(uint32_t *pCount, zet_sysman_mem_handle_t *phMemory);
4040

41-
OsSysman *pOsSysman;
42-
bool isLmemSupported;
41+
OsSysman *pOsSysman = nullptr;
42+
bool isLmemSupported = false;
4343
std::vector<Memory *> handleList;
4444
ze_device_handle_t hCoreDevice;
4545
};

0 commit comments

Comments
 (0)