llvm icon indicating copy to clipboard operation
llvm copied to clipboard

Tests failing on preview mode in nightly

Open sarnex opened this issue 6 months ago • 5 comments

Describe the bug

 Failed Tests (4):
  SYCL :: GroupAlgorithm/exclusive_scan_sycl2020.cpp
  SYCL :: GroupAlgorithm/inclusive_scan_sycl2020.cpp
  SYCL :: GroupAlgorithm/reduce_sycl2020.cpp
  SYCL :: KernelCompiler/sycl.cpp

FAIL: SYCL :: GroupAlgorithm/exclusive_scan_sycl2020.cpp (1385 of 2363)
******************** TEST 'SYCL :: GroupAlgorithm/exclusive_scan_sycl2020.cpp' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/__w/llvm/llvm/toolchain/bin//clang++ -fpreview-breaking-changes -D_GLIBCXX_USE_CXX11_ABI=0 -fsycl -fsycl-targets=spir64  /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/exclusive_scan_sycl2020.cpp -Wno-error=deprecated-declarations -fsycl-device-code-split=per_kernel -I . -o /__w/llvm/llvm/build-e2e/GroupAlgorithm/Output/exclusive_scan_sycl2020.cpp.tmp.out
# executed command: /__w/llvm/llvm/toolchain/bin//clang++ -fpreview-breaking-changes -D_GLIBCXX_USE_CXX11_ABI=0 -fsycl -fsycl-targets=spir64 /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/exclusive_scan_sycl2020.cpp -Wno-error=deprecated-declarations -fsycl-device-code-split=per_kernel -I . -o /__w/llvm/llvm/build-e2e/GroupAlgorithm/Output/exclusive_scan_sycl2020.cpp.tmp.out
# .---command stderr------------
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/exclusive_scan_sycl2020.cpp:5:
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/support.h:3:
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/group_algorithm.hpp:682:17: error: static assertion failed due to requirement 'std::is_same_v<bool, int>': Result type of binary_op must match scan accumulation type.
# |   682 |   static_assert(std::is_same_v<decltype(binary_op(x, x)), T>,
# |       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/exclusive_scan_sycl2020.cpp:48:24: note: in instantiation of function template specialization 'sycl::exclusive_scan_over_group<sycl::group<>, int, sycl::logical_or<int>>' requested here
# |    48 |             out[lid] = exclusive_scan_over_group(g, in[lid], binary_op);
# |       |                        ^
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/exclusive_scan_sycl2020.cpp:173:3: note: in instantiation of function template specialization 'test<LogicalOrInt, std::array<int, 128>, sycl::logical_or<int>>' requested here
# |   173 |   test<class LogicalOrInt>(input, sycl::logical_or<int>(), 0);
# |       |   ^
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/exclusive_scan_sycl2020.cpp:5:
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/support.h:3:
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/group_algorithm.hpp:778:17: error: static assertion failed due to requirement 'std::is_same_v<bool, int>': Result type of binary_op must match scan accumulation type.
# |   778 |   static_assert(std::is_same_v<decltype(binary_op(init, x)), T>,
# |       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/exclusive_scan_sycl2020.cpp:74:24: note: in instantiation of function template specialization 'sycl::exclusive_scan_over_group<sycl::group<>, int, int, sycl::logical_or<int>>' requested here
# |    74 |             out[lid] = exclusive_scan_over_group(g, in[lid], init, binary_op);
# |       |                        ^
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/exclusive_scan_sycl2020.cpp:173:3: note: in instantiation of function template specialization 'test<LogicalOrInt, std::array<int, 128>, sycl::logical_or<int>>' requested here
# |   173 |   test<class LogicalOrInt>(input, sycl::logical_or<int>(), 0);
# |       |   ^
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/exclusive_scan_sycl2020.cpp:5:
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/support.h:3:
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/group_algorithm.hpp:886:17: error: static assertion failed due to requirement 'std::is_same_v<bool, int>': Result type of binary_op must match scan accumulation type.
# |   886 |   static_assert(std::is_same_v<decltype(binary_op(*first, *first)),
# |       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |   887 |                                typename detail::remove_pointer<OutPtr>::type>,
# |       |                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/exclusive_scan_sycl2020.cpp:99:9: note: in instantiation of function template specialization 'sycl::joint_exclusive_scan<sycl::group<>, sycl::multi_ptr<const int, sycl::access::address_space::global_space, sycl::access::decorated::no>, sycl::multi_ptr<int, sycl::access::address_space::global_space, sycl::access::decorated::no>, sycl::logical_or<int>>' requested here
# |    99 |         joint_exclusive_scan(
# |       |         ^
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/exclusive_scan_sycl2020.cpp:173:3: note: in instantiation of function template specialization 'test<LogicalOrInt, std::array<int, 128>, sycl::logical_or<int>>' requested here
# |   173 |   test<class LogicalOrInt>(input, sycl::logical_or<int>(), 0);
# |       |   ^
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/exclusive_scan_sycl2020.cpp:5:
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/support.h:3:
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/group_algorithm.hpp:834:17: error: static assertion failed due to requirement 'std::is_same_v<bool, int>': Result type of binary_op must match scan accumulation type.
# |   834 |   static_assert(std::is_same_v<decltype(binary_op(init, *first)), T>,
# |       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/exclusive_scan_sycl2020.cpp:126:9: note: in instantiation of function template specialization 'sycl::joint_exclusive_scan<sycl::group<>, sycl::multi_ptr<const int, sycl::access::address_space::global_space, sycl::access::decorated::no>, sycl::multi_ptr<int, sycl::access::address_space::global_space, sycl::access::decorated::no>, int, sycl::logical_or<int>>' requested here
# |   126 |         joint_exclusive_scan(
# |       |         ^
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/exclusive_scan_sycl2020.cpp:173:3: note: in instantiation of function template specialization 'test<LogicalOrInt, std::array<int, 128>, sycl::logical_or<int>>' requested here
# |   173 |   test<class LogicalOrInt>(input, sycl::logical_or<int>(), 0);
# |       |   ^
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/exclusive_scan_sycl2020.cpp:5:
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/support.h:3:
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/group_algorithm.hpp:682:17: error: static assertion failed due to requirement 'std::is_same_v<bool, int>': Result type of binary_op must match scan accumulation type.
# |   682 |   static_assert(std::is_same_v<decltype(binary_op(x, x)), T>,
# |       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/exclusive_scan_sycl2020.cpp:48:24: note: in instantiation of function template specialization 'sycl::exclusive_scan_over_group<sycl::group<>, int, sycl::logical_and<int>>' requested here
# |    48 |             out[lid] = exclusive_scan_over_group(g, in[lid], binary_op);
# |       |                        ^
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/exclusive_scan_sycl2020.cpp:174:3: note: in instantiation of function template specialization 'test<LogicalAndInt, std::array<int, 128>, sycl::logical_and<int>>' requested here
# |   174 |   test<class LogicalAndInt>(input, sycl::logical_and<int>(), 1);
# |       |   ^
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/exclusive_scan_sycl2020.cpp:5:
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/support.h:3:
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/group_algorithm.hpp:778:17: error: static assertion failed due to requirement 'std::is_same_v<bool, int>': Result type of binary_op must match scan accumulation type.
# |   778 |   static_assert(std::is_same_v<decltype(binary_op(init, x)), T>,
# |       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/exclusive_scan_sycl2020.cpp:74:24: note: in instantiation of function template specialization 'sycl::exclusive_scan_over_group<sycl::group<>, int, int, sycl::logical_and<int>>' requested here
# |    74 |             out[lid] = exclusive_scan_over_group(g, in[lid], init, binary_op);
# |       |                        ^
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/exclusive_scan_sycl2020.cpp:174:3: note: in instantiation of function template specialization 'test<LogicalAndInt, std::array<int, 128>, sycl::logical_and<int>>' requested here
# |   174 |   test<class LogicalAndInt>(input, sycl::logical_and<int>(), 1);
# |       |   ^
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/exclusive_scan_sycl2020.cpp:5:
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/support.h:3:
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/group_algorithm.hpp:886:17: error: static assertion failed due to requirement 'std::is_same_v<bool, int>': Result type of binary_op must match scan accumulation type.
# |   886 |   static_assert(std::is_same_v<decltype(binary_op(*first, *first)),
# |       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |   887 |                                typename detail::remove_pointer<OutPtr>::type>,
# |       |                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/exclusive_scan_sycl2020.cpp:99:9: note: in instantiation of function template specialization 'sycl::joint_exclusive_scan<sycl::group<>, sycl::multi_ptr<const int, sycl::access::address_space::global_space, sycl::access::decorated::no>, sycl::multi_ptr<int, sycl::access::address_space::global_space, sycl::access::decorated::no>, sycl::logical_and<int>>' requested here
# |    99 |         joint_exclusive_scan(
# |       |         ^
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/exclusive_scan_sycl2020.cpp:174:3: note: in instantiation of function template specialization 'test<LogicalAndInt, std::array<int, 128>, sycl::logical_and<int>>' requested here
# |   174 |   test<class LogicalAndInt>(input, sycl::logical_and<int>(), 1);
# |       |   ^
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/exclusive_scan_sycl2020.cpp:5:
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/support.h:3:
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/group_algorithm.hpp:834:17: error: static assertion failed due to requirement 'std::is_same_v<bool, int>': Result type of binary_op must match scan accumulation type.
# |   834 |   static_assert(std::is_same_v<decltype(binary_op(init, *first)), T>,
# |       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/exclusive_scan_sycl2020.cpp:126:9: note: in instantiation of function template specialization 'sycl::joint_exclusive_scan<sycl::group<>, sycl::multi_ptr<const int, sycl::access::address_space::global_space, sycl::access::decorated::no>, sycl::multi_ptr<int, sycl::access::address_space::global_space, sycl::access::decorated::no>, int, sycl::logical_and<int>>' requested here
# |   126 |         joint_exclusive_scan(
# |       |         ^
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/exclusive_scan_sycl2020.cpp:174:3: note: in instantiation of function template specialization 'test<LogicalAndInt, std::array<int, 128>, sycl::logical_and<int>>' requested here
# |   174 |   test<class LogicalAndInt>(input, sycl::logical_and<int>(), 1);
# |       |   ^
# | 8 errors generated.
# `-----------------------------
# error: command failed with exit status: 1

