mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Make buffer allocations not lockable
Related-To: NEO-5733 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
492d715846
commit
de116aac5c
@ -233,7 +233,6 @@ class GraphicsAllocation : public IDNode<GraphicsAllocation> {
|
||||
static bool isLockable(AllocationType allocationType) {
|
||||
return isCpuAccessRequired(allocationType) ||
|
||||
isIsaAllocationType(allocationType) ||
|
||||
allocationType == AllocationType::BUFFER ||
|
||||
allocationType == AllocationType::BUFFER_HOST_MEMORY ||
|
||||
allocationType == AllocationType::GPU_TIMESTAMP_DEVICE_BUFFER ||
|
||||
allocationType == AllocationType::SVM_GPU ||
|
||||
|
Reference in New Issue
Block a user