summaryrefslogtreecommitdiff
path: root/GEMV
diff options
context:
space:
mode:
Diffstat (limited to 'GEMV')
-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);
}