mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 05:24:02 +08:00
fix: if device hierarchy is flat then getSubDevicesCount return 1u
Related-To: NEO-9167 Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
67660b44b0
commit
cb0bb57f49
@@ -45,9 +45,6 @@ struct AllocationProperties;
|
||||
struct HardwareInfo;
|
||||
|
||||
struct RootDeviceEnvironment : NonCopyableClass {
|
||||
protected:
|
||||
std::unique_ptr<HardwareInfo> hwInfo;
|
||||
|
||||
public:
|
||||
RootDeviceEnvironment(ExecutionEnvironment &executionEnvironment);
|
||||
MOCKABLE_VIRTUAL ~RootDeviceEnvironment();
|
||||
@@ -123,6 +120,7 @@ struct RootDeviceEnvironment : NonCopyableClass {
|
||||
bool isWddmOnLinuxEnable = false;
|
||||
std::once_flag isDummyAllocationInitialized;
|
||||
std::unique_ptr<AllocationProperties> dummyBlitProperties;
|
||||
std::unique_ptr<HardwareInfo> hwInfo;
|
||||
|
||||
private:
|
||||
std::mutex mtx;
|
||||
|
||||
Reference in New Issue
Block a user