fix: don't fail entire initialization when at least one device is compatible

Related-To: NEO-6683

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2023-11-20 17:47:53 +00:00
committed by Compute-Runtime-Automation
parent 490f1d9536
commit f63dd1f4f2
5 changed files with 89 additions and 3 deletions

View File

@@ -61,7 +61,7 @@ struct RootDeviceEnvironment : NonCopyableClass {
bool isWddmOnLinux() const;
MOCKABLE_VIRTUAL void initAubCenter(bool localMemoryEnabled, const std::string &aubFileName, CommandStreamReceiverType csrType);
bool initOsInterface(std::unique_ptr<HwDeviceId> &&hwDeviceId, uint32_t rootDeviceIndex);
MOCKABLE_VIRTUAL bool initOsInterface(std::unique_ptr<HwDeviceId> &&hwDeviceId, uint32_t rootDeviceIndex);
void initOsTime();
void initGmm();
void initDebuggerL0(Device *neoDevice);