[libclc] [libclc] Build for OpenCL 3.0 (PR #135733)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 23 07:58:34 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `premerge-monolithic-windows` running on `premerge-windows-1` while building `libclc` at step 5 "clean-build-dir".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/35/builds/9454
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (clean-build-dir) failure: Delete failed. (failure)
Step 7 (build-unified-tree) failure: build (failure)
...
[9342/13306] Generating obj.libclc.dir/amdgcn--amdhsa/clc/lib/generic/relational/clc_isless.cl.bc
[9343/13306] Generating obj.libclc.dir/tahiti-amdgcn-mesa-mesa3d/clc/lib/generic/shared/clc_max.cl.bc
[9344/13306] Generating obj.libclc.dir/amdgcn--amdhsa/clc/lib/generic/common/clc_smoothstep.cl.bc
[9345/13306] Generating obj.libclc.dir/tahiti-amdgcn--/clc/lib/amdgcn/math/clc_ldexp_override.cl.bc
[9346/13306] Generating obj.libclc.dir/nvptx--/clc/lib/generic/math/clc_acos.cl.bc
[9347/13306] Generating obj.libclc.dir/clspv64--/clc/lib/generic/math/clc_lgamma.cl.bc
[9348/13306] Generating obj.libclc.dir/nvptx--/clc/lib/generic/relational/clc_signbit.cl.bc
[9349/13306] Generating obj.libclc.dir/clspv--/clc/lib/generic/math/clc_cosh.cl.bc
[9350/13306] Generating obj.libclc.dir/tahiti-amdgcn--/clc/lib/generic/math/clc_atan2.cl.bc
[9351/13306] Generating obj.libclc.dir/cedar-r600--/generic/lib/relational/bitselect.cl.bc
FAILED: tools/libclc/obj.libclc.dir/cedar-r600--/generic/lib/relational/bitselect.cl.bc
cmd.exe /C "cd /D C:\ws\buildbot\premerge-monolithic-windows\build\tools\libclc && C:\ws\buildbot\premerge-monolithic-windows\build\bin\clang.exe -target r600-- -c -fno-builtin -nostdlib -cl-std=CL3.0 -DCLC_R600 -IC:/ws/buildbot/premerge-monolithic-windows/llvm-project/libclc/clc/include -mcpu=cedar -IC:/ws/buildbot/premerge-monolithic-windows/llvm-project/libclc/generic/include -Wno-bitwise-conditional-parentheses -IC:/ws/buildbot/premerge-monolithic-windows/llvm-project/libclc/./generic/lib/relational -MD -MF C:/ws/buildbot/premerge-monolithic-windows/build/tools/libclc/obj.libclc.dir/cedar-r600--/generic/lib/relational/bitselect.cl.bc.d -MT C:/ws/buildbot/premerge-monolithic-windows/build/tools/libclc/obj.libclc.dir/cedar-r600--/generic/lib/relational/bitselect.cl.bc -cl-no-stdinc -emit-llvm -o C:/ws/buildbot/premerge-monolithic-windows/build/tools/libclc/obj.libclc.dir/cedar-r600--/generic/lib/relational/bitselect.cl.bc -x cl C:/ws/buildbot/premerge-monolithic-windows/llvm-project/libclc/./generic/lib/relational/bitselect.cl && C:\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe -E cmake_transform_depfile Ninja gccdepfile C:/ws/buildbot/premerge-monolithic-windows/llvm-project/llvm C:/ws/buildbot/premerge-monolithic-windows/llvm-project/libclc C:/ws/buildbot/premerge-monolithic-windows/build C:/ws/buildbot/premerge-monolithic-windows/build/tools/libclc C:/ws/buildbot/premerge-monolithic-windows/build/tools/libclc/obj.libclc.dir/cedar-r600--/generic/lib/relational/bitselect.cl.bc.d C:/ws/buildbot/premerge-monolithic-windows/build/CMakeFiles/d/c93fc1d69f9ba6f8cac058e2033839c0a31ca822b5f1c4e527f60cd960a28aba.d"
In file included from C:/ws/buildbot/premerge-monolithic-windows/llvm-project/libclc/./generic/lib/relational/bitselect.cl:9:
In file included from C:/ws/buildbot/premerge-monolithic-windows/llvm-project/libclc/generic/include\clc/clc.h:266:
C:/ws/buildbot/premerge-monolithic-windows/llvm-project/libclc/generic/include\clc/image/image.h:9:46: error: use of type '__read_only image2d_t' requires __opencl_c_images support
9 | _CLC_OVERLOAD _CLC_DECL int get_image_width (image2d_t image);
| ^
C:/ws/buildbot/premerge-monolithic-windows/llvm-project/libclc/generic/include\clc/image/image.h:10:46: error: use of type '__read_only image3d_t' requires __opencl_c_images support
10 | _CLC_OVERLOAD _CLC_DECL int get_image_width (image3d_t image);
| ^
C:/ws/buildbot/premerge-monolithic-windows/llvm-project/libclc/generic/include\clc/image/image.h:12:47: error: use of type '__read_only image2d_t' requires __opencl_c_images support
12 | _CLC_OVERLOAD _CLC_DECL int get_image_height (image2d_t image);
| ^
C:/ws/buildbot/premerge-monolithic-windows/llvm-project/libclc/generic/include\clc/image/image.h:13:47: error: use of type '__read_only image3d_t' requires __opencl_c_images support
13 | _CLC_OVERLOAD _CLC_DECL int get_image_height (image3d_t image);
| ^
C:/ws/buildbot/premerge-monolithic-windows/llvm-project/libclc/generic/include\clc/image/image.h:15:46: error: use of type '__read_only image3d_t' requires __opencl_c_images support
15 | _CLC_OVERLOAD _CLC_DECL int get_image_depth (image3d_t image);
| ^
C:/ws/buildbot/premerge-monolithic-windows/llvm-project/libclc/generic/include\clc/image/image.h:17:58: error: use of type '__read_only image2d_t' requires __opencl_c_images support
17 | _CLC_OVERLOAD _CLC_DECL int get_image_channel_data_type (image2d_t image);
| ^
C:/ws/buildbot/premerge-monolithic-windows/llvm-project/libclc/generic/include\clc/image/image.h:18:58: error: use of type '__read_only image3d_t' requires __opencl_c_images support
18 | _CLC_OVERLOAD _CLC_DECL int get_image_channel_data_type (image3d_t image);
| ^
C:/ws/buildbot/premerge-monolithic-windows/llvm-project/libclc/generic/include\clc/image/image.h:20:54: error: use of type '__read_only image2d_t' requires __opencl_c_images support
20 | _CLC_OVERLOAD _CLC_DECL int get_image_channel_order (image2d_t image);
| ^
C:/ws/buildbot/premerge-monolithic-windows/llvm-project/libclc/generic/include\clc/image/image.h:21:54: error: use of type '__read_only image3d_t' requires __opencl_c_images support
21 | _CLC_OVERLOAD _CLC_DECL int get_image_channel_order (image3d_t image);
| ^
C:/ws/buildbot/premerge-monolithic-windows/llvm-project/libclc/generic/include\clc/image/image.h:23:45: error: use of type '__read_only image2d_t' requires __opencl_c_images support
23 | _CLC_OVERLOAD _CLC_DECL int2 get_image_dim (image2d_t image);
| ^
C:/ws/buildbot/premerge-monolithic-windows/llvm-project/libclc/generic/include\clc/image/image.h:24:45: error: use of type '__read_only image3d_t' requires __opencl_c_images support
24 | _CLC_OVERLOAD _CLC_DECL int4 get_image_dim (image3d_t image);
| ^
C:/ws/buildbot/premerge-monolithic-windows/llvm-project/libclc/generic/include\clc/image/image.h:27:14: error: use of type '__read_only image2d_t' requires __opencl_c_images support
27 | write_imagef(image2d_t image, int2 coord, float4 color);
```
</details>
https://github.com/llvm/llvm-project/pull/135733
More information about the cfe-commits
mailing list