Update performance_common.hh
Replace std::reduce with std::accumulate due to RHEL build issues.
[ROCm/hip-tests commit: 2c7f3749fb]
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
bd120fef5a
Коммит
2a01aa5b4e
@@ -155,7 +155,7 @@ template <typename Derived> 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 =
|
||||
|
||||
Ссылка в новой задаче
Block a user