Skip to content

Commit 0944e9e

Browse files
authored
Ensure a safe margin between work arrays in the buffer even when GEMM_PQR is small
1 parent 146beed commit 0944e9e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lapack/potrf/potrf_U_single.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ static FLOAT dm1 = -1.;
6666
#endif
6767

6868
#define GEMM_PQ MAX(GEMM_P, GEMM_Q)
69-
#define REAL_GEMM_R (GEMM_R - GEMM_PQ)
69+
#define REAL_GEMM_R (MAX(GEMM_R, GEMM_PQ + 96) - GEMM_PQ)
7070

7171
#if 0
7272
#define SHARED_ARRAY

0 commit comments

Comments
 (0)