mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 06:24:51 +08:00
refactor: Add debug break for partial make resident
Resolves: NEO-13711 Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
bf68fed199
commit
06e375fdc6
@@ -542,6 +542,7 @@ bool Wddm::makeResident(const D3DKMT_HANDLE *handles, uint32_t count, bool cantT
|
||||
success = true;
|
||||
} else {
|
||||
DEBUG_BREAK_IF(cantTrimFurther);
|
||||
DEBUG_BREAK_IF(makeResident.NumAllocations != 0u && makeResident.NumAllocations != count);
|
||||
perfLogResidencyTrimRequired(residencyLogger.get(), makeResident.NumBytesToTrim);
|
||||
if (numberOfBytesToTrim != nullptr) {
|
||||
*numberOfBytesToTrim = makeResident.NumBytesToTrim;
|
||||
|
||||
Reference in New Issue
Block a user