Mark Shared resource copy allocations as lockable

Related-To: NEO-5733
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2021-04-19 10:17:13 +00:00
committed by Compute-Runtime-Automation
parent b18b4e8ad7
commit 2b956651a7
2 changed files with 6 additions and 1 deletions

View File

@@ -236,7 +236,8 @@ class GraphicsAllocation : public IDNode<GraphicsAllocation> {
allocationType == AllocationType::BUFFER ||
allocationType == AllocationType::BUFFER_HOST_MEMORY ||
allocationType == AllocationType::GPU_TIMESTAMP_DEVICE_BUFFER ||
allocationType == AllocationType::SVM_GPU;
allocationType == AllocationType::SVM_GPU ||
allocationType == AllocationType::SHARED_RESOURCE_COPY;
}
static bool isIsaAllocationType(GraphicsAllocation::AllocationType type) {