Update performance_common.hh
Replace std::reduce with std::accumulate due to RHEL build issues.
[ROCm/hip-tests commit: 2c7f3749fb]
Este cometimento está contido em:
1 ascendente
bd120fef5a
cometimento
2a01aa5b4e
1 ficheiro modificado
+1
-1
@@ -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 =
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador