mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-28 16:48:45 +08:00
Store GmmHelper in Gmm class
Store GmmHelper in Gmm class instead of GmmClientContext Related-To: NEO-6523 Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
7eb70775ea
commit
9b778863b4
@@ -63,7 +63,7 @@ void CommandQueueHwFixture::forceMapBufferOnGpu(Buffer &buffer) {
|
||||
buffer.setSharingHandler(new SharingHandler());
|
||||
auto gfxAllocation = buffer.getGraphicsAllocation(clDevice->getRootDeviceIndex());
|
||||
for (auto handleId = 0u; handleId < gfxAllocation->getNumGmms(); handleId++) {
|
||||
gfxAllocation->setGmm(new MockGmm(clDevice->getGmmClientContext()), handleId);
|
||||
gfxAllocation->setGmm(new MockGmm(clDevice->getGmmHelper()), handleId);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user