34 case mir::DataType::FLOAT32:
35 return F<float>::run(std::forward<Args>(args)...);
36 case mir::DataType::FLOAT64:
37 return F<double>::run(std::forward<Args>(args)...);
38 case mir::DataType::INT32:
39 return F<int32_t>::run(std::forward<Args>(args)...);
40 case mir::DataType::INT64:
41 return F<int64_t>::run(std::forward<Args>(args)...);
42 case mir::DataType::UINT8:
43 return F<uint8_t>::run(std::forward<Args>(args)...);
44 case mir::DataType::UNKNOWN:
45 throw std::runtime_error{
"Unknown datatype met during operation execution"};
47 throw std::runtime_error{
"mir::DataType enum mismatch"};