Skip to content

Commit e008646

Browse files
authored
Merge pull request #3302 from martin-frbg/small_cleanup
Clean up some warnings
2 parents be1a425 + 7bb59fc commit e008646

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

interface/gemm.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ void NAME(char *TRANSA, char *TRANSB,
126126

127127
#ifdef SMP
128128
double MNK;
129+
#if defined(USE_SIMPLE_THREADED_LEVEL3) || !defined(NO_AFFINITY)
129130
#ifndef COMPLEX
130131
#ifdef XDOUBLE
131132
int mode = BLAS_XDOUBLE | BLAS_REAL;
@@ -144,6 +145,7 @@ void NAME(char *TRANSA, char *TRANSB,
144145
#endif
145146
#endif
146147
#endif
148+
#endif
147149

148150
#if defined(SMP) && !defined(NO_AFFINITY) && !defined(USE_SIMPLE_THREADED_LEVEL3)
149151
int nodes;

interface/gemv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ void CNAME(enum CBLAS_ORDER order,
203203
if (alpha == ZERO) return;
204204

205205
if (trans == 0 && incx == 1 && incy == 1 && m*n < 2304 *GEMM_MULTITHREAD_THRESHOLD) {
206-
GEMV_N(m, n, 0, alpha, a, lda, x, incx, y, incy, buffer);
206+
GEMV_N(m, n, 0, alpha, a, lda, x, incx, y, incy, NULL);
207207
return;
208208
}
209209

interface/ger.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ void CNAME(enum CBLAS_ORDER order,
165165
if (alpha == 0.) return;
166166

167167
if (incx == 1 && incy == 1 && 1L*m*n <= 2048 *GEMM_MULTITHREAD_THRESHOLD) {
168-
GER(m, n, 0, alpha, x, incx, y, incy, a, lda, buffer);
168+
GER(m, n, 0, alpha, x, incx, y, incy, a, lda, NULL);
169169
return;
170170
}
171171

0 commit comments

Comments
 (0)