Remove debug flag ForceMultiEngineQueue

Change-Id: Iabf38999a03be3422c25c12978808731df77a899
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
Zbigniew Zdanowicz
2019-02-26 17:52:31 +01:00
committed by sys_ocldev
parent fbcdee4cf4
commit 10a25e405a
11 changed files with 69 additions and 19 deletions

View File

@@ -94,4 +94,13 @@ BuiltIns *ExecutionEnvironment::getBuiltIns() {
}
return this->builtins.get();
}
EngineControl *ExecutionEnvironment::getEngineControlForSpecialCsr() {
EngineControl *engine = nullptr;
if (specialCommandStreamReceiver.get()) {
engine = memoryManager->getRegisteredEngineForCsr(specialCommandStreamReceiver.get());
}
return engine;
}
} // namespace OCLRT

View File

@@ -17,14 +17,15 @@
namespace OCLRT {
class AubCenter;
class GmmHelper;
class BuiltIns;
class CommandStreamReceiver;
class CompilerInterface;
class GmmHelper;
class MemoryManager;
class SourceLevelDebugger;
class CompilerInterface;
class BuiltIns;
struct HardwareInfo;
class OSInterface;
struct EngineControl;
struct HardwareInfo;
using CsrContainer = std::vector<std::vector<std::unique_ptr<CommandStreamReceiver>>>;
@@ -50,6 +51,7 @@ class ExecutionEnvironment : public ReferenceTrackedObject<ExecutionEnvironment>
GmmHelper *getGmmHelper() const;
MOCKABLE_VIRTUAL CompilerInterface *getCompilerInterface();
BuiltIns *getBuiltIns();
EngineControl *getEngineControlForSpecialCsr();
std::unique_ptr<OSInterface> osInterface;
std::unique_ptr<MemoryManager> memoryManager;