mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-10 15:12:56 +08:00
Enable NodeMask Generation thru L0 LUID Extension
Related-To: LOCI-3250 Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
aafe562bce
commit
4fce3ede9b
@@ -13,7 +13,7 @@
|
||||
#include "shared/test/common/test_macros/hw_test.h"
|
||||
|
||||
namespace NEO {
|
||||
std::unique_ptr<HwDeviceIdWddm> createHwDeviceIdFromAdapterLuid(OsEnvironmentWin &osEnvironment, LUID adapterLuid);
|
||||
std::unique_ptr<HwDeviceIdWddm> createHwDeviceIdFromAdapterLuid(OsEnvironmentWin &osEnvironment, LUID adapterLuid, uint32_t nodeMask);
|
||||
|
||||
using WddmTests = WddmTestWithMockGdiDll;
|
||||
|
||||
@@ -105,7 +105,7 @@ TEST(WddmPciSpeedInfoTest, WhenGetPciSpeedInfoIsCalledThenUnknownIsReturned) {
|
||||
}
|
||||
|
||||
TEST_F(WddmTests, whenGetAdapterLuidThenLuidIsReturned) {
|
||||
HwDeviceIdWddm *hwDeviceId = new HwDeviceIdWddm(0, {0, 0}, executionEnvironment->osEnvironment.get(), nullptr);
|
||||
HwDeviceIdWddm *hwDeviceId = new HwDeviceIdWddm(0, {0, 0}, 1u, executionEnvironment->osEnvironment.get(), nullptr);
|
||||
wddm->hwDeviceId.reset(hwDeviceId);
|
||||
|
||||
auto luid = wddm->getAdapterLuid();
|
||||
|
||||
Reference in New Issue
Block a user