--

********************
FAIL: SYCL :: GroupAlgorithm/reduce_sycl2020.cpp (1390 of 2363)
******************** TEST 'SYCL :: GroupAlgorithm/reduce_sycl2020.cpp' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/__w/llvm/llvm/toolchain/bin//clang++ -fpreview-breaking-changes -D_GLIBCXX_USE_CXX11_ABI=0 -fsycl -fsycl-targets=spir64  /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/reduce_sycl2020.cpp -fsycl-device-code-split=per_kernel -I . -o /__w/llvm/llvm/build-e2e/GroupAlgorithm/Output/reduce_sycl2020.cpp.tmp.out
# executed command: /__w/llvm/llvm/toolchain/bin//clang++ -fpreview-breaking-changes -D_GLIBCXX_USE_CXX11_ABI=0 -fsycl -fsycl-targets=spir64 /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/reduce_sycl2020.cpp -fsycl-device-code-split=per_kernel -I . -o /__w/llvm/llvm/build-e2e/GroupAlgorithm/Output/reduce_sycl2020.cpp.tmp.out
# .---command stderr------------
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/reduce_sycl2020.cpp:4:
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/support.h:3:
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/group_algorithm.hpp:219:7: error: static assertion failed due to requirement 'std::is_same_v<bool, int>': Result type of binary_op must match reduction accumulation type.
# |   219 |       std::is_same_v<decltype(binary_op(x, x)), T>,
# |       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/reduce_sycl2020.cpp:41:22: note: in instantiation of function template specialization 'sycl::reduce_over_group<sycl::group<>, int, sycl::logical_or<int>>' requested here
# |    41 |             out[0] = reduce_over_group(g, in[lid], binary_op);
# |       |                      ^
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/reduce_sycl2020.cpp:100:3: note: in instantiation of function template specialization 'test<LogicalOrInt, std::array<int, 128>, sycl::logical_or<int>>' requested here
# |   100 |   test<class LogicalOrInt>(input, sycl::logical_or<int>(), 0);
# |       |   ^
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/reduce_sycl2020.cpp:4:
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/support.h:3:
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/group_algorithm.hpp:295:7: error: static assertion failed due to requirement 'std::is_same_v<bool, int>': Result type of binary_op must match reduction accumulation type.
# |   295 |       std::is_same_v<decltype(binary_op(init, x)), T>,
# |       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/reduce_sycl2020.cpp:42:22: note: in instantiation of function template specialization 'sycl::reduce_over_group<sycl::group<>, int, int, sycl::logical_or<int>>' requested here
# |    42 |             out[1] = reduce_over_group(g, in[lid], init, binary_op);
# |       |                      ^
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/reduce_sycl2020.cpp:100:3: note: in instantiation of function template specialization 'test<LogicalOrInt, std::array<int, 128>, sycl::logical_or<int>>' requested here
# |   100 |   test<class LogicalOrInt>(input, sycl::logical_or<int>(), 0);
# |       |   ^
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/reduce_sycl2020.cpp:4:
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/support.h:3:
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/group_algorithm.hpp:345:7: error: static assertion failed due to requirement 'std::is_same_v<bool, int>': Result type of binary_op must match reduction accumulation type.
# |   345 |       std::is_same_v<decltype(binary_op(init, *first)), T>,
# |       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/reduce_sycl2020.cpp:46:17: note: in instantiation of function template specialization 'sycl::joint_reduce<sycl::group<>, sycl::multi_ptr<const int, sycl::access::address_space::global_space, sycl::access::decorated::legacy>, int, sycl::logical_or<int>>' requested here
# |    46 |                 joint_reduce(g, global_ptr<const InputT>(in),
# |       |                 ^
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/reduce_sycl2020.cpp:100:3: note: in instantiation of function template specialization 'test<LogicalOrInt, std::array<int, 128>, sycl::logical_or<int>>' requested here
# |   100 |   test<class LogicalOrInt>(input, sycl::logical_or<int>(), 0);
# |       |   ^
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/reduce_sycl2020.cpp:4:
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/support.h:3:
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/group_algorithm.hpp:345:7: error: static assertion failed due to requirement 'std::is_same_v<bool, int>': Result type of binary_op must match reduction accumulation type.
# |   345 |       std::is_same_v<decltype(binary_op(init, *first)), T>,
# |       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/reduce_sycl2020.cpp:51:17: note: in instantiation of function template specialization 'sycl::joint_reduce<sycl::sub_group, sycl::multi_ptr<const int, sycl::access::address_space::global_space, sycl::access::decorated::legacy>, int, sycl::logical_or<int>>' requested here
# |    51 |                 joint_reduce(sg, global_ptr<const InputT>(in),
# |       |                 ^
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/reduce_sycl2020.cpp:100:3: note: in instantiation of function template specialization 'test<LogicalOrInt, std::array<int, 128>, sycl::logical_or<int>>' requested here
# |   100 |   test<class LogicalOrInt>(input, sycl::logical_or<int>(), 0);
# |       |   ^
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/reduce_sycl2020.cpp:4:
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/support.h:3:
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/group_algorithm.hpp:295:7: error: static assertion failed due to requirement 'std::is_same_v<bool, int>': Result type of binary_op must match reduction accumulation type.
# |   295 |       std::is_same_v<decltype(binary_op(init, x)), T>,
# |       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/group_algorithm.hpp:353:10: note: in instantiation of function template specialization 'sycl::reduce_over_group<sycl::sub_group, int, int, sycl::logical_or<int>>' requested here
# |   353 |   return reduce_over_group(g, partial, init, binary_op);
# |       |          ^
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/reduce_sycl2020.cpp:51:17: note: in instantiation of function template specialization 'sycl::joint_reduce<sycl::sub_group, sycl::multi_ptr<const int, sycl::access::address_space::global_space, sycl::access::decorated::legacy>, int, sycl::logical_or<int>>' requested here
# |    51 |                 joint_reduce(sg, global_ptr<const InputT>(in),
# |       |                 ^
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/reduce_sycl2020.cpp:100:3: note: in instantiation of function template specialization 'test<LogicalOrInt, std::array<int, 128>, sycl::logical_or<int>>' requested here
# |   100 |   test<class LogicalOrInt>(input, sycl::logical_or<int>(), 0);
# |       |   ^
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/reduce_sycl2020.cpp:4:
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/support.h:3:
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/group_algorithm.hpp:219:7: error: static assertion failed due to requirement 'std::is_same_v<bool, int>': Result type of binary_op must match reduction accumulation type.
# |   219 |       std::is_same_v<decltype(binary_op(x, x)), T>,
# |       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/group_algorithm.hpp:298:26: note: in instantiation of function template specialization 'sycl::reduce_over_group<sycl::sub_group, int, sycl::logical_or<int>>' requested here
# |   298 |   return binary_op(init, reduce_over_group(g, T(x), binary_op));
# |       |                          ^
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/group_algorithm.hpp:353:10: note: in instantiation of function template specialization 'sycl::reduce_over_group<sycl::sub_group, int, int, sycl::logical_or<int>>' requested here
# |   353 |   return reduce_over_group(g, partial, init, binary_op);
# |       |          ^
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/reduce_sycl2020.cpp:51:17: note: in instantiation of function template specialization 'sycl::joint_reduce<sycl::sub_group, sycl::multi_ptr<const int, sycl::access::address_space::global_space, sycl::access::decorated::legacy>, int, sycl::logical_or<int>>' requested here
# |    51 |                 joint_reduce(sg, global_ptr<const InputT>(in),
# |       |                 ^
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/reduce_sycl2020.cpp:100:3: note: in instantiation of function template specialization 'test<LogicalOrInt, std::array<int, 128>, sycl::logical_or<int>>' requested here
# |   100 |   test<class LogicalOrInt>(input, sycl::logical_or<int>(), 0);
# |       |   ^
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/reduce_sycl2020.cpp:4:
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/support.h:3:
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/group_algorithm.hpp:219:7: error: static assertion failed due to requirement 'std::is_same_v<bool, int>': Result type of binary_op must match reduction accumulation type.
# |   219 |       std::is_same_v<decltype(binary_op(x, x)), T>,
# |       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/reduce_sycl2020.cpp:41:22: note: in instantiation of function template specialization 'sycl::reduce_over_group<sycl::group<>, int, sycl::logical_and<int>>' requested here
# |    41 |             out[0] = reduce_over_group(g, in[lid], binary_op);
# |       |                      ^
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/reduce_sycl2020.cpp:101:3: note: in instantiation of function template specialization 'test<LogicalAndInt, std::array<int, 128>, sycl::logical_and<int>>' requested here
# |   101 |   test<class LogicalAndInt>(input, sycl::logical_and<int>(), 1);
# |       |   ^
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/reduce_sycl2020.cpp:4:
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/support.h:3:
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/group_algorithm.hpp:295:7: error: static assertion failed due to requirement 'std::is_same_v<bool, int>': Result type of binary_op must match reduction accumulation type.
# |   295 |       std::is_same_v<decltype(binary_op(init, x)), T>,
# |       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/reduce_sycl2020.cpp:42:22: note: in instantiation of function template specialization 'sycl::reduce_over_group<sycl::group<>, int, int, sycl::logical_and<int>>' requested here
# |    42 |             out[1] = reduce_over_group(g, in[lid], init, binary_op);
# |       |                      ^
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/reduce_sycl2020.cpp:101:3: note: in instantiation of function template specialization 'test<LogicalAndInt, std::array<int, 128>, sycl::logical_and<int>>' requested here
# |   101 |   test<class LogicalAndInt>(input, sycl::logical_and<int>(), 1);
# |       |   ^
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/reduce_sycl2020.cpp:4:
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/support.h:3:
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/group_algorithm.hpp:345:7: error: static assertion failed due to requirement 'std::is_same_v<bool, int>': Result type of binary_op must match reduction accumulation type.
# |   345 |       std::is_same_v<decltype(binary_op(init, *first)), T>,
# |       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/reduce_sycl2020.cpp:46:17: note: in instantiation of function template specialization 'sycl::joint_reduce<sycl::group<>, sycl::multi_ptr<const int, sycl::access::address_space::global_space, sycl::access::decorated::legacy>, int, sycl::logical_and<int>>' requested here
# |    46 |                 joint_reduce(g, global_ptr<const InputT>(in),
# |       |                 ^
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/reduce_sycl2020.cpp:101:3: note: in instantiation of function template specialization 'test<LogicalAndInt, std::array<int, 128>, sycl::logical_and<int>>' requested here
# |   101 |   test<class LogicalAndInt>(input, sycl::logical_and<int>(), 1);
# |       |   ^
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/reduce_sycl2020.cpp:4:
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/support.h:3:
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/group_algorithm.hpp:345:7: error: static assertion failed due to requirement 'std::is_same_v<bool, int>': Result type of binary_op must match reduction accumulation type.
# |   345 |       std::is_same_v<decltype(binary_op(init, *first)), T>,
# |       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/reduce_sycl2020.cpp:51:17: note: in instantiation of function template specialization 'sycl::joint_reduce<sycl::sub_group, sycl::multi_ptr<const int, sycl::access::address_space::global_space, sycl::access::decorated::legacy>, int, sycl::logical_and<int>>' requested here
# |    51 |                 joint_reduce(sg, global_ptr<const InputT>(in),
# |       |                 ^
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/reduce_sycl2020.cpp:101:3: note: in instantiation of function template specialization 'test<LogicalAndInt, std::array<int, 128>, sycl::logical_and<int>>' requested here
# |   101 |   test<class LogicalAndInt>(input, sycl::logical_and<int>(), 1);
# |       |   ^
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/reduce_sycl2020.cpp:4:
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/support.h:3:
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/group_algorithm.hpp:295:7: error: static assertion failed due to requirement 'std::is_same_v<bool, int>': Result type of binary_op must match reduction accumulation type.
# |   295 |       std::is_same_v<decltype(binary_op(init, x)), T>,
# |       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/group_algorithm.hpp:353:10: note: in instantiation of function template specialization 'sycl::reduce_over_group<sycl::sub_group, int, int, sycl::logical_and<int>>' requested here
# |   353 |   return reduce_over_group(g, partial, init, binary_op);
# |       |          ^
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/reduce_sycl2020.cpp:51:17: note: in instantiation of function template specialization 'sycl::joint_reduce<sycl::sub_group, sycl::multi_ptr<const int, sycl::access::address_space::global_space, sycl::access::decorated::legacy>, int, sycl::logical_and<int>>' requested here
# |    51 |                 joint_reduce(sg, global_ptr<const InputT>(in),
# |       |                 ^
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/reduce_sycl2020.cpp:101:3: note: in instantiation of function template specialization 'test<LogicalAndInt, std::array<int, 128>, sycl::logical_and<int>>' requested here
# |   101 |   test<class LogicalAndInt>(input, sycl::logical_and<int>(), 1);
# |       |   ^
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/reduce_sycl2020.cpp:4:
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/support.h:3:
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/group_algorithm.hpp:219:7: error: static assertion failed due to requirement 'std::is_same_v<bool, int>': Result type of binary_op must match reduction accumulation type.
# |   219 |       std::is_same_v<decltype(binary_op(x, x)), T>,
# |       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/group_algorithm.hpp:298:26: note: in instantiation of function template specialization 'sycl::reduce_over_group<sycl::sub_group, int, sycl::logical_and<int>>' requested here
# |   298 |   return binary_op(init, reduce_over_group(g, T(x), binary_op));
# |       |                          ^
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/group_algorithm.hpp:353:10: note: in instantiation of function template specialization 'sycl::reduce_over_group<sycl::sub_group, int, int, sycl::logical_and<int>>' requested here
# |   353 |   return reduce_over_group(g, partial, init, binary_op);
# |       |          ^
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/reduce_sycl2020.cpp:51:17: note: in instantiation of function template specialization 'sycl::joint_reduce<sycl::sub_group, sycl::multi_ptr<const int, sycl::access::address_space::global_space, sycl::access::decorated::legacy>, int, sycl::logical_and<int>>' requested here
# |    51 |                 joint_reduce(sg, global_ptr<const InputT>(in),
# |       |                 ^
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/reduce_sycl2020.cpp:101:3: note: in instantiation of function template specialization 'test<LogicalAndInt, std::array<int, 128>, sycl::logical_and<int>>' requested here
# |   101 |   test<class LogicalAndInt>(input, sycl::logical_and<int>(), 1);
# |       |   ^
# | 12 errors generated.
# `-----------------------------
# error: command failed with exit status: 1

