Skip to content

Commit 804a306

Browse files
committed
Merge branch 'develop' of github.com:xianyi/OpenBLAS into develop
2 parents f80f29e + 9db0fb8 commit 804a306

File tree

5 files changed

+206
-183
lines changed

5 files changed

+206
-183
lines changed

common_s.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#define SCOPY_K scopy_k
1818
#define SDOTU_K sdot_k
1919
#define SDOTC_K sdot_k
20-
#define SDSDOT_K sdot_k
20+
#define SDSDOT_K dsdot_k
2121
#define DSDOT_K dsdot_k
2222
#define SNRM2_K snrm2_k
2323
#define SSCAL_K sscal_k
@@ -162,7 +162,7 @@
162162
#define SCOPY_K gotoblas -> scopy_k
163163
#define SDOTU_K gotoblas -> sdot_k
164164
#define SDOTC_K gotoblas -> sdot_k
165-
#define SDSDOT_K gotoblas -> sdot_k
165+
#define SDSDOT_K gotoblas -> dsdot_k
166166
#define DSDOT_K gotoblas -> dsdot_k
167167
#define SNRM2_K gotoblas -> snrm2_k
168168
#define SSCAL_K gotoblas -> sscal_k

driver/others/memory.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,9 +264,9 @@ void openblas_fork_handler()
264264
// http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60035
265265
// In the mean time build with USE_OPENMP=0 or link against another
266266
// implementation of OpenMP.
267-
#ifndef OS_WINDOWS
267+
#if !defined(OS_WINDOWS) && defined(SMP_SERVER)
268268
int err;
269-
err = pthread_atfork (BLASFUNC(blas_thread_shutdown), NULL, NULL);
269+
err = pthread_atfork ((void (*)(void)) BLASFUNC(blas_thread_shutdown), NULL, NULL);
270270
if(err != 0)
271271
openblas_warning(0, "OpenBLAS Warning ... cannot install fork handler. You may meet hang after fork.\n");
272272
#endif

0 commit comments

Comments
 (0)