diff --git a/projects/hip-tests/catch/include/performance_common.hh b/projects/hip-tests/catch/include/performance_common.hh index a40d6b3f5c..9b0c790444 100644 --- a/projects/hip-tests/catch/include/performance_common.hh +++ b/projects/hip-tests/catch/include/performance_common.hh @@ -155,7 +155,7 @@ template class Benchmark { time_ = .0; } - float sum = std::reduce(cbegin(samples), cend(samples)); + float sum = std::accumulate(cbegin(samples), cend(samples), .0); float mean = sum / samples.size(); float deviation =