mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-07 21:27:04 +08:00
Add new debug flags for filtering devices to open
FilterBdfPath is used only on Linux as a filter for BDF when opening from /dev/dri/by-path FilterDeviceId is used on both OSes as a filter for device id Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
36f8f67f20
commit
1671e0a1a7
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2021 Intel Corporation
|
||||
* Copyright (C) 2018-2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -28,5 +28,6 @@ class DeviceFactory {
|
||||
|
||||
static std::unique_ptr<Device> (*createRootDeviceFunc)(ExecutionEnvironment &executionEnvironment, uint32_t rootDeviceIndex);
|
||||
static bool (*createMemoryManagerFunc)(ExecutionEnvironment &executionEnvironment);
|
||||
static bool isAllowedDeviceId(uint32_t deviceId, const std::string &deviceIdString);
|
||||
};
|
||||
} // namespace NEO
|
||||
|
||||
Reference in New Issue
Block a user