| 12 | using namespace BareMetal; |
| 13 | |
| 14 | bool PowCKernel::IsAvailable(TContext* context) const { |
| 15 | bool ok_dtype = context->getAttrOprand("operand:0").dtype == "f32" || |
| 16 | context->getAttrOprand("operand:0").dtype == "f16"; |
| 17 | return ok_dtype; |
| 18 | } |
| 19 | |
| 20 | //! kernel gen |
| 21 | std::string PowCKernel::GetKernelSymbol(TContext* context) const { |
nothing calls this directly
no test coverage detected