summaryrefslogtreecommitdiff
path: root/Microbenchmarks/CPU-DPU/host
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-11-15 14:55:31 +0100
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-11-15 14:55:31 +0100
commitd25ae864fa6a9461ac9bbb65122c4465ee36690d (patch)
tree5320d6057228b71a831b5e5c62637edd9137733d /Microbenchmarks/CPU-DPU/host
parentb7cfb8dc3ff4c6e2d58de8d10d6c2622fd12d1a7 (diff)
CPU-DPU microbenchmark: use default number of threads per pool
Diffstat (limited to 'Microbenchmarks/CPU-DPU/host')
-rw-r--r--Microbenchmarks/CPU-DPU/host/app.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/Microbenchmarks/CPU-DPU/host/app.c b/Microbenchmarks/CPU-DPU/host/app.c
index 8d4dcba..92727ce 100644
--- a/Microbenchmarks/CPU-DPU/host/app.c
+++ b/Microbenchmarks/CPU-DPU/host/app.c
@@ -78,18 +78,15 @@ int main(int argc, char **argv) {
uint32_t nr_of_dpus;
uint32_t nr_of_ranks;
- char ntpp[24];
-
// Timer declaration
Timer timer;
- snprintf(ntpp, 24, "nrThreadPerPool=%d", p.n_threads);
// Allocate DPUs and load binary
start(&timer, 4, 0);
#if NR_DPUS
- DPU_ASSERT(dpu_alloc(NR_DPUS, ntpp, &dpu_set));
+ DPU_ASSERT(dpu_alloc(NR_DPUS, NULL, &dpu_set));
#elif NR_RANKS
- DPU_ASSERT(dpu_alloc_ranks(NR_RANKS, ntpp, &dpu_set));
+ DPU_ASSERT(dpu_alloc_ranks(NR_RANKS, NULL, &dpu_set));
#else
#error "NR_DPUS o NR_RANKS must be set"
#endif