Browse Source

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

tags/v0.2.6
Zhang Xianyi 12 years ago
parent
commit
3cc6ae793e
2 changed files with 3 additions and 1 deletions
  1. +1
    -0
      driver/others/blas_server_omp.c
  2. +2
    -1
      driver/others/blas_server_win32.c

+ 1
- 0
driver/others/blas_server_omp.c View File

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



+ 2
- 1
driver/others/blas_server_win32.c 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);
}
}

Loading…
Cancel
Save