mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-07 12:42:54 +08:00
Add SubDevice support for Sysman Memory module
Change-Id: Iec5918486fc2c00e14de074aca18e6de63ba1600 Signed-off-by: SaiKishore Konda <saikishore.konda@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
2d27570292
commit
e28f937683
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include "level_zero/core/source/device/device.h"
|
||||
#include <level_zero/zes_api.h>
|
||||
|
||||
#include <vector>
|
||||
@@ -35,7 +36,7 @@ struct MemoryHandleContext {
|
||||
MemoryHandleContext(OsSysman *pOsSysman) : pOsSysman(pOsSysman){};
|
||||
~MemoryHandleContext();
|
||||
|
||||
ze_result_t init();
|
||||
ze_result_t init(std::vector<ze_device_handle_t> &deviceHandles);
|
||||
|
||||
ze_result_t memoryGet(uint32_t *pCount, zes_mem_handle_t *phMemory);
|
||||
|
||||
@@ -44,7 +45,7 @@ struct MemoryHandleContext {
|
||||
std::vector<Memory *> handleList = {};
|
||||
|
||||
private:
|
||||
void createHandle();
|
||||
void createHandle(ze_device_handle_t deviceHandle);
|
||||
};
|
||||
|
||||
} // namespace L0
|
||||
|
||||
Reference in New Issue
Block a user