Skip to content

Commit b3c40d2

Browse files
author
CSWater
committed
Merge branch 'main' of github.com:PAA-NCIC/PE into main
2 parents 6e0c119 + 3e27a02 commit b3c40d2

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#include<string.h>
2+
3+
4+
struct cpu_fp_x86{
5+
std::string isa;
6+
std::string type;
7+
std::string dim;
8+
int64_t num_loops;
9+
int64_t flops_per_loop;
10+
void (*bench)(int64_t);
11+
};
12+
13+
struct cpu_mem_x86{
14+
std::string isa;
15+
std::string type;
16+
std::string dim;
17+
int32_t num_loops;
18+
int32_t dv_per_loop;
19+
void (*bench)(int64_t, void *);
20+
void *src1;
21+
};
22+
23+
typedef enum{
24+
PEAK_FP,
25+
PEAK_MEM,
26+
CUSTOM
27+
}BENCH_TYPE;

0 commit comments

Comments
 (0)