We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44cb70c commit 3319072Copy full SHA for 3319072
paddle/fluid/operators/math/jit_kernel_test.cc
@@ -801,7 +801,11 @@ TEST(JitKernel, pool) {
801
std::dynamic_pointer_cast<const jit::Kernel>(pvmul_d));
802
803
const auto& pvmul_from_key = jit::KernelPool::Instance().Get("vmulfjit4");
804
- EXPECT_EQ(pvmul_f, pvmul_from_key);
+#if defined(__APPLE__) || defined(__OSX__) || defined(_WIN32)
805
+ EXPECT_EQ(pvmul_from_key, nullptr);
806
+#else
807
+ EXPECT_EQ(pvmul_from_key, pvmul_f);
808
+#endif
809
const auto& pvmul_from_key2 = jit::KernelPool::Instance().Get("vmulfjit");
810
EXPECT_TRUE(pvmul_from_key2 == nullptr);
811
}
0 commit comments