@@ -132,6 +124,33 @@ function(link_bc)
)
endfunction()
+# Create a custom target for each bitcode file, which is the output of a custom
+# command. This is required for parallel compilation of the custom commands
that
+# generate the bitcode files when using the CMake MSVC
https://github.com/wenju-he updated
https://github.com/llvm/llvm-project/pull/154479
>From 75b5f46b2858b399482082eabd1388167aaa58e4 Mon Sep 17 00:00:00 2001
From: Wenju He
Date: Wed, 20 Aug 2025 07:57:54 +0200
Subject: [PATCH 1/4] [libclc] Only create a target per each compile command
for cmak
https://github.com/wenju-he edited
https://github.com/llvm/llvm-project/pull/154479
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -132,6 +124,33 @@ function(link_bc)
)
endfunction()
+# Create a custom target for each bitcode file, which is the output of a custom
+# command. This is required for parallel compilation of the custom commands
that
+# generate the bitcode files when using the CMake MSVC
@@ -335,19 +348,28 @@ function(add_libclc_builtin_set)
endif()
endforeach()
+ set( builtins_comp_lib_tgt builtins.comp.${ARG_ARCH_SUFFIX} )
+ if ( CMAKE_GENERATOR MATCHES "Visual Studio" )
wenju-he wrote:
> Perhaps a comment above this to explain what
https://github.com/wenju-he updated
https://github.com/llvm/llvm-project/pull/154479
>From 75b5f46b2858b399482082eabd1388167aaa58e4 Mon Sep 17 00:00:00 2001
From: Wenju He
Date: Wed, 20 Aug 2025 07:57:54 +0200
Subject: [PATCH 1/3] [libclc] Only create a target per each compile command
for cmak
https://github.com/wenju-he edited
https://github.com/llvm/llvm-project/pull/154479
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/wenju-he edited
https://github.com/llvm/llvm-project/pull/154479
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/wenju-he created
https://github.com/llvm/llvm-project/pull/154479
libclc sequential build issue addressed in commit 0c21d6b4c8ad is specific to
cmake MSVC generator. Therefore, this PR avoids creating a large number of
targets when a non-MSVC generator is used, such as the N
https://github.com/wenju-he closed
https://github.com/llvm/llvm-project/pull/153785
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/wenju-he created
https://github.com/llvm/llvm-project/pull/154084
Commit 0c21d6b4c8ad fixed sequential build of libclc on Windows by adding a
target for each compile command.
This PR conditionally enables DEPENDS_EXPLICIT_ONLY and requires at least cmake
version 3.27. DEPEND
https://github.com/wenju-he closed
https://github.com/llvm/llvm-project/pull/153523
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
wenju-he wrote:
https://github.com/llvm/llvm-project/pull/153785/commits/a8fcf405007d05d123f397f66b4139d53586c1b5
is a minor fix to return 1 for out-of-bound dim
https://github.com/llvm/llvm-project/pull/153785
___
cfe-commits mailing list
cfe-commits
https://github.com/wenju-he updated
https://github.com/llvm/llvm-project/pull/153785
>From d0a9e7fa683d294aaabf24ccc34cea54a8a5eb1f Mon Sep 17 00:00:00 2001
From: Wenju He
Date: Fri, 15 Aug 2025 12:43:54 +0200
Subject: [PATCH 1/2] [libclc] Implement
__clc_get_local_size/__clc_get_max_sub_group
https://github.com/wenju-he closed
https://github.com/llvm/llvm-project/pull/153784
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/wenju-he created
https://github.com/llvm/llvm-project/pull/153785
This simplifies downstream refactoring of libspirv workitem function in
https://github.com/intel/llvm/tree/sycl/libclc/libspirv/lib/generic
>From d0a9e7fa683d294aaabf24ccc34cea54a8a5eb1f Mon Sep 17 00:00:00 20
https://github.com/wenju-he created
https://github.com/llvm/llvm-project/pull/153784
None
>From c51ac2969099be4831c3d296fffec9e6f4fce780 Mon Sep 17 00:00:00 2001
From: Wenju He
Date: Fri, 15 Aug 2025 12:37:00 +0200
Subject: [PATCH] [libclc] Fix out-of-bound value for workitem functions
accord
wenju-he wrote:
> If you want to use these implementations, I'd rather merge the OCML content
> into libclc and migrate over to using it.
Tag @frasercrmck
The amdgcn implementation probably needs improvement to use llvm elementwise
builtin for e.g. half/float exp*
https://github.com/llvm/llv
https://github.com/wenju-he created
https://github.com/llvm/llvm-project/pull/153137
According to OpenCL spec, native_* functions have implementation-defined
accuracy and typically have better performance. We can enable floating- point
contraction optimizations for them.
>From 719a6914321afc0
@@ -0,0 +1,21 @@
+//===--===//
+//
+// 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/wenju-he updated
https://github.com/llvm/llvm-project/pull/152275
>From c48a94749e7e4ee261895826f2df2e2c48f040ef Mon Sep 17 00:00:00 2001
From: Wenju He
Date: Wed, 6 Aug 2025 11:07:15 +0200
Subject: [PATCH 1/3] [libclc] update __clc_mem_fence: add MemorySemantic arg
and use
https://github.com/wenju-he closed
https://github.com/llvm/llvm-project/pull/152703
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
wenju-he wrote:
> LGTM if you've tested it and it works 👍
Yes, the fix is verified both locally and in our internal CI.
I also fixed alias install in
https://github.com/llvm/llvm-project/pull/152703/commits/b6cbefcbc06e42d7107723cb5b37749f3b1e0931.
@frasercrmck please review this commit again
https://github.com/wenju-he updated
https://github.com/llvm/llvm-project/pull/152703
>From be71d635d2de980797be595c4f35f307c703bc96 Mon Sep 17 00:00:00 2001
From: Wenju He
Date: Fri, 8 Aug 2025 05:59:54 -0700
Subject: [PATCH 1/3] [libclc] Fix libclc install on Windows when MSVC
generator is us
https://github.com/wenju-he closed
https://github.com/llvm/llvm-project/pull/150174
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -92,10 +95,14 @@ else()
get_host_tool_path( llvm-link LLVM_LINK llvm-link_exe llvm-link_target )
get_host_tool_path( opt OPT opt_exe opt_target )
endif()
-endif()
-# Setup the paths where libclc runtimes should be stored.
-set( LIBCLC_OUTPUT_LIBRARY_DIR ${CMAKE_C
https://github.com/wenju-he updated
https://github.com/llvm/llvm-project/pull/152703
>From be71d635d2de980797be595c4f35f307c703bc96 Mon Sep 17 00:00:00 2001
From: Wenju He
Date: Fri, 8 Aug 2025 05:59:54 -0700
Subject: [PATCH 1/2] [libclc] Fix libclc install on Windows when MSVC
generator is us
https://github.com/wenju-he edited
https://github.com/llvm/llvm-project/pull/152703
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/wenju-he updated
https://github.com/llvm/llvm-project/pull/152703
>From be71d635d2de980797be595c4f35f307c703bc96 Mon Sep 17 00:00:00 2001
From: Wenju He
Date: Fri, 8 Aug 2025 05:59:54 -0700
Subject: [PATCH] [libclc] Fix libclc install on Windows when MSVC generator is
used
wenju-he wrote:
sorry, not working, closing PR
https://github.com/llvm/llvm-project/pull/152666
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/wenju-he closed
https://github.com/llvm/llvm-project/pull/152666
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/wenju-he edited
https://github.com/llvm/llvm-project/pull/146503
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -92,10 +95,14 @@ else()
get_host_tool_path( llvm-link LLVM_LINK llvm-link_exe llvm-link_target )
get_host_tool_path( opt OPT opt_exe opt_target )
endif()
-endif()
-# Setup the paths where libclc runtimes should be stored.
-set( LIBCLC_OUTPUT_LIBRARY_DIR ${CMAKE_C
https://github.com/wenju-he edited
https://github.com/llvm/llvm-project/pull/152275
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,21 @@
+//===--===//
+//
+// 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/wenju-he closed
https://github.com/llvm/llvm-project/pull/152463
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/wenju-he created
https://github.com/llvm/llvm-project/pull/152463
None
>From 10c997f9de3c2a99b2f7bd507523be901d7c6ee7 Mon Sep 17 00:00:00 2001
From: Wenju He
Date: Thu, 7 Aug 2025 00:47:50 -0700
Subject: [PATCH] [NFC][libclc] Delete unused
clc/shared/binary_decl_with_scalar
https://github.com/wenju-he created
https://github.com/llvm/llvm-project/pull/152456
Before this PR, PostOrderFunctionAttrsPass in opt run can deduce memory(none)
for these functions.
This PR explicitly adds the attribute to align with Clang's OpenCL headers and
ensures the attribute is prese
https://github.com/wenju-he closed
https://github.com/llvm/llvm-project/pull/152431
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
wenju-he wrote:
@arsenm I'm not sure if the change is an improvement, please review.
https://github.com/llvm/llvm-project/pull/152436
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/wenju-he created
https://github.com/llvm/llvm-project/pull/152436
Motivation is to upstream use of __ocml_rsqrt_ in
https://github.com/intel/llvm/blob/sycl/libclc/libspirv/lib/amdgcn-amdhsa/math/rsqrt.cl
llvm-diff shows vectorized calls of llvm.sqrt.v2f32 and fdiv are scalari
https://github.com/wenju-he created
https://github.com/llvm/llvm-project/pull/152431
None
>From 73299b736c61a2042aeadf46e62a93e11ca5a890 Mon Sep 17 00:00:00 2001
From: Wenju He
Date: Thu, 7 Aug 2025 05:03:56 +0200
Subject: [PATCH] [libclc] Add missing clc/lib/ptx-nvidiacl/SOURCES to
CMAKE_CON
@@ -0,0 +1,37 @@
+//===--===//
+//
+// 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/wenju-he created
https://github.com/llvm/llvm-project/pull/152275
It is necessary to add MemorySemantic argument which means the memory or
address space to which the memory ordering is applied.
The MemorySemantic is also necessary for implementing the SPIR-V MemoryBarrier
i
https://github.com/wenju-he created
https://github.com/llvm/llvm-project/pull/152245
The target's output bitcode `libclc_builtins_lib` is located in a sub-directory
in clang resource directory since df7473673214. Setting TARGET_FILE property
can allow targets in non-libclc project to obtain th
https://github.com/wenju-he closed
https://github.com/llvm/llvm-project/pull/151446
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,37 @@
+//===--===//
+//
+// 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/wenju-he edited
https://github.com/llvm/llvm-project/pull/151446
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,36 @@
+//===--===//
+//
+// 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/wenju-he updated
https://github.com/llvm/llvm-project/pull/151446
>From eed56d228c0613f563c23f9be23d681ef3d87f2b Mon Sep 17 00:00:00 2001
From: Wenju He
Date: Thu, 31 Jul 2025 05:07:23 +0200
Subject: [PATCH 1/3] [libclc] Move mem_fence and barrier to clc library
__clc_mem_fe
https://github.com/wenju-he created
https://github.com/llvm/llvm-project/pull/151644
Move id first along 0th dimension to achieve coalesced memory access when
stride is 1.
>From 1fe808b52e11dfe569c489a9dc8f1cdd3fa87afc Mon Sep 17 00:00:00 2001
From: Wenju He
Date: Fri, 1 Aug 2025 07:45:50 +02
https://github.com/wenju-he updated
https://github.com/llvm/llvm-project/pull/151446
>From eed56d228c0613f563c23f9be23d681ef3d87f2b Mon Sep 17 00:00:00 2001
From: Wenju He
Date: Thu, 31 Jul 2025 05:07:23 +0200
Subject: [PATCH 1/2] [libclc] Move mem_fence and barrier to clc library
__clc_mem_fe
https://github.com/wenju-he approved this pull request.
LGTM. I think llvm-spirv should be fixed, so that we can also use
__builtin_elementwise_max/minimumnum for the target.
https://github.com/llvm/llvm-project/pull/128506
___
cfe-commits mailing lis
@@ -43,8 +48,10 @@ _CLC_DEF _CLC_OVERLOAD half __clc_fmin(half x, half y) {
return (y < x) ? y : x;
wenju-he wrote:
>I wonder if we in fact want to have `half` use `__builtin_fminf16`? We can
>simplify the definitions if all types are using a builtin. What do
https://github.com/wenju-he approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/150972
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -43,8 +48,10 @@ _CLC_DEF _CLC_OVERLOAD half __clc_fmin(half x, half y) {
return (y < x) ? y : x;
wenju-he wrote:
can we use this same implementation for float and double?
https://github.com/llvm/llvm-project/pull/128506
@@ -5,6 +5,9 @@ if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
endif()
set(LLVM_SUBPROJECT_TITLE "libclc")
+# Top level target used to build all Libclc libraries.
+add_custom_target( libclc ALL )
wenju-he wrote:
can we put this line near line 48~49, o
https://github.com/wenju-he created
https://github.com/llvm/llvm-project/pull/150181
Also delete unary_def_via_fp32.inc. There are small changes in
amdgcn--amdhsa.bc due to vector conversion is scalarized, e.g.
%2 = fpext <4 x half> %0 to <4 x float>
%3 = extractelement <4 x float> %2, i64
https://github.com/wenju-he created
https://github.com/llvm/llvm-project/pull/150174
This is to upstream implementations in
https://github.com/intel/llvm/tree/sycl/libclc/clc/lib/ptx-nvidiacl/math
>From d4fcaf56d63efe283240bfc582706e268e30c854 Mon Sep 17 00:00:00 2001
From: Wenju He
Date: Wed
https://github.com/wenju-he edited
https://github.com/llvm/llvm-project/pull/150165
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
wenju-he wrote:
llvm-diff amdgcn--amdhsa.bc.new amdgcn--amdhsa.bc.old
```
in function _Z9normalizeDh:
in block %1 / %1:
> %2 = fpext half %0 to float
%2 = fcmp one half %0, 0xH
> %4 = select i1 %3, float 1.00e+00, float 0.00e+00
> %5 = tail call noundef flo
https://github.com/wenju-he created
https://github.com/llvm/llvm-project/pull/150165
This is ported from
https://github.com/intel/llvm/blob/sycl/libclc/libspirv/lib/generic/geometric/normalize.cl
and can pass a closed-source OpenCL CTS
"test_geometrics geom_normalize --half CL_DEVICE_TYPE_GPU"
wenju-he wrote:
> If the decision is the conformance test continues doing what it has been
> doing, it should directly map to llvm.minimumnum/maximumnum.
For now, @frasercrmck can we update this PR to use
__builtin_elementwise_maximumnum/minimumnum so that OpenCL CTS can pass?
https://github.
@@ -4108,6 +4108,22 @@ RValue CodeGenFunction::EmitBuiltinExpr(const GlobalDecl
GD, unsigned BuiltinID,
return RValue::get(Result);
}
+ case Builtin::BI__builtin_elementwise_maximumnum: {
+Value *Op0 = EmitScalarExpr(E->getArg(0));
wenju-he wrote:
https://github.com/wenju-he created
https://github.com/llvm/llvm-project/pull/149775
Addresses https://github.com/llvm/llvm-project/issues/112164. minimumnum and
maximumnum intrinsics were added in 5bf81e53dbea.
The new built-ins can be used for implementing OpenCL math function fmax and
fmin
https://github.com/wenju-he edited
https://github.com/llvm/llvm-project/pull/149728
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -425,17 +425,21 @@ function(add_libclc_builtin_set)
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} )
endif()
- if(CMAKE_HOST_UNIX OR LLVM_USE_SYMLINKS)
-set(LIBCLC_LINK_OR_COPY create_symlink)
- else()
-set(LIBCLC_LINK_OR_COPY copy)
- endif()
-
foreach(
@@ -425,17 +425,21 @@ function(add_libclc_builtin_set)
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} )
endif()
- if(CMAKE_HOST_UNIX OR LLVM_USE_SYMLINKS)
-set(LIBCLC_LINK_OR_COPY create_symlink)
- else()
-set(LIBCLC_LINK_OR_COPY copy)
- endif()
-
foreach(
https://github.com/wenju-he closed
https://github.com/llvm/llvm-project/pull/149269
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/wenju-he updated
https://github.com/llvm/llvm-project/pull/149269
>From 9ac644cb8ed43ac28e0ee715f0a0e6bed4df470a Mon Sep 17 00:00:00 2001
From: Wenju He
Date: Thu, 17 Jul 2025 10:02:20 +0200
Subject: [PATCH 1/2] [libclc] Enable `clang fp reciprocal` in
clc_native_divide/reci
https://github.com/wenju-he created
https://github.com/llvm/llvm-project/pull/149269
The pragma adds `arcp` flag to `fdiv` instruction in these functions. The flag
can provide better performance.
>From 9ac644cb8ed43ac28e0ee715f0a0e6bed4df470a Mon Sep 17 00:00:00 2001
From: Wenju He
Date: Thu,
https://github.com/wenju-he created
https://github.com/llvm/llvm-project/pull/149252
llvm-diff shows no change to amdgcn--amdhsa.bc.
>From 91827fa45fbf45936e57241b0bb0c1a215112834 Mon Sep 17 00:00:00 2001
From: Wenju He
Date: Thu, 17 Jul 2025 07:27:50 +0200
Subject: [PATCH] [NFC][libclc] Delet
https://github.com/wenju-he updated
https://github.com/llvm/llvm-project/pull/149070
>From 9f8b12e6cf600cd05bab586e3d521e5354789e12 Mon Sep 17 00:00:00 2001
From: Wenju He
Date: Wed, 16 Jul 2025 12:44:48 +0200
Subject: [PATCH 1/3] [libclc] Add generic implementation of
bitfield_insert/extract,
https://github.com/wenju-he closed
https://github.com/llvm/llvm-project/pull/148997
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/wenju-he edited
https://github.com/llvm/llvm-project/pull/148997
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/wenju-he edited
https://github.com/llvm/llvm-project/pull/148997
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/wenju-he created
https://github.com/llvm/llvm-project/pull/149070
The implementation is based on reference implementation in
OpenCL-CTS/test_integer_ops. The generic implementations pass
OpenCL-CTS/test_integer_ops tests on Intel GPU.
>From 9f8b12e6cf600cd05bab586e3d521e535
wenju-he wrote:
> I think this could optionally do with a comment before explaining what this
> flag is helping to achieve, but it's not a blocker.
it is explained at https://clang.llvm.org/docs/UsersManual.html#id72 and
reducing size and verbosity is what this flag is intended for. I mean the
https://github.com/wenju-he approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/148815
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -164,34 +164,14 @@ endif()
list( SORT LIBCLC_TARGETS_TO_BUILD )
-# Construct LLVM version define
-set( LLVM_VERSION_DEFINE
"-DHAVE_LLVM=0x${LLVM_VERSION_MAJOR}0${LLVM_VERSION_MINOR}" )
-
# This needs to be set before any target that needs it
# We need to use LLVM_INCLUD
@@ -0,0 +1,24 @@
+# Construct LLVM version define
+set( LLVM_VERSION_DEFINE
"-DHAVE_LLVM=0x${LLVM_VERSION_MAJOR}0${LLVM_VERSION_MINOR}" )
+
+# Setup prepare_builtins tools
+set(LLVM_LINK_COMPONENTS
wenju-he wrote:
add a space after `(` to align with the style in
https://github.com/wenju-he edited
https://github.com/llvm/llvm-project/pull/146814
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,24 @@
+//===--===//
+//
+// 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
@@ -0,0 +1,24 @@
+//===--===//
+//
+// 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/wenju-he approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/147490
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
wenju-he wrote:
> > > Perhaps we need a stripped down OpenCL header, like
> > > `clc/opencl/opencl-base.h` which includes just the types and macro defs?
> >
> >
> > See #146840 for an example of this approach.
>
> thanks @frasercrmck I'll update OpenCL headers of this PR after #146840 is
> l
https://github.com/wenju-he closed
https://github.com/llvm/llvm-project/pull/147244
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/wenju-he edited
https://github.com/llvm/llvm-project/pull/147244
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
wenju-he wrote:
> This isn't `NFC`, though?
Removed `NFC`. I was not seeing changes in OpenCL bitcode files.
https://github.com/llvm/llvm-project/pull/147244
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailma
https://github.com/wenju-he edited
https://github.com/llvm/llvm-project/pull/147244
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/wenju-he created
https://github.com/llvm/llvm-project/pull/147244
None
>From c839f41508410f0fba1206d4b1cf34e52b92fa65 Mon Sep 17 00:00:00 2001
From: Wenju He
Date: Mon, 7 Jul 2025 09:07:45 +0200
Subject: [PATCH] [NFC][libclc] Fix typo in OpenCL header math/sincos.h
---
lib
https://github.com/wenju-he updated
https://github.com/llvm/llvm-project/pull/146814
>From 6429b5538dcfcd9de262f6f0a49d8283db8f5db9 Mon Sep 17 00:00:00 2001
From: Wenju He
Date: Wed, 2 Jul 2025 17:11:56 -0700
Subject: [PATCH 1/2] [libclc] Add generic implementation of some atomic
functions in
https://github.com/wenju-he closed
https://github.com/llvm/llvm-project/pull/146999
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/wenju-he approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/146840
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/wenju-he updated
https://github.com/llvm/llvm-project/pull/146814
>From 6429b5538dcfcd9de262f6f0a49d8283db8f5db9 Mon Sep 17 00:00:00 2001
From: Wenju He
Date: Wed, 2 Jul 2025 17:11:56 -0700
Subject: [PATCH 1/2] [libclc] Add generic implementation of some atomic
functions in
wenju-he wrote:
> > Perhaps we need a stripped down OpenCL header, like
> > `clc/opencl/opencl-base.h` which includes just the types and macro defs?
>
> See #146840 for an example of this approach.
thanks @frasercrmck I'll update OpenCL headers of this PR after #146840 is
landed.
https://git
@@ -6,5 +6,12 @@
//
//===--===//
+#ifndef __CLC_OPENCL_OPENCL_INTEGER_ABS_H__
wenju-he wrote:
```suggestion
#ifndef __CLC_OPENCL_INTEGER_ABS_H__
```
one OPENCL should be sufficient, right?
https://github.com/wenju-he approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/146833
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -120,14 +120,15 @@ function(link_bc)
endif()
add_custom_command(
-OUTPUT ${ARG_TARGET}.bc
-COMMAND ${llvm-link_exe} ${link_flags} -o ${ARG_TARGET}.bc
${LINK_INPUT_ARG}
+OUTPUT ${LIBCLC_ARCH_OBJFILE_DIR}/${ARG_TARGET}.bc
+COMMAND ${llvm-link_exe} ${link_
https://github.com/wenju-he edited
https://github.com/llvm/llvm-project/pull/146298
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
1 - 100 of 267 matches
Mail list logo