[all-commits] [llvm/llvm-project] 6b5388: [mlir][math] Add math.cbrt polynomial approximation
Rob Suderman via All-commits
all-commits at lists.llvm.org
Mon Mar 6 13:31:08 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6b5388104803262fedc783ad09d4b4fdfcc3646f
https://github.com/llvm/llvm-project/commit/6b5388104803262fedc783ad09d4b4fdfcc3646f
Author: Robert Suderman <suderman at google.com>
Date: 2023-03-06 (Mon, 06 Mar 2023)
Changed paths:
M mlir/lib/Dialect/Math/Transforms/PolynomialApproximation.cpp
M mlir/test/Dialect/Math/polynomial-approximation.mlir
M mlir/test/mlir-cpu-runner/math-polynomial-approx.mlir
Log Message:
-----------
[mlir][math] Add math.cbrt polynomial approximation
Cbrt can be approximated with some relatively simple polynomial
operators. This includes a lit test validating the implementation
and some run tests that validate numerical correct.
Reviewed By: jpienaar
Differential Revision: https://reviews.llvm.org/D145019
More information about the All-commits
mailing list