diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2023-11-21 08:06:54 +0100 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2023-11-21 08:06:54 +0100 |
commit | 0b6e066ae9a4dfc7ec18c1ec3794001c79cb2415 (patch) | |
tree | b0f6e842abc36ee24780cd70f25c16c4af54b843 /VA | |
parent | 3d34449efeb67a20865822aeb4adf1d1eb7ffb3f (diff) |
UNI, VA: fix compilation without alloc/load/free benchmarks
Diffstat (limited to 'VA')
-rw-r--r-- | VA/host/app.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/VA/host/app.c b/VA/host/app.c index 98cd782..9c98588 100644 --- a/VA/host/app.c +++ b/VA/host/app.c @@ -66,6 +66,9 @@ int main(int argc, char **argv) { printf("WITH_ALLOC_OVERHEAD=%d WITH_LOAD_OVERHEAD=%d WITH_FREE_OVERHEAD=%d\n", WITH_ALLOC_OVERHEAD, WITH_LOAD_OVERHEAD, WITH_FREE_OVERHEAD); + // Timer declaration + Timer timer; + // Allocate DPUs and load binary #if !WITH_ALLOC_OVERHEAD DPU_ASSERT(dpu_alloc(NR_DPUS, NULL, &dpu_set)); @@ -101,9 +104,6 @@ int main(int argc, char **argv) { // Create an input file with arbitrary data read_input(A, B, input_size); - // Timer declaration - Timer timer; - // Loop over main kernel for(int rep = 0; rep < p.n_warmup + p.n_reps; rep++) { |