Pull out likwid intrumentation from benchmark functions.

This commit is contained in:
Jan Eitzinger
2020-12-08 15:20:56 +01:00
parent 072bda515d
commit 279d3fca5c
11 changed files with 49 additions and 83 deletions

View File

@@ -38,8 +38,8 @@
#include <likwid-marker.h>
#define SIZE 40000000ull
#define NTIMES 10
#define SIZE 120000000ull
#define NTIMES 5
#define ARRAY_ALIGNMENT 64
#define HLINE "----------------------------------------------------------------------------\n"

View File

@@ -25,6 +25,7 @@
* =======================================================================================
*/
#define _GNU_SOURCE
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
@@ -36,8 +37,8 @@
#include <omp.h>
#endif
#define SIZE 40000000ull
#define NTIMES 10
#define SIZE 120000000ull
#define NTIMES 5
#define ARRAY_ALIGNMENT 64
#define HLINE "----------------------------------------------------------------------------\n"