Skip to content

Commit 06c6d43

Browse files
committed
Fix build error on CI
1 parent b4e953a commit 06c6d43

File tree

2 files changed

+51
-1
lines changed

2 files changed

+51
-1
lines changed

unified-runtime/scripts/core/exp-graph.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ params:
9090
desc: "[in] Handle of the queue on which to end graph capture."
9191
- type: $x_exp_graph_handle_t*
9292
name: phGraph
93-
desc: "[out] Pointer to the handle of the recorded graph object. If $xGraphBeginCaptureIntoGraphExp
93+
desc: "[out] Pointer to the handle of the recorded graph object. If $xQueueBeginCaptureIntoGraphExp
9494
was used to begin the capture, then phGraph will contain the same graph that was passed to it."
9595
- type: void*
9696
name: pNext

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

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,54 @@ 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;
69+
(void)phGraph;
70+
(void)pNext;
71+
UR_LOG(ERR, "{} function not implemented!", __FUNCTION__);
72+
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
73+
}
74+
75+
ur_result_t
76+
urQueueInstantiateGraphExp(ur_exp_graph_handle_t hGraph,
77+
ur_exp_executable_graph_handle_t *phExecutableGraph,
78+
void *pNext) {
79+
(void)hGraph;
80+
(void)phExecutableGraph;
81+
(void)pNext;
82+
UR_LOG(ERR, "{} function not implemented!", __FUNCTION__);
83+
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
84+
}
85+
86+
ur_result_t urGraphDestroyExp(ur_exp_graph_handle_t hGraph) {
87+
(void)hGraph;
88+
UR_LOG(ERR, "{} function not implemented!", __FUNCTION__);
89+
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
90+
}
91+
92+
ur_result_t urGraphExecutableGraphDestroyExp(
93+
ur_exp_executable_graph_handle_t hExecutableGraph) {
94+
(void)hExecutableGraph;
95+
UR_LOG(ERR, "{} function not implemented!", __FUNCTION__);
96+
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
97+
}
98+
99+
ur_result_t urGraphIsEmptyExp(ur_exp_graph_handle_t hGraph, bool *hResult) {
100+
(void)hGraph;
101+
if (hResult)
102+
*hResult = false;
103+
UR_LOG(ERR, "{} function not implemented!", __FUNCTION__);
104+
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
105+
}
106+
107+
ur_result_t urGraphDumpContentsExp(ur_exp_graph_handle_t hGraph,
108+
const char *filePath, void *pNext) {
109+
(void)hGraph;
110+
(void)filePath;
111+
(void)pNext;
112+
UR_LOG(ERR, "{} function not implemented!", __FUNCTION__);
113+
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
114+
}
115+
66116
} // namespace ur::level_zero

0 commit comments

Comments
 (0)