Skip to content
This repository was archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
zrr1999 committed Sep 18, 2022
1 parent fddcdd1 commit 948ad2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cinn/hlir/op/contrib/sort_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ TEST(GenerateCode_Cpu, Sort) {
ir::Expr h(28);

lang::Placeholder<int32_t> in("in", {n, h});
auto stages = CreateStages({tensor_A});
ir::Tensor out = Sort(tensor_A, target, stages, 1, true, stages, "test_sort_out");
auto stages = CreateStages({in});
ir::Tensor out = Sort(in, target, stages, 1, true, stages, "test_sort_out");
stages->InsertLazily(out);
std::vector<ir::LoweredFunc> funcs =
lang::LowerVec("TestGenerateCodeCpu_Sort", stages, {in, index, out}, {}, {}, nullptr, target, true);
Expand Down

0 comments on commit 948ad2e

Please sign in to comment.