[all-commits] [llvm/llvm-project] 88c830: [TOSA] Fix avgpool2d accum in wider type (#80849)

RoboTux via All-commits all-commits at lists.llvm.org
Wed Feb 7 02:03:30 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 88c830a1a5687bec597ca947159e4dd9a3f2ac2d
      https://github.com/llvm/llvm-project/commit/88c830a1a5687bec597ca947159e4dd9a3f2ac2d
  Author: Thomas Preud'homme <thomas.preudhomme at arm.com>
  Date:   2024-02-07 (Wed, 07 Feb 2024)

  Changed paths:
    M mlir/lib/Conversion/TosaToLinalg/TosaToLinalgNamed.cpp
    M mlir/test/Conversion/TosaToLinalg/tosa-to-linalg-named.mlir

  Log Message:
  -----------
  [TOSA] Fix avgpool2d accum in wider type (#80849)

Truncate result of avgpool when accumulation is done in a wider type
than the result element type, such as when doing a f16 avgpool2d with a
f32 accumulator type.




More information about the All-commits mailing list