mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Add method to set compression flag
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
8af9ca71d3
commit
3ed0f074af
@ -37,7 +37,7 @@ MemoryOperationsStatus AubMemoryOperationsHandler::makeResident(Device *device,
|
||||
|
||||
auto gmm = allocation->getDefaultGmm();
|
||||
|
||||
params.additionalParams.compressionEnabled = gmm ? gmm->isRenderCompressed : false;
|
||||
params.additionalParams.compressionEnabled = gmm ? gmm->isCompressionEnabled : false;
|
||||
|
||||
aubManager->writeMemory2(params);
|
||||
residentAllocations.push_back(allocation);
|
||||
|
Reference in New Issue
Block a user