You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[952/1195] Building CXX object tests/reduction/CMakeFiles/test_reduction_objects.dir/reducer_api_core.cpp.o
In file included from ../tests/reduction/reducer_api_core.cpp:24:
In file included from ../tests/reduction/reducer_api.h:27:
../tests/reduction/identity_helper.h:54:10: warning: bitwise negation of a boolean expression always evaluates to 'true'; did you mean logical negation? [-Wbool-operation]
54 | return ~AccumulatorT{};
| ^~~~~~~~~~~~~~~
| !
../tests/reduction/reducer_api.h:253:29: note: in instantiation of function template specialization 'get_identity<bool, std::bit_and<bool>, true>' requested here
253 | AccumulatorT expected = get_identity<AccumulatorT, OperatorT>();
| ^
../tests/reduction/../common/type_coverage.h:404:5: note: in instantiation of member function 'check_reducer_identity_operator<std::bit_and<bool>, bool>::operator()' requested here
404 | ((action<types, actionArgsT...>{}(std::forward<argsT>(args)...,
| ^
../tests/reduction/reducer_api.h:271:5: note: in instantiation of function template specialization 'for_all_types<check_reducer_identity_operator, bool, std::plus<bool>, std::multiplies<bool>, std::bit_and<bool>, std::bit_or<bool>,
std::bit_xor<bool>, sycl::logical_and<bool>, sycl::logical_or<bool>, sycl::minimum<bool>, sycl::maximum<bool>, sycl::queue &>' requested here
271 | for_all_types<check_reducer_identity_operator, AccumulatorT>(op_types,
| ^
../tests/reduction/reducer_api_core.cpp:79:33: note: in instantiation of member function 'check_reducer_identity<bool>::operator()' requested here
79 | check_reducer_identity<bool>{}(queue, "bool");
| ^
../tests/reduction/../common/disabled_for_test_case.h:42:3: note: expanded from macro 'DISABLED_FOR_TEST_CASE'
42 | INTERNAL_CTS_DISABLED_FOR_TEST_CASE(__VA_ARGS__)
| ^
../tests/reduction/../common/disabled_for_test_case.h:130:40: note: expanded from macro 'INTERNAL_CTS_DISABLED_FOR_TEST_CASE'
130 | INTERNAL_CTS_MAYBE_DISABLE_TEST_CASE(INTERNAL_CTS_ENABLED_TEST_CASE, \
| ^
1 warning generated.
The text was updated successfully, but these errors were encountered:
SYCL-CTS/tests/reduction/identity_helper.h
Lines 47 to 55 in 9691bc0
Build log:
The text was updated successfully, but these errors were encountered: