MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / assert_eq

Function assert_eq

dnn/test/fallback/gi.cpp:32–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30
31template <typename T>
32static void assert_eq(T* a, const std::vector<T>& b, const size_t simd_len = SIMD_LEN) {
33 for (size_t i = 0; i < simd_len; i++) {
34 ASSERT_EQ(a[i], b[i]);
35 }
36}
37
38template <typename T>
39static void assert_eq_and_nan(

Callers 1

TEST_FFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected