File tree 1 file changed +8
-1
lines changed 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -278,12 +278,15 @@ static DWORD WINAPI blas_thread_server(void *arg){
278
278
} else
279
279
#endif
280
280
if ((queue -> mode & BLAS_PREC ) == BLAS_DOUBLE ){
281
+ #ifdef BUILD_DOUBLE
281
282
sb = (void * )(((BLASLONG )sa + ((DGEMM_P * DGEMM_Q * sizeof (double )
282
283
+ GEMM_ALIGN ) & ~GEMM_ALIGN )) + GEMM_OFFSET_B );
283
-
284
+ #endif
284
285
} else if ((queue -> mode & BLAS_PREC ) == BLAS_SINGLE ) {
286
+ #ifdef BUILD_SINGLE
285
287
sb = (void * )(((BLASLONG )sa + ((SGEMM_P * SGEMM_Q * sizeof (float )
286
288
+ GEMM_ALIGN ) & ~GEMM_ALIGN )) + GEMM_OFFSET_B );
289
+ #endif
287
290
} else {
288
291
/* Other types in future */
289
292
}
@@ -295,11 +298,15 @@ static DWORD WINAPI blas_thread_server(void *arg){
295
298
} else
296
299
#endif
297
300
if ((queue -> mode & BLAS_PREC ) == BLAS_DOUBLE ){
301
+ #ifdef BUILD_COMPLEX16
298
302
sb = (void * )(((BLASLONG )sa + ((ZGEMM_P * ZGEMM_Q * 2 * sizeof (double )
299
303
+ GEMM_ALIGN ) & ~GEMM_ALIGN )) + GEMM_OFFSET_B );
304
+ #endif
300
305
} else if ((queue -> mode & BLAS_PREC ) == BLAS_SINGLE ) {
306
+ #ifdef BUILD_COMPLEX
301
307
sb = (void * )(((BLASLONG )sa + ((CGEMM_P * CGEMM_Q * 2 * sizeof (float )
302
308
+ GEMM_ALIGN ) & ~GEMM_ALIGN )) + GEMM_OFFSET_B );
309
+ #endif
303
310
} else {
304
311
/* Other types in future */
305
312
}
You can’t perform that action at this time.
0 commit comments