mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 05:24:02 +08:00
performance(ocl): enable device usm alloc reuse
Enabling on MTL+ Limited to use max 2% of global device memory. Related-To: NEO-6893, NEO-11463 Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
95b7929d97
commit
a236171f0d
@@ -40,7 +40,11 @@ bool ApiSpecificConfig::getBindlessMode(const ReleaseHelper *) {
|
||||
}
|
||||
|
||||
bool ApiSpecificConfig::isDeviceAllocationCacheEnabled() {
|
||||
return false;
|
||||
if (apiTypeForUlts == ApiSpecificConfig::L0) {
|
||||
return false;
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
bool ApiSpecificConfig::isHostAllocationCacheEnabled() {
|
||||
|
||||
Reference in New Issue
Block a user