Skip to content

Commit

Permalink
Merge pull request #23314 from mrodozov/fix-headers-Vldtn/Prfmns-pkg
Browse files Browse the repository at this point in the history
fix headers in ValidationPerformance and add header guard
  • Loading branch information
cmsbuild committed May 26, 2018
2 parents 144cd7e + 6228846 commit 0314365
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Validation/Performance/bin/Random.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#ifndef RANDOM_H
#define RANDOM_H

typedef struct
{
int m[17];
Expand All @@ -16,3 +19,5 @@ double Random_nextDouble(Random R);
void Random_delete(Random R);
double *RandomVector(int N, Random R);
double **RandomMatrix(int M, int N, Random R);

#endif
1 change: 1 addition & 0 deletions Validation/Performance/bin/kernel.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#ifndef KERNEL_H
#define KERNEL_H

#include "Random.h"
double kernel_measureFFT( int FFT_size, double min_time, Random R);
double kernel_measureSOR( int SOR_size, double min_time, Random R);
double kernel_measureMonteCarlo( double min_time, Random R);
Expand Down

0 comments on commit 0314365

Please sign in to comment.