Skip to content

Commit 3fd4131

Browse files
committed
add low bound for number of buffers
1 parent a931afe commit 3fd4131

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(64,(MAX_CPU_NUMBER * 2 * MAX_PARALLEL_NUMBER))
187187

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

0 commit comments

Comments
 (0)