@@ -284,12 +284,12 @@ void CommandStreamReceiver::setTagAllocation(GraphicsAllocation *allocation) {
284284 reinterpret_cast <uint8_t *>(allocation->getUnderlyingBuffer ()) + debugPauseStateAddressOffset);
285285}
286286
287- MultiGraphicsAllocation &CommandStreamReceiver::createTagsMultiAllocation (ExecutionEnvironment &executionEnvironment, MemoryManager &memoryManager, uint32_t currentRootDeviceIndex ) {
287+ MultiGraphicsAllocation &CommandStreamReceiver::createTagsMultiAllocation () {
288288 std::vector<uint32_t > rootDeviceIndices;
289289
290- for (auto index = 0u ; index < executionEnvironment.rootDeviceEnvironments .size (); index++) {
291- if (executionEnvironment.rootDeviceEnvironments [index].get ()->getHardwareInfo ()->platform .eProductFamily ==
292- executionEnvironment.rootDeviceEnvironments [currentRootDeviceIndex ].get ()->getHardwareInfo ()->platform .eProductFamily ) {
290+ for (auto index = 0u ; index < this -> executionEnvironment .rootDeviceEnvironments .size (); index++) {
291+ if (this -> executionEnvironment .rootDeviceEnvironments [index].get ()->getHardwareInfo ()->platform .eProductFamily ==
292+ this -> executionEnvironment .rootDeviceEnvironments [this -> rootDeviceIndex ].get ()->getHardwareInfo ()->platform .eProductFamily ) {
293293 rootDeviceIndices.push_back (index);
294294 }
295295 }
@@ -299,7 +299,7 @@ MultiGraphicsAllocation &CommandStreamReceiver::createTagsMultiAllocation(Execut
299299
300300 AllocationProperties unifiedMemoryProperties{rootDeviceIndices.at (0 ), MemoryConstants::pageSize, GraphicsAllocation::AllocationType::TAG_BUFFER, systemMemoryBitfield};
301301
302- memoryManager. createMultiGraphicsAllocationInSystemMemoryPool (rootDeviceIndices, unifiedMemoryProperties, *allocations);
302+ this -> getMemoryManager ()-> createMultiGraphicsAllocationInSystemMemoryPool (rootDeviceIndices, unifiedMemoryProperties, *allocations);
303303 return *allocations;
304304}
305305
@@ -496,7 +496,7 @@ void *CommandStreamReceiver::asyncDebugBreakConfirmation(void *arg) {
496496}
497497
498498bool CommandStreamReceiver::initializeTagAllocation () {
499- this ->tagsMultiAllocation = &this ->createTagsMultiAllocation (this -> executionEnvironment , * this -> getMemoryManager (), rootDeviceIndex );
499+ this ->tagsMultiAllocation = &this ->createTagsMultiAllocation ();
500500
501501 auto tagAllocation = tagsMultiAllocation->getGraphicsAllocation (rootDeviceIndex);
502502 if (!tagAllocation) {
0 commit comments