Browse Source

Update blas_server_win32.c

pull/4109/head
Martin Kroeker GitHub 2 years ago
parent
commit
3bbee200f8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      driver/others/blas_server_win32.c

+ 2
- 2
driver/others/blas_server_win32.c View File

@@ -1,4 +1,4 @@
/*********************************************************************/
/*********************************************************************/
/* Copyright 2009, 2010 The University of Texas at Austin. */ /* Copyright 2009, 2010 The University of Texas at Austin. */
/* All rights reserved. */ /* All rights reserved. */
/* */ /* */
@@ -556,7 +556,7 @@ void goto_set_num_threads(int num_threads)
blas_server_avail = 1; blas_server_avail = 1;
} }


for(i = (blas_num_threads > 0 ? blas_num_threads-1 : 0; i < num_threads - 1; i++){
for(i = (blas_num_threads > 0 ? blas_num_threads-1 : 0); i < num_threads - 1; i++){


blas_threads[i] = CreateThread(NULL, 0, blas_threads[i] = CreateThread(NULL, 0,
blas_thread_server, (void *)i, blas_thread_server, (void *)i,


Loading…
Cancel
Save