mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Disable stateless compression in sba on indirect host access flag
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
a2e41716e2
commit
5c4c02d2e7
@ -2563,6 +2563,10 @@ bool Kernel::hasDirectStatelessAccessToHostMemory() const {
|
||||
}
|
||||
|
||||
bool Kernel::hasIndirectStatelessAccessToHostMemory() const {
|
||||
if (unifiedMemoryControls.indirectHostAllocationsAllowed) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!kernelInfo.hasIndirectStatelessAccess) {
|
||||
return false;
|
||||
}
|
||||
@ -2573,7 +2577,7 @@ bool Kernel::hasIndirectStatelessAccessToHostMemory() const {
|
||||
}
|
||||
}
|
||||
|
||||
if (unifiedMemoryControls.indirectHostAllocationsAllowed) {
|
||||
if (getContext().getSVMAllocsManager()) {
|
||||
return getContext().getSVMAllocsManager()->hasHostAllocations();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user