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

Method GetKernelSymbol

compiler/lib/KernelGen/BareMetal/Typecvt.cpp:36–40  ·  view source on GitHub ↗

kernel gen

Source from the content-addressed store, hash-verified

34
35//! kernel gen
36std::string TypecvtKernel::GetKernelSymbol(TContext* context) const {
37 std::stringstream ss;
38 ss << "kernel_typecvt_" << SymbolHelper::gen_io_str(context);
39 return ss.str();
40}
41namespace {
42
43std::string gen_staturate(const std::string& dst_dtype) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected