Skip to content

Commit 974a6a3

Browse files
authored
Merge pull request #1858 from brada4/buff-1847
Add minimum threshold for number of buffers
2 parents f1c0227 + 9531d0e commit 974a6a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ extern "C" {
183183

184184
#define ALLOCA_ALIGN 63UL
185185

186-
#define NUM_BUFFERS (MAX_CPU_NUMBER * 2 * MAX_PARALLEL_NUMBER)
186+
#define NUM_BUFFERS MAX(50,(MAX_CPU_NUMBER * 2 * MAX_PARALLEL_NUMBER))
187187

188188
#ifdef NEEDBUNDERSCORE
189189
#define BLASFUNC(FUNC) FUNC##_

0 commit comments

Comments
 (0)