Skip to content

Commit

Permalink
Update src/main.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
tomdeakin committed May 13, 2024
1 parent b7ec8c3 commit 610bdab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ enum class BenchId : int {Copy, Mul, Add, Triad, Nstream, Dot, Classic, All};
struct Benchmark {
BenchId id;
char const* label;
// Weights data moved by benchmark & therefore achieved BW:
// Weight counts data elements of original arrays moved each loop iteration - used to calculate achieved BW:
// bytes = weight * sizeof(T) * ARRAY_SIZE -> bw = bytes / dur
size_t weight;
// Is it one of: Copy, Mul, Add, Triad, Dot?
Expand Down

0 comments on commit 610bdab

Please sign in to comment.