mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Correct allocating event pool in device memory
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
e0a093b87a
commit
0d74ab8ae8
@ -229,13 +229,13 @@ class GraphicsAllocation : public IDNode<GraphicsAllocation> {
|
||||
allocationType == AllocationType::RING_BUFFER ||
|
||||
allocationType == AllocationType::SEMAPHORE_BUFFER ||
|
||||
allocationType == AllocationType::DEBUG_CONTEXT_SAVE_AREA ||
|
||||
allocationType == AllocationType::GPU_TIMESTAMP_DEVICE_BUFFER ||
|
||||
allocationType == AllocationType::DEBUG_MODULE_AREA;
|
||||
}
|
||||
static bool isLockable(AllocationType allocationType) {
|
||||
return isCpuAccessRequired(allocationType) ||
|
||||
isIsaAllocationType(allocationType) ||
|
||||
allocationType == AllocationType::BUFFER_HOST_MEMORY ||
|
||||
allocationType == AllocationType::GPU_TIMESTAMP_DEVICE_BUFFER ||
|
||||
allocationType == AllocationType::SHARED_RESOURCE_COPY;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user