From 3485c4f9756da5cd2072fa8488207bdc434987ed Mon Sep 17 00:00:00 2001 From: Jino Date: Fri, 7 Jun 2024 21:10:52 +0900 Subject: [PATCH] . --- Peanut.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Peanut.cpp b/Peanut.cpp index 53f4641..7eaaf80 100644 --- a/Peanut.cpp +++ b/Peanut.cpp @@ -10,13 +10,13 @@ #include "longmatstr.h" -#define SUM_STR (mat1+mat1) -#define MAT_STR NUMSTR_100, NUMSTR_100 +#define SUM_STR (mat1+mat1+mat1+mat1+mat1+mat1+mat1+mat1+mat1+mat1+mat1+mat1+mat1+mat1+mat1+mat1+mat1+mat1+mat1+mat1) +#define MAT_STR NUMSTR_100, NUMSTR_100, NUMSTR_100, NUMSTR_100 int main() { constexpr int row = 20; - constexpr int col = 10; - int iter = 1000000; + constexpr int col = 20; + int iter = 100000; // Peanut benchmarking { Peanut::Matrix mat1{MAT_STR}; @@ -24,7 +24,7 @@ int main() { auto time1 = std::chrono::high_resolution_clock::now(); for(int i=0;i