Lines Matching refs:compute
52 inline bool compute(IOperationExecutionContext* context, T init, T func(T, T)) { in compute() function
171 return compute<_Float16>(context, 1, [](_Float16 a, _Float16 b) -> _Float16 { in executeProd()
177 return compute<float>(context, 1, [](float a, float b) -> float { in executeProd()
190 return compute<_Float16>(context, 0, [](_Float16 a, _Float16 b) { return a + b; }); in executeSum()
192 return compute<float>(context, 0, [](float a, float b) { return a + b; }); in executeSum()
201 return compute<_Float16>(context, kFloat16Lowest, in executeMax()
204 return compute<float>(context, std::numeric_limits<float>::lowest(), in executeMax()
207 return compute<uint8_t>(context, std::numeric_limits<uint8_t>::lowest(), in executeMax()
210 return compute<int8_t>(context, std::numeric_limits<int8_t>::lowest(), in executeMax()
220 return compute<_Float16>(context, kFloat16Max, in executeMin()
223 return compute<float>(context, std::numeric_limits<float>::max(), in executeMin()
226 return compute<uint8_t>(context, std::numeric_limits<uint8_t>::max(), in executeMin()
229 return compute<int8_t>(context, std::numeric_limits<int8_t>::max(), in executeMin()
239 return compute<bool8>(context, false, in executeAny()
249 return compute<bool8>(context, true, in executeAll()