mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
Create work partition allocation
Related-To: NEO-5546 Resolves: NEO-5561 Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
1844875b9d
commit
f7d105f2e2
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2017-2020 Intel Corporation
|
||||
* Copyright (C) 2017-2021 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -96,7 +96,8 @@ class GraphicsAllocation : public IDNode<GraphicsAllocation> {
|
||||
DEBUG_CONTEXT_SAVE_AREA,
|
||||
DEBUG_SBA_TRACKING_BUFFER,
|
||||
DEBUG_MODULE_AREA,
|
||||
UNIFIED_SHARED_MEMORY
|
||||
UNIFIED_SHARED_MEMORY,
|
||||
WORK_PARTITION_SURFACE,
|
||||
};
|
||||
|
||||
~GraphicsAllocation() override;
|
||||
|
||||
@@ -282,6 +282,7 @@ bool MemoryManager::getAllocationData(AllocationData &allocationData, const Allo
|
||||
case GraphicsAllocation::AllocationType::PRINTF_SURFACE:
|
||||
case GraphicsAllocation::AllocationType::PRIVATE_SURFACE:
|
||||
case GraphicsAllocation::AllocationType::SCRATCH_SURFACE:
|
||||
case GraphicsAllocation::AllocationType::WORK_PARTITION_SURFACE:
|
||||
case GraphicsAllocation::AllocationType::WRITE_COMBINED:
|
||||
allow64KbPages = true;
|
||||
allow32Bit = true;
|
||||
@@ -368,6 +369,7 @@ bool MemoryManager::getAllocationData(AllocationData &allocationData, const Allo
|
||||
case GraphicsAllocation::AllocationType::LINEAR_STREAM:
|
||||
case GraphicsAllocation::AllocationType::MCS:
|
||||
case GraphicsAllocation::AllocationType::SCRATCH_SURFACE:
|
||||
case GraphicsAllocation::AllocationType::WORK_PARTITION_SURFACE:
|
||||
case GraphicsAllocation::AllocationType::SHARED_CONTEXT_IMAGE:
|
||||
case GraphicsAllocation::AllocationType::SHARED_IMAGE:
|
||||
case GraphicsAllocation::AllocationType::SHARED_RESOURCE_COPY:
|
||||
|
||||
Reference in New Issue
Block a user