MCPcopy Create free account
hub / github.com/MegEngine/MegCC / Checker

Method Checker

compiler/test/kernel/common/checker.h:21–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19 using BeforeExecCallback = std::function<void(Opr*, const TensorNDArray&)>;
20 using OutputCanonizer = std::function<void(const TensorNDArray&)>;
21 Checker(KernelGen::Arch arch = KernelGen::Arch::BAREMETAL, const int dnn_level = 2)
22 : Runner<Opr>(arch, dnn_level), m_arch(arch), m_kernel_symbol(".*") {}
23
24 /*!
25 * \brief execute opr on current param/dtype/rng config

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected