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

Method GetKernelSymbol

compiler/lib/KernelGen/Arm/ArmCommon/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 << "ArmCommon_kernel_typecvt_" << SymbolHelper::gen_io_str(context);
39 return ss.str();
40}
41namespace {
42std::string init_declare(const std::string& src_dtype, const std::string& dst_dtype) {
43 auto src_dtype_enum = Utils::get_dtype_enum(src_dtype);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected