Skip to content

Commit 81d2657

Browse files
committed
rebase fix
Signed-off-by: Aleksander Fadeev <aleksander.fadeev@intel.com>
1 parent ac59ae0 commit 81d2657

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sycl/include/CL/sycl/intel/reduction.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,7 @@ class reduction_impl {
394394
enable_if_t<IsKnownIdentityOp<_T, _BinaryOperation>::value> * = nullptr>
395395
reduction_impl(accessor_type &Acc, const T &Identity)
396396
: MAcc(Acc), MIdentity(getIdentity()) {
397+
(void)Identity;
397398
assert(Acc.get_count() == 1 &&
398399
"Only scalar/1-element reductions are supported now.");
399400
// For now the implementation ignores the identity value given by user

0 commit comments

Comments
 (0)