mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-10 07:08:04 +08:00
Update L0 Loader to 1.4.1 (v1.2 spec)
Also make changes to debug API to mitigate API break Signed-off-by: Brandon Yates <brandon.yates@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
db82df80e7
commit
52ad8b0977
@@ -50,10 +50,10 @@ struct DebugSessionMock : public L0::RootDebugSession {
|
||||
ze_result_t acknowledgeEvent(const zet_debug_event_t *event) override {
|
||||
return ZE_RESULT_ERROR_UNSUPPORTED_FEATURE;
|
||||
}
|
||||
ze_result_t readRegisters(ze_device_thread_t thread, zet_debug_regset_type_t type, uint32_t start, uint32_t count, void *pRegisterValues) override {
|
||||
ze_result_t readRegisters(ze_device_thread_t thread, uint32_t type, uint32_t start, uint32_t count, void *pRegisterValues) override {
|
||||
return ZE_RESULT_ERROR_UNSUPPORTED_FEATURE;
|
||||
}
|
||||
ze_result_t writeRegisters(ze_device_thread_t thread, zet_debug_regset_type_t type, uint32_t start, uint32_t count, void *pRegisterValues) override {
|
||||
ze_result_t writeRegisters(ze_device_thread_t thread, uint32_t type, uint32_t start, uint32_t count, void *pRegisterValues) override {
|
||||
return ZE_RESULT_ERROR_UNSUPPORTED_FEATURE;
|
||||
}
|
||||
ze_result_t getRegisterSetPropertiesExp(uint32_t *pCount, zet_debug_regset_properties_exp_t *pRegisterSetPropertiesExp) override {
|
||||
|
||||
@@ -94,7 +94,7 @@ TEST(DebugSessionTest, WhenUnsupportedFunctionCalledThenErrorIsReturned) {
|
||||
result = L0::DebugApiHandlers::debugGetRegisterSetProperties(hDevice, nullptr, nullptr);
|
||||
EXPECT_EQ(result, ZE_RESULT_ERROR_UNSUPPORTED_FEATURE);
|
||||
|
||||
zet_debug_regset_type_t type = {ZET_DEBUG_REGSET_TYPE_INVALID};
|
||||
uint32_t type = {0};
|
||||
result = L0::DebugApiHandlers::debugReadRegisters(session, thread, type, 0, 0, nullptr);
|
||||
EXPECT_EQ(result, ZE_RESULT_ERROR_UNSUPPORTED_FEATURE);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user