[all-commits] [llvm/llvm-project] 293c78: [libclc] Move ceil/fabs/floor/rint/trunc to CLC li...

Fraser Cormack via All-commits all-commits at lists.llvm.org
Mon Nov 4 08:35:36 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 293c78ba0a93cb03238a909c96dcd399e685f575
      https://github.com/llvm/llvm-project/commit/293c78ba0a93cb03238a909c96dcd399e685f575
  Author: Fraser Cormack <fraser at codeplay.com>
  Date:   2024-11-04 (Mon, 04 Nov 2024)

  Changed paths:
    A libclc/clc/include/clc/math/clc_ceil.h
    A libclc/clc/include/clc/math/clc_fabs.h
    A libclc/clc/include/clc/math/clc_floor.h
    A libclc/clc/include/clc/math/clc_rint.h
    A libclc/clc/include/clc/math/clc_trunc.h
    A libclc/clc/include/clc/math/unary_decl.inc
    A libclc/clc/include/clc/math/unary_intrin.inc
    A libclc/clc/include/clc/utils.h
    R libclc/generic/include/clc/math/unary_decl.inc
    R libclc/generic/include/math/unary_intrin.inc
    M libclc/generic/lib/clcmacro.h
    M libclc/generic/lib/math/ceil.cl
    M libclc/generic/lib/math/clc_fmod.cl
    M libclc/generic/lib/math/clc_pow.cl
    M libclc/generic/lib/math/clc_pown.cl
    M libclc/generic/lib/math/clc_powr.cl
    M libclc/generic/lib/math/clc_remainder.cl
    M libclc/generic/lib/math/clc_remquo.cl
    M libclc/generic/lib/math/clc_rootn.cl
    M libclc/generic/lib/math/clc_sqrt.cl
    M libclc/generic/lib/math/clc_tan.cl
    M libclc/generic/lib/math/fabs.cl
    M libclc/generic/lib/math/floor.cl
    M libclc/generic/lib/math/native_unary_intrinsic.inc
    M libclc/generic/lib/math/rint.cl
    M libclc/generic/lib/math/round.cl
    M libclc/generic/lib/math/trunc.cl

  Log Message:
  -----------
  [libclc] Move ceil/fabs/floor/rint/trunc to CLC library (#114774)

These functions are all mapped to LLVM intrinsics.

The clspv and spirv targets don't declare or define any of these CLC
functions, and instead map these to their corresponding OpenCL symbols.



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