Skip to content

Commit 3cc6ae7

Browse files
committed
Refs #174. Return sb pointer when OpenMP or Windows.
1 parent 4c2123c commit 3cc6ae7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

driver/others/blas_server_omp.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ static void exec_threads(blas_queue_t *queue){
224224
+ GEMM_ALIGN) & ~GEMM_ALIGN)) + GEMM_OFFSET_B);
225225
}
226226
}
227+
queue->sb=sb;
227228
}
228229
}
229230

driver/others/blas_server_win32.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ static DWORD WINAPI blas_thread_server(void *arg){
253253
+ GEMM_ALIGN) & ~GEMM_ALIGN)) + GEMM_OFFSET_B);
254254
}
255255
}
256+
queue->sb=sb;
256257
}
257258

258259
#ifdef MONITOR
@@ -495,4 +496,4 @@ void goto_set_num_threads(int num_threads)
495496
void openblas_set_num_threads(int num)
496497
{
497498
goto_set_num_threads(num);
498-
}
499+
}

0 commit comments

Comments
 (0)