File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -278,12 +278,15 @@ static DWORD WINAPI blas_thread_server(void *arg){
278278 } else
279279#endif
280280 if ((queue -> mode & BLAS_PREC ) == BLAS_DOUBLE ){
281+ #ifdef BUILD_DOUBLE
281282 sb = (void * )(((BLASLONG )sa + ((DGEMM_P * DGEMM_Q * sizeof (double )
282283 + GEMM_ALIGN ) & ~GEMM_ALIGN )) + GEMM_OFFSET_B );
283-
284+ #endif
284285 } else if ((queue -> mode & BLAS_PREC ) == BLAS_SINGLE ) {
286+ #ifdef BUILD_SINGLE
285287 sb = (void * )(((BLASLONG )sa + ((SGEMM_P * SGEMM_Q * sizeof (float )
286288 + GEMM_ALIGN ) & ~GEMM_ALIGN )) + GEMM_OFFSET_B );
289+ #endif
287290 } else {
288291 /* Other types in future */
289292 }
@@ -295,11 +298,15 @@ static DWORD WINAPI blas_thread_server(void *arg){
295298 } else
296299#endif
297300 if ((queue -> mode & BLAS_PREC ) == BLAS_DOUBLE ){
301+ #ifdef BUILD_COMPLEX16
298302 sb = (void * )(((BLASLONG )sa + ((ZGEMM_P * ZGEMM_Q * 2 * sizeof (double )
299303 + GEMM_ALIGN ) & ~GEMM_ALIGN )) + GEMM_OFFSET_B );
304+ #endif
300305 } else if ((queue -> mode & BLAS_PREC ) == BLAS_SINGLE ) {
306+ #ifdef BUILD_COMPLEX
301307 sb = (void * )(((BLASLONG )sa + ((CGEMM_P * CGEMM_Q * 2 * sizeof (float )
302308 + GEMM_ALIGN ) & ~GEMM_ALIGN )) + GEMM_OFFSET_B );
309+ #endif
303310 } else {
304311 /* Other types in future */
305312 }
You can’t perform that action at this time.
0 commit comments