MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / TEST

Function TEST

test/cpp/compat/c10_DispatchKeySet_test.cc:33–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31// ---------- Constructors ----------------------------------------------------
32
33TEST(DispatchKeySetTest, DefaultConstructorEmpty) {
34 c10::DispatchKeySet ks;
35 EXPECT_TRUE(ks.empty());
36 EXPECT_EQ(ks.raw_repr(), 0u);
37}
38
39TEST(DispatchKeySetTest, ConstructFromDispatchKeyUndefined) {
40 c10::DispatchKeySet ks(c10::DispatchKey::Undefined);

Callers

nothing calls this directly

Calls 15

DispatchKeySetClass · 0.85
legacyExtractDispatchKeyFunction · 0.85
raw_reprMethod · 0.80
has_backendMethod · 0.80
has_allMethod · 0.80
has_anyMethod · 0.80
isSupersetOfMethod · 0.80
remove_backendMethod · 0.80

Tested by

no test coverage detected