mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-31 20:13:04 +08:00
fix: print error in sim mode without available aubstream
Resolves: NEO-14693 Signed-off-by: Aleksandra Nizio <aleksandra.nizio@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
22b98e36ae
commit
62739986bf
@@ -33,6 +33,7 @@
|
||||
#include "shared/source/os_interface/os_interface.h"
|
||||
#include "shared/source/os_interface/os_time.h"
|
||||
#include "shared/source/os_interface/product_helper.h"
|
||||
#include "shared/source/program/print_formatter.h"
|
||||
#include "shared/source/release_helper/release_helper.h"
|
||||
#include "shared/source/sip_external_lib/sip_external_lib.h"
|
||||
#include "shared/source/utilities/software_tags_manager.h"
|
||||
@@ -55,6 +56,10 @@ void RootDeviceEnvironment::initAubCenter(bool localMemoryEnabled, const std::st
|
||||
UNRECOVERABLE_IF(!getGmmHelper());
|
||||
aubCenter.reset(new AubCenter(*this, localMemoryEnabled, aubFileName, csrType));
|
||||
}
|
||||
if (debugManager.flags.UseAubStream.get() && aubCenter->getAubManager() == nullptr) {
|
||||
printToStderr("ERROR: Simulation mode detected but Aubstream is not available.\n");
|
||||
UNRECOVERABLE_IF(true);
|
||||
}
|
||||
}
|
||||
|
||||
void RootDeviceEnvironment::initDebuggerL0(Device *neoDevice) {
|
||||
|
||||
Reference in New Issue
Block a user