summaryrefslogtreecommitdiff
path: root/GEMV/baselines/cpu
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-07-18 15:23:23 +0200
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-07-18 15:23:23 +0200
commit0ce28046573fa37026ce018f92bd120e55d5491b (patch)
treed060e7c2cbcd75f5dda88c0207aeed939303777b /GEMV/baselines/cpu
parent79daeb2c93ca46318c23a5c28a8b27c935544d67 (diff)
GEMV baseline: ooopsie
Diffstat (limited to 'GEMV/baselines/cpu')
-rw-r--r--GEMV/baselines/cpu/gemv_openmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/GEMV/baselines/cpu/gemv_openmp.c b/GEMV/baselines/cpu/gemv_openmp.c
index 3da1504..0a74c10 100644
--- a/GEMV/baselines/cpu/gemv_openmp.c
+++ b/GEMV/baselines/cpu/gemv_openmp.c
@@ -202,7 +202,7 @@ int main(int argc, char *argv[])
#if NUMA_MEMCPY
start(&timer, 3, 0);
if (!numa_node_in_is_local) {
- numa_free(x_local, sizeof(T) * rows);
+ numa_free(x_local, sizeof(T) * cols);
numa_free(*A_local, sizeof(T) * rows * cols);
numa_free(A_local, sizeof(void*) * rows);
}