Skip to content

Commit

Permalink
Refactor2023: Remove dependencies on Program::this_thread_config() in…
Browse files Browse the repository at this point in the history
… lang::launch_kernel() (fixed bug
  • Loading branch information
PGZXB committed Dec 8, 2022
1 parent 3164640 commit f9de0fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/cpp/program/graph_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ TEST(GraphTest, SimpleGraphRun) {
args.insert({"arr", aot::IValue::create(array)});
args.insert({"x", aot::IValue::create<int>(2)});

g->run(args);
g->jit_run(test_prog.prog(), test_prog.prog()->this_thread_config(), args);
test_prog.prog()->synchronize();
EXPECT_EQ(array.read_int({0}), 2);
EXPECT_EQ(array.read_int({1}), 2);
Expand Down

0 comments on commit f9de0fe

Please sign in to comment.