mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
feature: Bind isa allocations as read only
Related-To: NEO-10398 Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
2eecf29278
commit
3d9e95d177
@@ -139,6 +139,10 @@ void GraphicsAllocation::updateCompletionDataForAllocationAndFragments(uint64_t
|
||||
}
|
||||
|
||||
bool GraphicsAllocation::hasAllocationReadOnlyType() {
|
||||
if (allocationType == AllocationType::kernelIsa ||
|
||||
allocationType == AllocationType::kernelIsaInternal) {
|
||||
return true;
|
||||
}
|
||||
if (debugManager.flags.ReadOnlyAllocationsTypeMask.get() != 0) {
|
||||
UNRECOVERABLE_IF(allocationType == AllocationType::unknown);
|
||||
auto maskVal = debugManager.flags.ReadOnlyAllocationsTypeMask.get();
|
||||
|
||||
Reference in New Issue
Block a user