Skip to content

Tests failing on preview mode in nightly #18390

Open
@sarnex

Description

@sarnex

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions