kernel gen
| 12 | } |
| 13 | //! kernel gen |
| 14 | std::string ConcatKernel::GetKernelSymbol(TContext* context) const { |
| 15 | std::stringstream ss; |
| 16 | auto dtype_size = Utils::get_dtype_size(context->getAttrOprand("operand:0").dtype); |
| 17 | |
| 18 | ss << "kernel_concat_byte_" << dtype_size << "_axis_" |
| 19 | << context->getAttrInt("axis"); |
| 20 | return ss.str(); |
| 21 | } |
| 22 | |
| 23 | std::string ConcatKernel::GetKernelBody(TContext* context) const { |
| 24 | std::stringstream writer; |
nothing calls this directly
no test coverage detected