Build with new oneAPI will got failed with WERROR=1
Details in https://github.com/intel/torch-xpu-ops/actions/runs/11026570617/job/30623352626
2024-09-25T05:06:04.7715835Z [6126/7906] Building SYCL (Device) object torch_xpu_ops_sycl_unary_binary_kernels_generated_BinaryLogicalOpsKernels.cpp.o
2024-09-25T05:06:04.7717820Z FAILED: caffe2/aten_xpu/src/CMakeFiles/torch_xpu_ops_sycl_unary_binary_kernels.dir/ATen/native/xpu/sycl/torch_xpu_ops_sycl_unary_binary_kernels_generated_BinaryLogicalOpsKernels.cpp.o /home/sdp/actions-runner-0/_work/torch-xpu-ops/pytorch/build/caffe2/aten_xpu/src/CMakeFiles/torch_xpu_ops_sycl_unary_binary_kernels.dir/ATen/native/xpu/sycl/torch_xpu_ops_sycl_unary_binary_kernels_generated_BinaryLogicalOpsKernels.cpp.o
2024-09-25T05:06:04.7722663Z cd /home/sdp/actions-runner-0/_work/torch-xpu-ops/pytorch/build/caffe2/aten_xpu/src/CMakeFiles/torch_xpu_ops_sycl_unary_binary_kernels.dir/ATen/native/xpu/sycl && /home/sdp/miniforge3/envs/xpu_op_0/bin/cmake -E make_directory /home/sdp/actions-runner-0/_work/torch-xpu-ops/pytorch/build/caffe2/aten_xpu/src/CMakeFiles/torch_xpu_ops_sycl_unary_binary_kernels.dir/ATen/native/xpu/sycl/. && /home/sdp/miniforge3/envs/xpu_op_0/bin/cmake -D verbose:BOOL=OFF -D generated_file:STRING=/home/sdp/actions-runner-0/_work/torch-xpu-ops/pytorch/build/caffe2/aten_xpu/src/CMakeFiles/torch_xpu_ops_sycl_unary_binary_kernels.dir/ATen/native/xpu/sycl/./torch_xpu_ops_sycl_unary_binary_kernels_generated_BinaryLogicalOpsKernels.cpp.o -P /home/sdp/actions-runner-0/_work/torch-xpu-ops/pytorch/build/caffe2/aten_xpu/src/CMakeFiles/torch_xpu_ops_sycl_unary_binary_kernels.dir/ATen/native/xpu/sycl/torch_xpu_ops_sycl_unary_binary_kernels_generated_BinaryLogicalOpsKernels.cpp.o.Release.cmake
2024-09-25T05:06:04.7725955Z In file included from /home/sdp/intel/oneapi/compiler/2025.0/bin/compiler/../../include/sycl/builtins.hpp:27,
🐛 Describe the bug
Build with new oneAPI will got failed with WERROR=1 Details in https://github.com/intel/torch-xpu-ops/actions/runs/11026570617/job/30623352626 2024-09-25T05:06:04.7715835Z [6126/7906] Building SYCL (Device) object torch_xpu_ops_sycl_unary_binary_kernels_generated_BinaryLogicalOpsKernels.cpp.o 2024-09-25T05:06:04.7717820Z FAILED: caffe2/aten_xpu/src/CMakeFiles/torch_xpu_ops_sycl_unary_binary_kernels.dir/ATen/native/xpu/sycl/torch_xpu_ops_sycl_unary_binary_kernels_generated_BinaryLogicalOpsKernels.cpp.o /home/sdp/actions-runner-0/_work/torch-xpu-ops/pytorch/build/caffe2/aten_xpu/src/CMakeFiles/torch_xpu_ops_sycl_unary_binary_kernels.dir/ATen/native/xpu/sycl/torch_xpu_ops_sycl_unary_binary_kernels_generated_BinaryLogicalOpsKernels.cpp.o 2024-09-25T05:06:04.7722663Z cd /home/sdp/actions-runner-0/_work/torch-xpu-ops/pytorch/build/caffe2/aten_xpu/src/CMakeFiles/torch_xpu_ops_sycl_unary_binary_kernels.dir/ATen/native/xpu/sycl && /home/sdp/miniforge3/envs/xpu_op_0/bin/cmake -E make_directory /home/sdp/actions-runner-0/_work/torch-xpu-ops/pytorch/build/caffe2/aten_xpu/src/CMakeFiles/torch_xpu_ops_sycl_unary_binary_kernels.dir/ATen/native/xpu/sycl/. && /home/sdp/miniforge3/envs/xpu_op_0/bin/cmake -D verbose:BOOL=OFF -D generated_file:STRING=/home/sdp/actions-runner-0/_work/torch-xpu-ops/pytorch/build/caffe2/aten_xpu/src/CMakeFiles/torch_xpu_ops_sycl_unary_binary_kernels.dir/ATen/native/xpu/sycl/./torch_xpu_ops_sycl_unary_binary_kernels_generated_BinaryLogicalOpsKernels.cpp.o -P /home/sdp/actions-runner-0/_work/torch-xpu-ops/pytorch/build/caffe2/aten_xpu/src/CMakeFiles/torch_xpu_ops_sycl_unary_binary_kernels.dir/ATen/native/xpu/sycl/torch_xpu_ops_sycl_unary_binary_kernels_generated_BinaryLogicalOpsKernels.cpp.o.Release.cmake 2024-09-25T05:06:04.7725955Z In file included from /home/sdp/intel/oneapi/compiler/2025.0/bin/compiler/../../include/sycl/builtins.hpp:27,
Versions
pytorch: 21ffa18ad1ad0bf22df8d7f42309190b4f3cc547 torch-xpu-ops: 8e4d763fc6ee173c6eb38eacffd2b6d8cb2bc0a8 Driver: 803.61 oneAPI: 2025.0