Skip to content

Commit 57637d5

Browse files
authored
Merge pull request #221 from BI71317/main
Fix build regression by restoring Stream::init_arrays declaration
2 parents 2411a9a + 7136ab8 commit 57637d5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/Stream.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ class Stream
4141
virtual void nstream() = 0;
4242
virtual T dot() = 0;
4343

44+
// Reinitialize arrays to their starting values before a benchmark run.
45+
virtual void init_arrays(T initA, T initB, T initC) = 0;
46+
4447
// Set pointers to read from arrays
4548
virtual void get_arrays(T const*& a, T const*& b, T const*& c) = 0;
4649
};

0 commit comments

Comments
 (0)