--

********************
FAIL: SYCL :: GroupAlgorithm/inclusive_scan_sycl2020.cpp (1396 of 2363)
******************** TEST 'SYCL :: GroupAlgorithm/inclusive_scan_sycl2020.cpp' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 1
/__w/llvm/llvm/toolchain/bin//clang++ -fpreview-breaking-changes -D_GLIBCXX_USE_CXX11_ABI=0 -fsycl -fsycl-targets=spir64  /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/inclusive_scan_sycl2020.cpp -Wno-error=deprecated-declarations -fsycl-device-code-split=per_kernel -I . -o /__w/llvm/llvm/build-e2e/GroupAlgorithm/Output/inclusive_scan_sycl2020.cpp.tmp.out
# executed command: /__w/llvm/llvm/toolchain/bin//clang++ -fpreview-breaking-changes -D_GLIBCXX_USE_CXX11_ABI=0 -fsycl -fsycl-targets=spir64 /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/inclusive_scan_sycl2020.cpp -Wno-error=deprecated-declarations -fsycl-device-code-split=per_kernel -I . -o /__w/llvm/llvm/build-e2e/GroupAlgorithm/Output/inclusive_scan_sycl2020.cpp.tmp.out
# .---command stderr------------
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/inclusive_scan_sycl2020.cpp:5:
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/support.h:3:
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/group_algorithm.hpp:906:17: error: static assertion failed due to requirement 'std::is_same_v<bool, int>': Result type of binary_op must match scan accumulation type.
# |   906 |   static_assert(std::is_same_v<decltype(binary_op(x, x)), T>,
# |       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/inclusive_scan_sycl2020.cpp:48:24: note: in instantiation of function template specialization 'sycl::inclusive_scan_over_group<sycl::group<>, int, sycl::logical_or<int>>' requested here
# |    48 |             out[lid] = inclusive_scan_over_group(g, in[lid], binary_op);
# |       |                        ^
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/inclusive_scan_sycl2020.cpp:171:3: note: in instantiation of function template specialization 'test<LogicalOrInt, std::array<int, 128>, sycl::logical_or<int>>' requested here
# |   171 |   test<class LogicalOrInt>(input, sycl::logical_or<int>(), 0);
# |       |   ^
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/inclusive_scan_sycl2020.cpp:5:
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/support.h:3:
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/group_algorithm.hpp:975:17: error: static assertion failed due to requirement 'std::is_same_v<bool, int>': Result type of binary_op must match scan accumulation type.
# |   975 |   static_assert(std::is_same_v<decltype(binary_op(init, x)), T>,
# |       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/inclusive_scan_sycl2020.cpp:74:24: note: in instantiation of function template specialization 'sycl::inclusive_scan_over_group<sycl::group<>, int, sycl::logical_or<int>, int>' requested here
# |    74 |             out[lid] = inclusive_scan_over_group(g, in[lid], binary_op, init);
# |       |                        ^
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/inclusive_scan_sycl2020.cpp:171:3: note: in instantiation of function template specialization 'test<LogicalOrInt, std::array<int, 128>, sycl::logical_or<int>>' requested here
# |   171 |   test<class LogicalOrInt>(input, sycl::logical_or<int>(), 0);
# |       |   ^
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/inclusive_scan_sycl2020.cpp:5:
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/support.h:3:
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/group_algorithm.hpp:1074:17: error: static assertion failed due to requirement 'std::is_same_v<bool, int>': Result type of binary_op must match scan accumulation type.
# |  1074 |   static_assert(std::is_same_v<decltype(binary_op(*first, *first)),
# |       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |  1075 |                                typename detail::remove_pointer<OutPtr>::type>,
# |       |                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/inclusive_scan_sycl2020.cpp:99:9: note: in instantiation of function template specialization 'sycl::joint_inclusive_scan<sycl::group<>, sycl::multi_ptr<const int, sycl::access::address_space::global_space, sycl::access::decorated::legacy>, sycl::multi_ptr<int, sycl::access::address_space::global_space, sycl::access::decorated::no>, sycl::logical_or<int>>' requested here
# |    99 |         joint_inclusive_scan(
# |       |         ^
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/inclusive_scan_sycl2020.cpp:171:3: note: in instantiation of function template specialization 'test<LogicalOrInt, std::array<int, 128>, sycl::logical_or<int>>' requested here
# |   171 |   test<class LogicalOrInt>(input, sycl::logical_or<int>(), 0);
# |       |   ^
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/inclusive_scan_sycl2020.cpp:5:
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/support.h:3:
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/group_algorithm.hpp:1025:17: error: static assertion failed due to requirement 'std::is_same_v<bool, int>': Result type of binary_op must match scan accumulation type.
# |  1025 |   static_assert(std::is_same_v<decltype(binary_op(init, *first)), T>,
# |       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/inclusive_scan_sycl2020.cpp:125:9: note: in instantiation of function template specialization 'sycl::joint_inclusive_scan<sycl::group<>, sycl::multi_ptr<const int, sycl::access::address_space::global_space, sycl::access::decorated::legacy>, sycl::multi_ptr<int, sycl::access::address_space::global_space, sycl::access::decorated::no>, sycl::logical_or<int>, int>' requested here
# |   125 |         joint_inclusive_scan(
# |       |         ^
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/inclusive_scan_sycl2020.cpp:171:3: note: in instantiation of function template specialization 'test<LogicalOrInt, std::array<int, 128>, sycl::logical_or<int>>' requested here
# |   171 |   test<class LogicalOrInt>(input, sycl::logical_or<int>(), 0);
# |       |   ^
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/inclusive_scan_sycl2020.cpp:5:
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/support.h:3:
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/group_algorithm.hpp:906:17: error: static assertion failed due to requirement 'std::is_same_v<bool, int>': Result type of binary_op must match scan accumulation type.
# |   906 |   static_assert(std::is_same_v<decltype(binary_op(x, x)), T>,
# |       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/inclusive_scan_sycl2020.cpp:48:24: note: in instantiation of function template specialization 'sycl::inclusive_scan_over_group<sycl::group<>, int, sycl::logical_and<int>>' requested here
# |    48 |             out[lid] = inclusive_scan_over_group(g, in[lid], binary_op);
# |       |                        ^
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/inclusive_scan_sycl2020.cpp:172:3: note: in instantiation of function template specialization 'test<LogicalAndInt, std::array<int, 128>, sycl::logical_and<int>>' requested here
# |   172 |   test<class LogicalAndInt>(input, sycl::logical_and<int>(), 1);
# |       |   ^
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/inclusive_scan_sycl2020.cpp:5:
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/support.h:3:
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/group_algorithm.hpp:975:17: error: static assertion failed due to requirement 'std::is_same_v<bool, int>': Result type of binary_op must match scan accumulation type.
# |   975 |   static_assert(std::is_same_v<decltype(binary_op(init, x)), T>,
# |       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/inclusive_scan_sycl2020.cpp:74:24: note: in instantiation of function template specialization 'sycl::inclusive_scan_over_group<sycl::group<>, int, sycl::logical_and<int>, int>' requested here
# |    74 |             out[lid] = inclusive_scan_over_group(g, in[lid], binary_op, init);
# |       |                        ^
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/inclusive_scan_sycl2020.cpp:172:3: note: in instantiation of function template specialization 'test<LogicalAndInt, std::array<int, 128>, sycl::logical_and<int>>' requested here
# |   172 |   test<class LogicalAndInt>(input, sycl::logical_and<int>(), 1);
# |       |   ^
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/inclusive_scan_sycl2020.cpp:5:
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/support.h:3:
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/group_algorithm.hpp:1074:17: error: static assertion failed due to requirement 'std::is_same_v<bool, int>': Result type of binary_op must match scan accumulation type.
# |  1074 |   static_assert(std::is_same_v<decltype(binary_op(*first, *first)),
# |       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# |  1075 |                                typename detail::remove_pointer<OutPtr>::type>,
# |       |                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/inclusive_scan_sycl2020.cpp:99:9: note: in instantiation of function template specialization 'sycl::joint_inclusive_scan<sycl::group<>, sycl::multi_ptr<const int, sycl::access::address_space::global_space, sycl::access::decorated::legacy>, sycl::multi_ptr<int, sycl::access::address_space::global_space, sycl::access::decorated::no>, sycl::logical_and<int>>' requested here
# |    99 |         joint_inclusive_scan(
# |       |         ^
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/inclusive_scan_sycl2020.cpp:172:3: note: in instantiation of function template specialization 'test<LogicalAndInt, std::array<int, 128>, sycl::logical_and<int>>' requested here
# |   172 |   test<class LogicalAndInt>(input, sycl::logical_and<int>(), 1);
# |       |   ^
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/inclusive_scan_sycl2020.cpp:5:
# | In file included from /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/support.h:3:
# | /__w/llvm/llvm/toolchain/bin/../include/sycl/group_algorithm.hpp:1025:17: error: static assertion failed due to requirement 'std::is_same_v<bool, int>': Result type of binary_op must match scan accumulation type.
# |  1025 |   static_assert(std::is_same_v<decltype(binary_op(init, *first)), T>,
# |       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/inclusive_scan_sycl2020.cpp:125:9: note: in instantiation of function template specialization 'sycl::joint_inclusive_scan<sycl::group<>, sycl::multi_ptr<const int, sycl::access::address_space::global_space, sycl::access::decorated::legacy>, sycl::multi_ptr<int, sycl::access::address_space::global_space, sycl::access::decorated::no>, sycl::logical_and<int>, int>' requested here
# |   125 |         joint_inclusive_scan(
# |       |         ^
# | /__w/llvm/llvm/llvm/sycl/test-e2e/GroupAlgorithm/inclusive_scan_sycl2020.cpp:172:3: note: in instantiation of function template specialization 'test<LogicalAndInt, std::array<int, 128>, sycl::logical_and<int>>' requested here
# |   172 |   test<class LogicalAndInt>(input, sycl::logical_and<int>(), 1);
# |       |   ^
# | 8 errors generated.
# `-----------------------------
# error: command failed with exit status: 1

