mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-22 10:17:01 +08:00
feature: assign unique interrupt to queue
Related-To: NEO-8179 Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
0ac1be7669
commit
da9c009b88
@@ -172,7 +172,7 @@ CommandQueue::~CommandQueue() {
|
||||
}
|
||||
|
||||
void tryAssignSecondaryEngine(Device &device, EngineControl *&engineControl, EngineTypeUsage engineTypeUsage) {
|
||||
auto newEngine = device.getSecondaryEngineCsr(engineTypeUsage);
|
||||
auto newEngine = device.getSecondaryEngineCsr(engineTypeUsage, false);
|
||||
if (newEngine) {
|
||||
engineControl = newEngine;
|
||||
}
|
||||
@@ -236,7 +236,7 @@ void CommandQueue::initializeGpgpuInternals() const {
|
||||
}
|
||||
}
|
||||
|
||||
gpgpuEngine->commandStreamReceiver->initializeResources();
|
||||
gpgpuEngine->commandStreamReceiver->initializeResources(false);
|
||||
gpgpuEngine->commandStreamReceiver->requestPreallocation();
|
||||
gpgpuEngine->commandStreamReceiver->initDirectSubmission();
|
||||
|
||||
@@ -361,7 +361,7 @@ void CommandQueue::constructBcsEngine(bool internalUsage) {
|
||||
tryAssignSecondaryEngine(device->getDevice(), bcsEngines[bcsIndex], {bcsEngineType, engineUsage});
|
||||
}
|
||||
|
||||
bcsEngines[bcsIndex]->osContext->ensureContextInitialized();
|
||||
bcsEngines[bcsIndex]->osContext->ensureContextInitialized(false);
|
||||
bcsEngines[bcsIndex]->commandStreamReceiver->initDirectSubmission();
|
||||
}
|
||||
bcsInitialized = true;
|
||||
@@ -389,7 +389,7 @@ void CommandQueue::constructBcsEnginesForSplit() {
|
||||
|
||||
if (bcsEngines[i]) {
|
||||
bcsQueueEngineType = engineType;
|
||||
bcsEngines[i]->commandStreamReceiver->initializeResources();
|
||||
bcsEngines[i]->commandStreamReceiver->initializeResources(false);
|
||||
bcsEngines[i]->commandStreamReceiver->initDirectSubmission();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user