summaryrefslogtreecommitdiff
path: root/TRNS
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2023-11-28 08:10:43 +0100
committerBirte Kristina Friesel <birte.friesel@uos.de>2023-11-28 08:10:43 +0100
commitb2f2d29e3d603a6b191d927598b264ba63bc74e0 (patch)
tree114e7387a7ac3f369c77a6021752c00ad9477281 /TRNS
parentfb3a54194847c121a6a0264e09826dcad31caae5 (diff)
TRNS: Influde free overhead in reconfiguration overhead
Diffstat (limited to 'TRNS')
-rw-r--r--TRNS/host/app.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/TRNS/host/app.c b/TRNS/host/app.c
index df5aeca..ea6de14 100644
--- a/TRNS/host/app.c
+++ b/TRNS/host/app.c
@@ -38,7 +38,6 @@ static T* A_result;
// Create input arrays
static void read_input(T* A, unsigned int nr_elements) {
srand(0);
- printf("nr_elements\t%u\t", nr_elements);
for (unsigned int i = 0; i < nr_elements; i++) {
A[i] = (T) (rand());
}
@@ -247,7 +246,9 @@ int main(int argc, char **argv) {
first_round = 0;
}
}
+ start(&timer, 1, 1);
DPU_ASSERT(dpu_free(dpu_set));
+ stop(&timer, 1);
// Check output
bool status = true;
@@ -291,6 +292,7 @@ int main(int argc, char **argv) {
}
// Print timing results
+ /*
printf("CPU ");
print(&timer, 0, p.n_reps);
printf("CPU-DPU (Step 1) ");
@@ -301,6 +303,7 @@ int main(int argc, char **argv) {
print(&timer, 3, p.n_reps);
printf("DPU-CPU ");
print(&timer, 4, p.n_reps);
+ */
#if ENERGY
double energy;