Skip to content

Commit

Permalink
Correct number of jit kernels in the test
Browse files Browse the repository at this point in the history
  • Loading branch information
wozna committed May 5, 2022
1 parent 5f2821d commit 49abf7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions paddle/fluid/operators/jit/test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1113,7 +1113,7 @@ TEST(JITKernel_pool, jitcreator) {
#if defined(_WIN32) || defined(__APPLE__) || defined(__OSX__)
EXPECT_EQ(jitcreators.size(), 0UL);
#else
EXPECT_EQ(jitcreators.size(), 26UL);
EXPECT_EQ(jitcreators.size(), 27UL);
#endif
}

Expand Down Expand Up @@ -1147,7 +1147,7 @@ TEST(JITKernel_pool, more) {

TEST(JITKernel_pool, refer) {
const auto& kers = jit::ReferKernelPool::Instance().AllKernels();
EXPECT_EQ(kers.size(), 32UL);
EXPECT_EQ(kers.size(), 33UL);
}

// test helper
Expand Down

1 comment on commit 49abf7f

@paddle-bot-old
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congratulation! Your pull request passed all required CI. You could ask reviewer(s) to approve and merge. 🎉

Please sign in to comment.