Skip to content

Commit d5c33a0

Browse files
FIX-#150: Fixed CI build failure caused by changes in 3rd-party repo (#151)
1 parent 365808b commit d5c33a0

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/dnnl/dnnl_graph_compiler.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,13 +146,11 @@ GC_DLL_EXPORT dnnl_status_t dnnl_graph_compiler_compile(
146146
}
147147

148148
GC_DLL_EXPORT void dnnl_graph_compiler_destroy_executable(
149-
const struct dnnl_graph_compiler *gc,
150149
const struct dnnl_graph_compiler_executable *exe) {
151150
delete exe;
152151
}
153152

154153
GC_DLL_EXPORT dnnl_status_t dnnl_graph_compiler_execute(
155-
const struct dnnl_graph_compiler *gc,
156154
const struct dnnl_graph_compiler_executable *exe,
157155
dnnl_graph_compiler_tensor *inputs, dnnl_graph_compiler_tensor *outputs) {
158156
try {

test/dnnl/TestDnnlCInterface.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,9 @@ TEST(TestDnnlCInterface, basicWorkflow) {
4242
inputs[1] = {.id = 1, .ndims = 1, .dims = dims, .data = &data_buf[40]};
4343
outputs[0] = {.id = 2, .ndims = 1, .dims = dims, .data = &data_buf[80]};
4444

45-
ASSERT_EQ(dnnl_graph_compiler_execute(gc, exe, inputs, outputs),
46-
dnnl_success);
45+
ASSERT_EQ(dnnl_graph_compiler_execute(exe, inputs, outputs), dnnl_success);
4746

48-
dnnl_graph_compiler_destroy_executable(gc, exe);
47+
dnnl_graph_compiler_destroy_executable(exe);
4948
dnnl_graph_compiler_destroy(gc);
5049
}
5150

0 commit comments

Comments
 (0)