mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
[17/n] Internal 4GB allocator.
- Make sure that blocks ISA is made resident - both blocked & non blocked path - fix a bug where private surface was not made resident in blocked path. Change-Id: Ie564595b176b94ecc7c79d7efeae20598c5874fb
This commit is contained in:

committed by
sys_ocldev

parent
51fdd2a18f
commit
09923fcb39
@ -99,6 +99,10 @@ class UltCommandStreamReceiver : public CommandStreamReceiverHw<GfxFamily> {
|
||||
BaseClass::makeResident(gfxAllocation);
|
||||
}
|
||||
|
||||
bool isMadeResident(GraphicsAllocation *graphicsAllocation) {
|
||||
return makeResidentAllocations.find(graphicsAllocation) != makeResidentAllocations.end();
|
||||
}
|
||||
|
||||
std::map<GraphicsAllocation *, uint32_t> makeResidentAllocations;
|
||||
bool storeMakeResidentAllocations;
|
||||
|
||||
|
Reference in New Issue
Block a user