Skip to content

Commit 5e2b82a

Browse files
committed
Fix build error on CI
1 parent b4e953a commit 5e2b82a

File tree

1 file changed

+43
-0
lines changed
  • unified-runtime/source/adapters/level_zero/v2

1 file changed

+43
-0
lines changed

unified-runtime/source/adapters/level_zero/v2/api.cpp

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,47 @@ ur_result_t UR_APICALL urUSMPoolTrimToExp(ur_context_handle_t hContext,
6363
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
6464
}
6565

66+
ur_result_t urGraphCreateExp(ur_context_handle_t hContext,
67+
ur_exp_graph_handle_t *phGraph, void *pNext) {
68+
(void)hContext; (void)phGraph; (void)pNext;
69+
UR_LOG(ERR, "{} function not implemented!", __FUNCTION__);
70+
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
71+
}
72+
73+
ur_result_t urQueueInstantiateGraphExp(
74+
ur_exp_graph_handle_t hGraph,
75+
ur_exp_executable_graph_handle_t *phExecutableGraph, void *pNext) {
76+
(void)hGraph; (void)phExecutableGraph; (void)pNext;
77+
UR_LOG(ERR, "{} function not implemented!", __FUNCTION__);
78+
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
79+
}
80+
81+
ur_result_t urGraphDestroyExp(ur_exp_graph_handle_t hGraph) {
82+
(void)hGraph;
83+
UR_LOG(ERR, "{} function not implemented!", __FUNCTION__);
84+
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
85+
}
86+
87+
ur_result_t urGraphExecutableGraphDestroyExp(
88+
ur_exp_executable_graph_handle_t hExecutableGraph) {
89+
(void)hExecutableGraph;
90+
UR_LOG(ERR, "{} function not implemented!", __FUNCTION__);
91+
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
92+
}
93+
94+
ur_result_t urGraphIsEmptyExp(ur_exp_graph_handle_t hGraph, bool *hResult) {
95+
(void)hGraph;
96+
if (hResult)
97+
*hResult = false;
98+
UR_LOG(ERR, "{} function not implemented!", __FUNCTION__);
99+
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
100+
}
101+
102+
ur_result_t urGraphDumpContentsExp(ur_exp_graph_handle_t hGraph,
103+
const char *filePath, void *pNext) {
104+
(void)hGraph; (void)filePath; (void)pNext;
105+
UR_LOG(ERR, "{} function not implemented!", __FUNCTION__);
106+
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
107+
}
108+
66109
} // namespace ur::level_zero

0 commit comments

Comments
 (0)