Files
rocm-systems/projects/rocr-runtime/samples/common/common_utility.h
T
Mario Limonciello 8b529e7b29 Run pre-commit's whitespace related hooks on projects/rocr-runtime/samples (#2126)
In order for pre-commit to be useful, everything needs to meet a common
baseline.

Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
2026-01-08 15:36:57 -05:00

20 baris
404 B
C++

/*
* Copyright © Advanced Micro Devices, Inc., or its affiliates.
*
* SPDX-License-Identifier: MIT
*/
#include <iostream>
#include <algorithm>
#include <cmath>
#include <vector>
using namespace std;
double CalcMean(vector<double> scores);
double CalcMedian(vector<double> scores);
double CalcStdDeviation(vector<double> scores, int score_mean);
int CalcConcurrentQueues(vector<double> scores);