[all-commits] [llvm/llvm-project] 135727: [libclc] Move rsqrt to the CLC library (#129045)

Fraser Cormack via All-commits all-commits at lists.llvm.org
Thu Feb 27 07:47:21 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1357279df9d255ac60cec0dd755349a12083c8b0
      https://github.com/llvm/llvm-project/commit/1357279df9d255ac60cec0dd755349a12083c8b0
  Author: Fraser Cormack <fraser at codeplay.com>
  Date:   2025-02-27 (Thu, 27 Feb 2025)

  Changed paths:
    M libclc/CMakeLists.txt
    A libclc/clc/include/clc/math/clc_rsqrt.h
    M libclc/clc/lib/generic/SOURCES
    A libclc/clc/lib/generic/math/clc_rsqrt.cl
    A libclc/clc/lib/generic/math/clc_rsqrt.inc
    A libclc/clc/lib/r600/SOURCES
    A libclc/clc/lib/r600/math/clc_rsqrt_override.cl
    M libclc/generic/lib/math/rsqrt.cl
    M libclc/r600/lib/SOURCES
    R libclc/r600/lib/math/rsqrt.cl

  Log Message:
  -----------
  [libclc] Move rsqrt to the CLC library (#129045)

This also adds missing half variants to certain targets.

It also optimizes some targets' implementations to perform the operation
directly in vector types, as opposed to scalarizing.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list