Home
last modified time | relevance | path

Searched refs:pKmdSysManager (Results 1 – 25 of 32) sorted by relevance

12

/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/tools/test/unit_tests/sources/sysman/frequency/windows/
H A Dtest_zes_frequency.cpp25 Mock<FrequencyKmdSysManager> *pKmdSysManager = nullptr; member in L0::ult::SysmanDeviceFrequencyFixture
35 pKmdSysManager = new Mock<FrequencyKmdSysManager>; in init()
37 pKmdSysManager->allowSetCalls = allowSetCalls; in init()
39 EXPECT_CALL(*pKmdSysManager, escape(_, _, _, _, _)) in init()
42 pOriginalKmdSysManager = pWddmSysmanImp->pKmdSysManager; in init()
43 pWddmSysmanImp->pKmdSysManager = pKmdSysManager; in init()
68 pWddmSysmanImp->pKmdSysManager = pOriginalKmdSysManager; in TearDown()
69 if (pKmdSysManager != nullptr) { in TearDown()
70 delete pKmdSysManager; in TearDown()
71 pKmdSysManager = nullptr; in TearDown()
[all …]
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/tools/test/unit_tests/sources/sysman/windows/
H A Dtest_sysman_manager.cpp38 Mock<MockKmdSysManager> *pKmdSysManager = nullptr; member in L0::ult::SysmanKmdManagerFixture
44 pKmdSysManager = new Mock<MockKmdSysManager>; in SetUp()
46 EXPECT_CALL(*pKmdSysManager, escape(_, _, _, _, _)) in SetUp()
53 if (pKmdSysManager != nullptr) { in TearDown()
54 delete pKmdSysManager; in TearDown()
55 pKmdSysManager = nullptr; in TearDown()
61 pKmdSysManager->allowSetCalls = false; in TEST_F()
79 EXPECT_EQ(value, pKmdSysManager->mockPowerLimit1); in TEST_F()
83 pKmdSysManager->allowSetCalls = true; in TEST_F()
137 pKmdSysManager->allowSetCalls = false; in TEST_F()
[all …]
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/tools/test/unit_tests/sources/sysman/pci/windows/
H A Dtest_zes_pci.cpp20 Mock<PciKmdSysManager> *pKmdSysManager = nullptr; member in L0::ult::SysmanDevicePciFixture
36 pKmdSysManager = new Mock<PciKmdSysManager>; in SetUp()
38 EXPECT_CALL(*pKmdSysManager, escape(_, _, _, _, _)) in SetUp()
39 … .WillRepeatedly(::testing::Invoke(pKmdSysManager, &Mock<PciKmdSysManager>::mock_escape)); in SetUp()
41 pOriginalKmdSysManager = pWddmSysmanImp->pKmdSysManager; in SetUp()
42 pWddmSysmanImp->pKmdSysManager = pKmdSysManager; in SetUp()
59 pWddmSysmanImp->pKmdSysManager = pOriginalKmdSysManager; in TearDown()
60 if (pKmdSysManager != nullptr) { in TearDown()
61 delete pKmdSysManager; in TearDown()
62 pKmdSysManager = nullptr; in TearDown()
[all …]
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/tools/test/unit_tests/sources/sysman/global_operations/windows/
H A Dtest_zes_global_operations.cpp23 Mock<GlobalOpsKmdSysManager> *pKmdSysManager = nullptr; member in L0::ult::SysmanGlobalOperationsFixture
33 pKmdSysManager = new Mock<GlobalOpsKmdSysManager>; in init()
35 pKmdSysManager->allowSetCalls = allowSetCalls; in init()
37 EXPECT_CALL(*pKmdSysManager, escape(_, _, _, _, _)) in init()
38 … .WillRepeatedly(::testing::Invoke(pKmdSysManager, &Mock<GlobalOpsKmdSysManager>::mock_escape)); in init()
40 pOriginalKmdSysManager = pWddmSysmanImp->pKmdSysManager; in init()
41 pWddmSysmanImp->pKmdSysManager = pKmdSysManager; in init()
59 pWddmSysmanImp->pKmdSysManager = pOriginalKmdSysManager; in TearDown()
60 if (pKmdSysManager != nullptr) { in TearDown()
61 delete pKmdSysManager; in TearDown()
[all …]
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/tools/test/unit_tests/sources/sysman/power/windows/
H A Dtest_zes_sysman_power.cpp21 std::unique_ptr<Mock<PowerKmdSysManager>> pKmdSysManager; member in L0::ult::SysmanDevicePowerFixture
31 pKmdSysManager.reset(new Mock<PowerKmdSysManager>); in init()
33 pKmdSysManager->allowSetCalls = allowSetCalls; in init()
35 EXPECT_CALL(*pKmdSysManager, escape(_, _, _, _, _)) in init()
38 pOriginalKmdSysManager = pWddmSysmanImp->pKmdSysManager; in init()
39 pWddmSysmanImp->pKmdSysManager = pKmdSysManager.get(); in init()
62 pWddmSysmanImp->pKmdSysManager = pOriginalKmdSysManager; in TearDown()
167 …XPECT_EQ(energyCounter.timestamp, convertTStoMicroSec(pKmdSysManager->mockTimeStamp, pKmdSysManage… in TEST_F()
189 EXPECT_EQ(burst.power, pKmdSysManager->mockPowerLimit2); in TEST_F()
190 EXPECT_EQ(peak.powerAC, pKmdSysManager->mockAcPowerPeak); in TEST_F()
[all …]
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/tools/test/unit_tests/sources/sysman/engine/windows/
H A Dtest_zes_engine.cpp20 Mock<EngineKmdSysManager> *pKmdSysManager = nullptr; member in L0::ult::SysmanDeviceEngineFixture
28 pKmdSysManager = new Mock<EngineKmdSysManager>; in SetUp()
30 EXPECT_CALL(*pKmdSysManager, escape(_, _, _, _, _)) in SetUp()
33 pOriginalKmdSysManager = pWddmSysmanImp->pKmdSysManager; in SetUp()
34 pWddmSysmanImp->pKmdSysManager = pKmdSysManager; in SetUp()
49 pWddmSysmanImp->pKmdSysManager = pOriginalKmdSysManager; in TearDown()
50 if (pKmdSysManager != nullptr) { in TearDown()
51 delete pKmdSysManager; in TearDown()
52 pKmdSysManager = nullptr; in TearDown()
102 EXPECT_EQ(properties.type, pKmdSysManager->mockEngineTypes[engineGroupIndex++]); in TEST_F()
[all …]
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/tools/test/unit_tests/sources/sysman/memory/windows/
H A Dtest_zes_memory.cpp20 Mock<MemoryKmdSysManager> *pKmdSysManager = nullptr; member in L0::ult::SysmanDeviceMemoryFixture
36 pKmdSysManager = new Mock<MemoryKmdSysManager>; in SetUp()
38 EXPECT_CALL(*pKmdSysManager, escape(_, _, _, _, _)) in SetUp()
41 pOriginalKmdSysManager = pWddmSysmanImp->pKmdSysManager; in SetUp()
42 pWddmSysmanImp->pKmdSysManager = pKmdSysManager; in SetUp()
68 pWddmSysmanImp->pKmdSysManager = pOriginalKmdSysManager; in TearDown()
69 if (pKmdSysManager != nullptr) { in TearDown()
70 delete pKmdSysManager; in TearDown()
71 pKmdSysManager = nullptr; in TearDown()
169 EXPECT_EQ(properties.numChannels, pKmdSysManager->mockMemoryChannels); in TEST_F()
[all …]
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/tools/test/unit_tests/sources/sysman/temperature/windows/
H A Dtest_zes_temperature.cpp21 Mock<TemperatureKmdSysManager> *pKmdSysManager = nullptr; member in L0::ult::SysmanDeviceTemperatureFixture
30 pKmdSysManager = new Mock<TemperatureKmdSysManager>; in SetUp()
32 EXPECT_CALL(*pKmdSysManager, escape(_, _, _, _, _)) in SetUp()
35 pOriginalKmdSysManager = pWddmSysmanImp->pKmdSysManager; in SetUp()
36 pWddmSysmanImp->pKmdSysManager = pKmdSysManager; in SetUp()
59 pWddmSysmanImp->pKmdSysManager = pOriginalKmdSysManager; in TearDown()
60 if (pKmdSysManager != nullptr) { in TearDown()
61 delete pKmdSysManager; in TearDown()
62 pKmdSysManager = nullptr; in TearDown()
124 EXPECT_EQ(temperature, static_cast<double>(pKmdSysManager->mockTempMemory)); in TEST_F()
[all …]
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/tools/test/unit_tests/sources/sysman/events/windows/
H A Dtest_zes_events.cpp23 std::unique_ptr<Mock<MockKmdSysManager>> pKmdSysManager; member in L0::ult::SysmanEventsFixture
38 pKmdSysManager.reset(new Mock<MockKmdSysManager>); in init()
40 pKmdSysManager->allowSetCalls = allowSetCalls; in init()
42 EXPECT_CALL(*pKmdSysManager, escape(_, _, _, _, _)) in init()
43 … .WillRepeatedly(::testing::Invoke(pKmdSysManager.get(), &Mock<MockKmdSysManager>::mock_escape)); in init()
45 pOriginalKmdSysManager = pWddmSysmanImp->pKmdSysManager; in init()
46 pWddmSysmanImp->pKmdSysManager = pKmdSysManager.get(); in init()
68 pWddmSysmanImp->pKmdSysManager = pOriginalKmdSysManager; in TearDown()
94 pKmdSysManager->signalEvent(ZES_EVENT_TYPE_FLAG_DEVICE_DETACH); in TEST_F()
110 pKmdSysManager->signalEvent(ZES_EVENT_TYPE_FLAG_DEVICE_DETACH); in TEST_F()
[all …]
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/tools/source/sysman/windows/
H A Dos_sysman_imp.cpp23 pKmdSysManager = KmdSysManager::create(pWddm); in init()
24 UNRECOVERABLE_IF(nullptr == pKmdSysManager); in init()
39 UNRECOVERABLE_IF(nullptr == pKmdSysManager); in getKmdSysManager()
40 return *pKmdSysManager; in getKmdSysManager()
48 if (nullptr != pKmdSysManager) { in ~WddmSysmanImp()
49 delete pKmdSysManager; in ~WddmSysmanImp()
50 pKmdSysManager = nullptr; in ~WddmSysmanImp()
H A Dos_sysman_imp.h32 KmdSysManager *pKmdSysManager = nullptr;
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/tools/source/sysman/power/windows/
H A Dos_power_imp.cpp129 status = pKmdSysManager->requestSingle(request, response); in getLimits()
139 status = pKmdSysManager->requestSingle(request, response); in getLimits()
149 status = pKmdSysManager->requestSingle(request, response); in getLimits()
163 status = pKmdSysManager->requestSingle(request, response); in getLimits()
173 status = pKmdSysManager->requestSingle(request, response); in getLimits()
187 status = pKmdSysManager->requestSingle(request, response); in getLimits()
197 status = pKmdSysManager->requestSingle(request, response); in getLimits()
223 status = pKmdSysManager->requestSingle(request, response); in setLimits()
233 status = pKmdSysManager->requestSingle(request, response); in setLimits()
311 return pKmdSysManager->requestSingle(request, response); in setEnergyThreshold()
[all …]
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/tools/test/unit_tests/sources/sysman/fan/windows/
H A Dtest_zes_sysman_fan.cpp21 std::unique_ptr<Mock<FanKmdSysManager>> pKmdSysManager; member in L0::ult::SysmanDeviceFanFixture
31 pKmdSysManager.reset(new Mock<FanKmdSysManager>); in init()
33 pKmdSysManager->allowSetCalls = allowSetCalls; in init()
34 pKmdSysManager->fanSupported = fanSupported; in init()
36 EXPECT_CALL(*pKmdSysManager, escape(_, _, _, _, _)) in init()
37 … .WillRepeatedly(::testing::Invoke(pKmdSysManager.get(), &Mock<FanKmdSysManager>::mock_escape)); in init()
39 pOriginalKmdSysManager = pWddmSysmanImp->pKmdSysManager; in init()
40 pWddmSysmanImp->pKmdSysManager = pKmdSysManager.get(); in init()
54 pWddmSysmanImp->pKmdSysManager = pOriginalKmdSysManager; in TearDown()
115 EXPECT_EQ(properties.maxPoints, pKmdSysManager->mockFanMaxPoints); in TEST_F()
[all …]
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/tools/source/sysman/engine/windows/
H A Dos_engine_imp.cpp38 ze_result_t status = pKmdSysManager->requestSingle(request, response); in getActivity()
63 pKmdSysManager = &pWddmSysmanImp->getKmdSysManager(); in WddmEngineImp()
73 KmdSysManager *pKmdSysManager = &pWddmSysmanImp->getKmdSysManager(); in getNumEngineTypeAndInstances() local
82 ze_result_t status = pKmdSysManager->requestSingle(request, response); in getNumEngineTypeAndInstances()
H A Dos_engine_imp.h26 KmdSysManager *pKmdSysManager = nullptr;
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/tools/source/sysman/pci/windows/
H A Dos_pci_imp.cpp42 ze_result_t status = pKmdSysManager->requestMultiple(vRequests, vResponses); in getPciBdf()
83 ze_result_t status = pKmdSysManager->requestSingle(request, response); in getMaxLinkSpeed()
105 ze_result_t status = pKmdSysManager->requestSingle(request, response); in getMaxLinkWidth()
137 ze_result_t status = pKmdSysManager->requestMultiple(vRequests, vResponses); in getState()
167 if (pKmdSysManager->requestSingle(request, response) == ZE_RESULT_SUCCESS) { in resizableBarSupported()
186 if (pKmdSysManager->requestSingle(request, response) == ZE_RESULT_SUCCESS) { in resizableBarEnabled()
203 pKmdSysManager = &pWddmSysmanImp->getKmdSysManager(); in WddmPciImp()
H A Dos_pci_imp.h31 KmdSysManager *pKmdSysManager = nullptr;
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/tools/source/sysman/frequency/windows/
H A Dos_frequency_imp.cpp40 ze_result_t status = pKmdSysManager->requestMultiple(vRequests, vResponses); in osFrequencyGetProperties()
198 status = pKmdSysManager->requestSingle(request, response); in getOcFrequencyTarget()
268 status = pKmdSysManager->requestSingle(request, response); in getOcMode()
312 status = pKmdSysManager->requestSingle(request, response); in getOcIccMax()
338 return pKmdSysManager->requestSingle(request, response); in setOcIccMax()
352 status = pKmdSysManager->requestSingle(request, response); in getOcTjMax()
378 return pKmdSysManager->requestSingle(request, response); in setOcTjMax()
397 return pKmdSysManager->requestSingle(request, response); in setRange()
410 status = pKmdSysManager->requestSingle(request, response); in getRange()
617 pKmdSysManager = &pWddmSysmanImp->getKmdSysManager(); in WddmFrequencyImp()
[all …]
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/tools/source/sysman/fan/windows/
H A Dos_fan_imp.cpp47 ze_result_t status = pKmdSysManager->requestMultiple(vRequests, vResponses); in getProperties()
111 return pKmdSysManager->requestMultiple(vRequests, vResponses); in setSpeedTableMode()
127 ze_result_t status = pKmdSysManager->requestSingle(request, response); in getState()
149 return (pKmdSysManager->requestSingle(request, response) == ZE_RESULT_SUCCESS); in isFanModuleSupported()
154 pKmdSysManager = &pWddmSysmanImp->getKmdSysManager(); in WddmFanImp()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/tools/source/sysman/memory/windows/
H A Dos_memory_imp.cpp49 if (pKmdSysManager->requestSingle(request, response) != ZE_RESULT_SUCCESS) { in isMemoryModuleSupported()
85 ze_result_t status = pKmdSysManager->requestMultiple(vRequests, vResponses); in getProperties()
186 ze_result_t status = pKmdSysManager->requestMultiple(vRequests, vResponses); in getBandwidth()
228 status = pKmdSysManager->requestSingle(request, response); in getState()
243 if (!pdhCounterAdded && pdhAddEnglishCounterW && pKmdSysManager->GetWddmAccess()) { in getState()
244 …Str = constructCounterStr(L"GPU Adapter Memory", L"Dedicated Usage", pKmdSysManager->GetWddmAccess… in getState()
261 pKmdSysManager = &pWddmSysmanImp->getKmdSysManager(); in WddmMemoryImp()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/tools/source/sysman/temperature/windows/
H A Dos_temperature_imp.cpp52 ze_result_t status = pKmdSysManager->requestMultiple(vRequests, vResponses); in getProperties()
103 status = pKmdSysManager->requestSingle(request, response); in getSensorTemperature()
128 return (pKmdSysManager->requestSingle(request, response) == ZE_RESULT_SUCCESS); in isTempModuleSupported()
137 pKmdSysManager = &pWddmSysmanImp->getKmdSysManager(); in WddmTemperatureImp()
H A Dos_temperature_imp.h28 KmdSysManager *pKmdSysManager = nullptr;
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/tools/source/sysman/events/windows/
H A Dos_events_imp.cpp31 status = pKmdSysManager->requestSingle(request, response); in registerEvents()
59 status = pKmdSysManager->requestSingle(request, response); in unregisterEvents()
140 pKmdSysManager = &pWddmSysmanImp->getKmdSysManager(); in WddmEventsImp()
H A Dos_events_imp.h44 KmdSysManager *pKmdSysManager = nullptr;
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/level_zero/tools/source/sysman/global_operations/windows/
H A Dos_global_operations_imp.cpp48 return pKmdSysManager->requestSingle(request, response); in reset()
62 pKmdSysManager = &pWddmSysmanImp->getKmdSysManager(); in WddmGlobalOperationsImp()

12