mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 16:24:18 +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
@@ -323,11 +323,11 @@ void CommandStreamReceiver::releasePreallocationRequest() {
|
||||
requestedPreallocationsAmount -= preallocationsPerQueue;
|
||||
}
|
||||
|
||||
bool CommandStreamReceiver::initializeResources() {
|
||||
bool CommandStreamReceiver::initializeResources(bool allocateInterrupt) {
|
||||
if (!resourcesInitialized) {
|
||||
auto lock = obtainUniqueOwnership();
|
||||
if (!resourcesInitialized) {
|
||||
if (!osContext->ensureContextInitialized()) {
|
||||
if (!osContext->ensureContextInitialized(allocateInterrupt)) {
|
||||
return false;
|
||||
}
|
||||
this->fillReusableAllocationsList();
|
||||
|
||||
Reference in New Issue
Block a user