[all-commits] [llvm/llvm-project] c27e10: [libclc] Mov erf & erfc to CLC library (#140524)

Fraser Cormack via All-commits all-commits at lists.llvm.org
Mon May 19 03:32:58 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c27e10fa65f76f5868da14c818f7cd021624ae8f
      https://github.com/llvm/llvm-project/commit/c27e10fa65f76f5868da14c818f7cd021624ae8f
  Author: Fraser Cormack <fraser at codeplay.com>
  Date:   2025-05-19 (Mon, 19 May 2025)

  Changed paths:
    A libclc/clc/include/clc/math/clc_erf.h
    A libclc/clc/include/clc/math/clc_erfc.h
    M libclc/clc/lib/generic/SOURCES
    A libclc/clc/lib/generic/math/clc_erf.cl
    A libclc/clc/lib/generic/math/clc_erfc.cl
    M libclc/generic/lib/math/erf.cl
    M libclc/generic/lib/math/erfc.cl

  Log Message:
  -----------
  [libclc] Mov erf & erfc to CLC library (#140524)

This completes the set of maths builtins.

No attempt to vectorize or optimize this code. The implementation is
licensed to SunPro so will probably need to be replaced at some point in
the future anyway. Calls to other builtins have been replaced with the
CLC equivalents, and some bit-hacking was replaced with the fabs
builtin.



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