mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
refactor: Add IPC memory data
Refactor structure and add field to pass USM memory type. To maintain backwards compatibility with current applications, pass 0 as type for device allocations, and 1 for host allocations. Related-To: LOCI-3771 Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
371ee24554
commit
51d767daea
@@ -17,6 +17,11 @@ enum InternalMemoryType : uint32_t {
|
||||
SHARED_UNIFIED_MEMORY = 0b1000
|
||||
};
|
||||
|
||||
enum class InternalIpcMemoryType : uint32_t {
|
||||
IPC_DEVICE_UNIFIED_MEMORY = 0,
|
||||
IPC_HOST_UNIFIED_MEMORY = 1
|
||||
};
|
||||
|
||||
enum TransferType : uint32_t {
|
||||
HOST_NON_USM_TO_HOST_USM = 0,
|
||||
HOST_NON_USM_TO_DEVICE_USM = 1,
|
||||
|
||||
Reference in New Issue
Block a user