From d25ae864fa6a9461ac9bbb65122c4465ee36690d Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Fri, 15 Nov 2024 14:55:31 +0100 Subject: CPU-DPU microbenchmark: use default number of threads per pool --- Microbenchmarks/CPU-DPU/host/app.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'Microbenchmarks/CPU-DPU/host') 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 -- cgit v1.2.3