@@ -284,12 +284,12 @@ void CommandStreamReceiver::setTagAllocation(GraphicsAllocation *allocation) {
284
284
reinterpret_cast <uint8_t *>(allocation->getUnderlyingBuffer ()) + debugPauseStateAddressOffset);
285
285
}
286
286
287
- MultiGraphicsAllocation &CommandStreamReceiver::createTagsMultiAllocation (ExecutionEnvironment &executionEnvironment, MemoryManager &memoryManager, uint32_t currentRootDeviceIndex ) {
287
+ MultiGraphicsAllocation &CommandStreamReceiver::createTagsMultiAllocation () {
288
288
std::vector<uint32_t > rootDeviceIndices;
289
289
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 ) {
293
293
rootDeviceIndices.push_back (index );
294
294
}
295
295
}
@@ -299,7 +299,7 @@ MultiGraphicsAllocation &CommandStreamReceiver::createTagsMultiAllocation(Execut
299
299
300
300
AllocationProperties unifiedMemoryProperties{rootDeviceIndices.at (0 ), MemoryConstants::pageSize, GraphicsAllocation::AllocationType::TAG_BUFFER, systemMemoryBitfield};
301
301
302
- memoryManager. createMultiGraphicsAllocationInSystemMemoryPool (rootDeviceIndices, unifiedMemoryProperties, *allocations);
302
+ this -> getMemoryManager ()-> createMultiGraphicsAllocationInSystemMemoryPool (rootDeviceIndices, unifiedMemoryProperties, *allocations);
303
303
return *allocations;
304
304
}
305
305
@@ -496,7 +496,7 @@ void *CommandStreamReceiver::asyncDebugBreakConfirmation(void *arg) {
496
496
}
497
497
498
498
bool CommandStreamReceiver::initializeTagAllocation () {
499
- this ->tagsMultiAllocation = &this ->createTagsMultiAllocation (this -> executionEnvironment , * this -> getMemoryManager (), rootDeviceIndex );
499
+ this ->tagsMultiAllocation = &this ->createTagsMultiAllocation ();
500
500
501
501
auto tagAllocation = tagsMultiAllocation->getGraphicsAllocation (rootDeviceIndex);
502
502
if (!tagAllocation) {
0 commit comments