--

********************
FAIL: SYCL :: KernelCompiler/sycl.cpp (2351 of 2363)
******************** TEST 'SYCL :: KernelCompiler/sycl.cpp' FAILED ********************
Exit Code: -6

Command Output (stdout):
--
# RUN: at line 15
/__w/llvm/llvm/toolchain/bin//clang++ -fpreview-breaking-changes -D_GLIBCXX_USE_CXX11_ABI=0 -fsycl -fsycl-targets=spir64  /__w/llvm/llvm/llvm/sycl/test-e2e/KernelCompiler/sycl.cpp -o /__w/llvm/llvm/build-e2e/KernelCompiler/Output/sycl.cpp.tmp.out
# executed command: /__w/llvm/llvm/toolchain/bin//clang++ -fpreview-breaking-changes -D_GLIBCXX_USE_CXX11_ABI=0 -fsycl -fsycl-targets=spir64 /__w/llvm/llvm/llvm/sycl/test-e2e/KernelCompiler/sycl.cpp -o /__w/llvm/llvm/build-e2e/KernelCompiler/Output/sycl.cpp.tmp.out
# note: command had no output on stdout or stderr
# RUN: at line 16
env UR_L0_LEAKS_DEBUG=1 env ONEAPI_DEVICE_SELECTOR=level_zero:gpu  /__w/llvm/llvm/build-e2e/KernelCompiler/Output/sycl.cpp.tmp.out
# executed command: env UR_L0_LEAKS_DEBUG=1 env ONEAPI_DEVICE_SELECTOR=level_zero:gpu /__w/llvm/llvm/build-e2e/KernelCompiler/Output/sycl.cpp.tmp.out
# .---command stdout------------
# | 42=42 43=43 44=44 45=45 46=46 47=47 48=48 49=49 50=50 51=51 
# | 44=44 45=45 46=46 47=47 48=48 49=49 50=50 51=51 52=52 53=53 
# | 44=44 45=45 46=46 47=47 48=48 49=49 50=50 51=51 52=52 53=53 
# | 42=42 43=43 44=44 45=45 46=46 47=47 48=48 49=49 50=50 51=51 
# | 0.842701 1.41421 0 1.41421 0.5 4 
# `-----------------------------
# .---command stderr------------
# | terminate called after throwing an instance of 'sycl::_V1::exception'
# |   what():  No device image found for external symbol __devicelib_ConvertBF16ToFINTEL
# `-----------------------------
# error: command failed with exit status: -6

