https://github.com/frasercrmck closed
https://github.com/llvm/llvm-project/pull/139701
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -43,7 +43,9 @@ _CLC_OVERLOAD _CLC_DEF __CLC_SCALAR_GENTYPE
__clc_length(__CLC_GENTYPE p) {
if (l2 < __CLC_GENTYPE_MIN) {
p *= __CLC_GENTYPE_MIN_SCALE_UP;
return __clc_sqrt(__clc_dot(p, p)) * __CLC_GENTYPE_MIN_SCALE_DOWN;
- } else if (l2 == INFINITY) {
+ }
+
+ i
https://github.com/frasercrmck updated
https://github.com/llvm/llvm-project/pull/139701
Rate limit ยท GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,sa
@@ -43,7 +43,9 @@ _CLC_OVERLOAD _CLC_DEF __CLC_SCALAR_GENTYPE
__clc_length(__CLC_GENTYPE p) {
if (l2 < __CLC_GENTYPE_MIN) {
p *= __CLC_GENTYPE_MIN_SCALE_UP;
return __clc_sqrt(__clc_dot(p, p)) * __CLC_GENTYPE_MIN_SCALE_DOWN;
- } else if (l2 == INFINITY) {
+ }
+
+ i
@@ -0,0 +1,60 @@
+//===--===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apac
https://github.com/frasercrmck updated
https://github.com/llvm/llvm-project/pull/139701
>From 0b08b0e3fe0befc2c10b66bd4c8efdab0f805e1a Mon Sep 17 00:00:00 2001
From: Fraser Cormack
Date: Mon, 14 Apr 2025 10:06:08 +0100
Subject: [PATCH 1/2] [libclc] Move (fast) length & distance to CLC library
https://github.com/arsenm approved this pull request.
https://github.com/llvm/llvm-project/pull/139701
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,60 @@
+//===--===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apac
github-actions[bot] wrote:
:warning: C/C++ code formatter, clang-format found issues in your code.
:warning:
You can test this locally with the following command:
``bash
git-clang-format --diff HEAD~1 HEAD --extensions inc,cl,h --
libclc/clc/include/clc/geometric/binary_decl.inc
https://github.com/frasercrmck created
https://github.com/llvm/llvm-project/pull/139701
This commit also refactors how geometric builtins are defined and declared, by
sharing more helpers. It also removes an unnecessary gentype-like helper in
favour of the more complete math/gentype.inc.
Ther
10 matches
Mail list logo