From 4b572d8cfa7f83cbcf838e8aa20247bff1ddcd9a Mon Sep 17 00:00:00 2001 From: tqcq Date: Thu, 24 Oct 2024 06:26:16 +0000 Subject: [PATCH] feat: auto detect cpu_num --- drama/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drama/src/main.c b/drama/src/main.c index 60be25c..289f017 100644 --- a/drama/src/main.c +++ b/drama/src/main.c @@ -57,7 +57,7 @@ main(int argc, char **argv) size_t rounds = ROUNDS_std; size_t m_size = MEM_SIZE_std; size_t threshold = THRESHOLD_std; - size_t cpu = 1; + size_t cpu = 0; char *o_file = (char *) O_FILE_std; flags |= F_POPULATE;