https://github.com/intel/llvm/actions/runs/14920685218/job/41915654341

To reproduce

  1. Include a code snippet that is as short as possible
  2. Specify the command which should be used to compile the program
  3. Specify the command which should be used to launch the program
  4. Indicate what is wrong and what was expected

Environment

  • OS: [e.g Windows/Linux]
  • Target device and vendor: [e.g. Intel GPU]
  • DPC++ version: [e.g. commit hash or output of clang++ --version]
  • Dependencies version: [e.g. the output of sycl-ls --verbose]

Additional context

No response

sarnex avatar May 09 '25 14:05 sarnex

GroupAlgorithm seem to have regressed between

good: https://github.com/intel/llvm/actions/runs/14585925122 bad: https://github.com/intel/llvm/actions/runs/14609184299

so this range of changes: https://github.com/intel/llvm/compare/eb19e815ead4c29959b678d4ab19da4c412a0cd8...71755361e12b4d0fdbb03f9a3895c64a55a024f3

I think https://github.com/intel/llvm/pull/17239 is the most likely to be guilty here. @dklochkov-emb , can you look ASAP?

KernelCompiler/sycl.cpp started failing even before that. @cperkinsintel , as as kernel compiler owner and the dispatcher this week, can you investigate please?

aelovikov-intel avatar May 09 '25 16:05 aelovikov-intel

