Reduce heat and fibonnacci test sizes

This commit is contained in:
Rodrigo Arias 2024-07-24 15:49:00 +02:00
parent 439b716a71
commit 92c36502bc
2 changed files with 5 additions and 5 deletions

View File

@ -37,8 +37,8 @@ main(void)
ovni_mark_type(RUN, OVNI_MARK_STACK, "Fibonacci run"); ovni_mark_type(RUN, OVNI_MARK_STACK, "Fibonacci run");
long res = 0; long res = 0;
for (int i = 1; i <= 30; i++) { for (int i = 1; i <= 10; i++) {
fib2(15, &res, i); fib2(12, &res, i);
#pragma oss taskwait #pragma oss taskwait
} }

View File

@ -110,15 +110,15 @@ main(void)
ovni_mark_type(TIME, OVNI_MARK_STACK, "Heat time"); ovni_mark_type(TIME, OVNI_MARK_STACK, "Heat time");
/* The real number of allocated rows and columns will be bigger */ /* The real number of allocated rows and columns will be bigger */
long _rows = 8L * 1024L; long _rows = 1L * 1024L;
long _cols = _rows; long _cols = _rows;
rows = _rows + 2; rows = _rows + 2;
cols = _cols + 2; cols = _cols + 2;
rbs = 128L; rbs = 64L;
cbs = rbs; cbs = rbs;
timesteps = 10L; timesteps = 5L;
nrb = (rows - 2) / rbs + 2; nrb = (rows - 2) / rbs + 2;
ncb = (cols - 2) / cbs + 2; ncb = (cols - 2) / cbs + 2;