Refs #174. Return sb pointer when OpenMP or Windows.

This commit is contained in:
Zhang Xianyi 2013-02-26 00:48:21 +08:00
parent 4c2123c334
commit 3cc6ae793e
2 changed files with 3 additions and 1 deletions

View File

@ -224,6 +224,7 @@ static void exec_threads(blas_queue_t *queue){
+ GEMM_ALIGN) & ~GEMM_ALIGN)) + GEMM_OFFSET_B);
}
}
queue->sb=sb;
}
}

View File

@ -253,6 +253,7 @@ static DWORD WINAPI blas_thread_server(void *arg){
+ GEMM_ALIGN) & ~GEMM_ALIGN)) + GEMM_OFFSET_B);
}
}
queue->sb=sb;
}
#ifdef MONITOR
@ -495,4 +496,4 @@ void goto_set_num_threads(int num_threads)
void openblas_set_num_threads(int num)
{
goto_set_num_threads(num);
}
}