mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-28 16:48:45 +08:00
performance: enable staging write for cl buffers
Related-To: NEO-13529 Also, add size threshold on iGPU on Linux, and disable staging if imported host ptr could be reused Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
35d8e82664
commit
b11322332c
@@ -26,6 +26,10 @@ bool OSInterface::isLockablePointer(bool isLockable) const {
|
||||
return isLockable;
|
||||
}
|
||||
|
||||
bool OSInterface::isSizeWithinThresholdForStaging(size_t size, bool isIGPU) const {
|
||||
return true;
|
||||
}
|
||||
|
||||
uint32_t OSInterface::getAggregatedProcessCount() const {
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user