Lines Matching refs:compute
52 inline bool compute(IOperationExecutionContext* context, T init, T func(T, T)) { in compute() function
169 return compute<_Float16>(context, 1, [](_Float16 a, _Float16 b) -> _Float16 { in executeProd()
175 return compute<float>(context, 1, [](float a, float b) -> float { in executeProd()
188 return compute<_Float16>(context, 0, [](_Float16 a, _Float16 b) { return a + b; }); in executeSum()
190 return compute<float>(context, 0, [](float a, float b) { return a + b; }); in executeSum()
199 return compute<_Float16>(context, kFloat16Lowest, in executeMax()
202 return compute<float>(context, std::numeric_limits<float>::lowest(), in executeMax()
205 return compute<uint8_t>(context, std::numeric_limits<uint8_t>::lowest(), in executeMax()
208 return compute<int8_t>(context, std::numeric_limits<int8_t>::lowest(), in executeMax()
218 return compute<_Float16>(context, kFloat16Max, in executeMin()
221 return compute<float>(context, std::numeric_limits<float>::max(), in executeMin()
224 return compute<uint8_t>(context, std::numeric_limits<uint8_t>::max(), in executeMin()
227 return compute<int8_t>(context, std::numeric_limits<int8_t>::max(), in executeMin()
237 return compute<bool8>(context, false, in executeAny()
247 return compute<bool8>(context, true, in executeAll()