intel / torch-xpu-ops

Apache License 2.0
30 stars 21 forks source link

Prevent building errors caused by SYCL compiler #1070

Closed xytintel closed 1 week ago

xytintel commented 1 week ago

Directly caused by CXX flag -Werror:

oneapi/compiler/2025.0/bin/compiler/../../include/sycl/detail/builtins/builtins.hpp:235:1: error: multi-line comment [-Werror=comment]
// clang++ -[DU]__SYCL_DEVICE_ONLY__ -x c++ math_functions.inc  \