| 1089 | // See "Numeric" above for description of the generator functor |
| 1090 | template <template <typename...> class Generator, typename Type0, typename... Args> |
| 1091 | ArrayKernelExec GenerateFloatingPoint(detail::GetTypeId get_id) { |
| 1092 | switch (get_id.id) { |
| 1093 | case Type::FLOAT: |
| 1094 | return Generator<Type0, FloatType, Args...>::Exec; |
| 1095 | case Type::DOUBLE: |
| 1096 | return Generator<Type0, DoubleType, Args...>::Exec; |
| 1097 | default: |
| 1098 | ARROW_DCHECK(false); |
| 1099 | return nullptr; |
| 1100 | } |
| 1101 | } |
| 1102 | |
| 1103 | // Generate a kernel given a templated functor for integer types |
| 1104 | // |
nothing calls this directly
no outgoing calls
no test coverage detected