Skip to content

Commit d5d327b

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

File tree

2 files changed

+50
-1
lines changed

2 files changed

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

0 commit comments

Comments
 (0)