@@ -2791,6 +2791,7 @@ void reduction_parallel_for(handler &CGH, range<Dims> Range,
2791
2791
template <typename T, typename AllocatorT, typename BinaryOperation>
2792
2792
auto reduction (buffer<T, 1 , AllocatorT> Var, handler &CGH,
2793
2793
BinaryOperation Combiner, const property_list &PropList = {}) {
2794
+ std::ignore = CGH;
2794
2795
bool InitializeToIdentity =
2795
2796
PropList.has_property <property::reduction::initialize_to_identity>();
2796
2797
return detail::make_reduction<BinaryOperation, 0 , 1 , false >(
@@ -2817,6 +2818,7 @@ auto reduction(T *Var, BinaryOperation Combiner,
2817
2818
template <typename T, typename AllocatorT, typename BinaryOperation>
2818
2819
auto reduction (buffer<T, 1 , AllocatorT> Var, handler &CGH, const T &Identity,
2819
2820
BinaryOperation Combiner, const property_list &PropList = {}) {
2821
+ std::ignore = CGH;
2820
2822
bool InitializeToIdentity =
2821
2823
PropList.has_property <property::reduction::initialize_to_identity>();
2822
2824
return detail::make_reduction<BinaryOperation, 0 , 1 , true >(
0 commit comments