I'll look into the KernelCompiler/sycl.cpp failure.

jopperm avatar May 12 '25 08:05 jopperm

Ok, I will take a look at SYCL :: GroupAlgorithm/exclusive_scan_sycl2020.cpp SYCL :: GroupAlgorithm/inclusive_scan_sycl2020.cpp SYCL :: GroupAlgorithm/reduce_sycl2020.cpp

dklochkov-emb avatar May 12 '25 08:05 dklochkov-emb

Current list of failures is

  SYCL :: Experimental/launch_queries/max_work_group_size.cpp
  SYCL :: Experimental/launch_queries/max_work_item_sizes.cpp
  SYCL :: FreeFunctionCommands/launch_grouped_reduce.cpp
  SYCL :: FreeFunctionCommands/launch_reduce.cpp
  SYCL :: GroupAlgorithm/exclusive_scan_sycl2020.cpp
  SYCL :: GroupAlgorithm/inclusive_scan_sycl2020.cpp
  SYCL :: GroupAlgorithm/reduce_sycl2020.cpp
  SYCL :: Properties/cache_config.cpp

Reduction failures not listed, they are a known, separate issue.

https://github.com/intel/llvm/actions/runs/15549830233/job/43778612814

sarnex avatar Jun 10 '25 15:06 sarnex

  SYCL :: FreeFunctionCommands/launch_grouped_reduce.cpp
  SYCL :: FreeFunctionCommands/launch_reduce.cpp
  Properties/cache_config.cpp

are reductions too, fix is at https://github.com/intel/llvm/pull/18898.

aelovikov-intel avatar Jun 10 '25 15:06 aelovikov-intel

Adding:

  SYCL :: KernelCompiler/sycl_imf.cpp

it's an extract from KernelCompiler/sycl.cpp and shows the same failure. The file was created in this PR: https://github.com/intel/llvm/pull/18918

jchlanda avatar Jul 02 '25 13:07 jchlanda

Removed

sycl/test-e2e/KernelCompiler/sycl.cpp
sycl/test-e2e/KernelCompiler/sycl_imf.cpp
sycl/test-e2e/KernelCompiler/sycl_join.cpp

as they are passing in the nightly.

PR https://github.com/intel/llvm/pull/19664

sarnex avatar Jul 31 '25 16:07 sarnex