65a847cd36 
								
							 
						 
						
							
							
								
								Introduce openblas_get_num_threads and openblas_get_num_procs  
							
							
							
						 
						
							2015-02-03 12:23:41 -05:00  
				
					
						
							
							
								 
						
							
								2fb02626da 
								
							 
						 
						
							
							
								
								Update organization info.  
							
							
							
						 
						
							2014-11-25 15:28:58 +08:00  
				
					
						
							
							
								 
						
							
								f7eb81a846 
								
							 
						 
						
							
							
								
								Fix link error on Linux/musl.  
							
							... 
							
							
							
							get_nprocs() is a GNU convenience function equivalent to POSIX2008
sysconf(_SC_NPROCESSORS_ONLN); the latter should be available in unistd.h
on any current *nix. (OS X supports this call since 10.5, and FreeBSD
currently supports it. But this commit does not change FreeBSD or OS X
versions.) 
							
						 
						
							2014-08-03 15:06:30 -07:00  
				
					
						
							
							
								 
						
							
								7a8949e0ce 
								
							 
						 
						
							
							
								
								Merge branch 'develop' of  https://github.com/TimothyGu/OpenBLAS  into TimothyGu-develop  
							
							... 
							
							
							
							Conflicts:
	driver/others/memory.c 
							
						 
						
							2014-06-28 20:51:31 +08:00  
				
					
						
							
							
								 
						
							
								6c2ead30f0 
								
							 
						 
						
							
							
								
								Remove all trailing whitespace except lapack-netlib  
							
							... 
							
							
							
							Signed-off-by: Timothy Gu <timothygu99@gmail.com> 
							
						 
						
							2014-06-27 12:05:18 -07:00  
				
					
						
							
							
								 
						
							
								f41f03ab83 
								
							 
						 
						
							
							
								
								fix   #394 . this cleans up some handles after using them, and doesn't disable ALL process privileges upon success  
							
							
							
						 
						
							2014-06-27 12:16:57 -04:00  
				
					
						
							
							
								 
						
							
								2c556f093a 
								
							 
						 
						
							
							
								
								Add cast to function pointer to remove warning  
							
							
							
						 
						
							2014-02-25 11:08:32 +01:00  
				
					
						
							
							
								 
						
							
								3b027d2528 
								
							 
						 
						
							
							
								
								Do not reference pthread_atfork in non-SMP_SERVER mode  
							
							
							
						 
						
							2014-02-25 11:08:32 +01:00  
				
					
						
							
							
								 
						
							
								49bd98f410 
								
							 
						 
						
							
							
								
								Do not reference pthread_atfork under windows  
							
							
							
						 
						
							2014-02-19 19:25:48 +01:00  
				
					
						
							
							
								 
						
							
								138a841390 
								
							 
						 
						
							
							
								
								FIX   #294 : make OpenBLAS thread-pool resilient to fork via pthread_atfork  
							
							
							
						 
						
							2014-02-19 19:01:15 +01:00  
				
					
						
							
							
								 
						
							
								046e4013cb 
								
							 
						 
						
							
							
								
								Revert "Refs  #294 . Used pthread_atfork to avoid hang after a Unix fork."  
							
							... 
							
							
							
							This reverts commit 3617c22a56 
							
						 
						
							2014-02-19 18:32:54 +01:00  
				
					
						
							
							
								 
						
							
								3617c22a56 
								
							 
						 
						
							
							
								
								Refs  #294 . Used pthread_atfork to avoid hang after a Unix fork.  
							
							... 
							
							
							
							The problem is the mutex we used in blas_server. Thus, we must clear
the mutex before the fork and re-init them at parent and child process.
If you used OpenMP, GOMP has the same problem by now. Please try other OpenMP
implemantation. 
							
						 
						
							2014-02-18 15:36:04 +08:00  
				
					
						
							
							
								 
						
							
								5048a80032 
								
							 
						 
						
							
							
								
								Refs  #283 . Fixed the incorrect usage of long data type for Windows 64.  
							
							
							
						 
						
							2013-11-14 13:46:42 +08:00  
				
					
						
							
							
								 
						
							
								f54f5bac9e 
								
							 
						 
						
							
							
								
								Refs  #248 . Fixed the LSB compatiable issue for BLAS only.  
							
							... 
							
							
							
							For example, make CC=lsbcc NO_LAPACK=1. 
							
						 
						
							2013-07-09 15:38:03 +08:00  
				
					
						
							
							
								 
						
							
								5d3312142a 
								
							 
						 
						
							
							
								
								Refs  #221   #246 . Fixed the overflowing stack bug in mutlithreading BLAS3.  
							
							... 
							
							
							
							When NUM_THREADS(MAX_CPU_NUNBERS) is very large ,e.g. 256.
typedef struct {
  volatile BLASLONG working[MAX_CPU_NUMBER][CACHE_LINE_SIZE * DIVIDE_RATE];
} job_t;
job_t          job[MAX_CPU_NUMBER];
The job array is equal 8MB.
Thus, We use malloc instead of stack allocation. 
							
						 
						
							2013-07-08 01:07:05 +08:00  
				
					
						
							
							
								 
						
							
								32dbeb636d 
								
							 
						 
						
							
							
								
								Refs  #221 . Set stack limit to 16MB to prevent a SEGFAULT bug on Mac OS X with DYNAMIC_ARCH=1 & NUM_THREADS=256.  
							
							
							
						 
						
							2013-07-02 14:17:55 +08:00  
				
					
						
							
							
								 
						
							
								6751f7b9a7 
								
							 
						 
						
							
							
								
								Fixed   #157 . Only detect the number of physical CPU cores on Mac OSX.  
							
							
							
						 
						
							2012-11-13 15:48:57 +08:00  
				
					
						
							
							
								 
						
							
								801383effe 
								
							 
						 
						
							
							
								
								Fixed a hang bug when shutdown blas threads server on Windows. Added the feature about dynamic changing the number of threads on Windows.  
							
							
							
						 
						
							2012-08-14 18:34:32 +08:00  
				
					
						
							
							
								 
						
							
								a55821a2ec 
								
							 
						 
						
							
							
								
								Refs  #132 . Kill the threads when unload the library.  
							
							
							
						 
						
							2012-08-11 21:33:15 +08:00  
				
					
						
							
							
								 
						
							
								3692b4d631 
								
							 
						 
						
							
							
								
								Improve the detection of sparc  
							
							
							
						 
						
							2012-07-02 02:51:38 +02:00  
				
					
						
							
							
								 
						
							
								a431042475 
								
							 
						 
						
							
							
								
								Fix inconsistent case for OS_* macros (Refs pull request  #111 )  
							
							
							
						 
						
							2012-05-23 00:01:14 +02:00  
				
					
						
							
							
								 
						
							
								4e29b6ffc0 
								
							 
						 
						
							
							
								
								FreeBSD: fix OS_FreeBSD -> OS_FREEBSD typos  
							
							
							
						 
						
							2012-05-21 16:57:19 -04:00  
				
					
						
							
							
								 
						
							
								0b89a7a92d 
								
							 
						 
						
							
							
								
								Ref  #82 . Disable outputing debug information in alloc_mmap.  
							
							
							
						 
						
							2012-03-23 18:17:12 +08:00  
				
					
						
							
							
								 
						
							
								ef6f7f32ae 
								
							 
						 
						
							
							
								
								Fixed mbind bug on Loongson 3B. Check the return value of my_mbind function.  
							
							
							
						 
						
							2011-11-23 17:17:41 +00:00  
				
					
						
							
							
								 
						
							
								4727fe8abf 
								
							 
						 
						
							
							
								
								Refs  #47 . On Loongson 3A, set DGEMM_R parameter depending on different number of threads. It would improve double precision BLAS3 on multi-threads.  
							
							
							
						 
						
							2011-09-05 15:13:52 +00:00  
				
					
						
							
							
								 
						
							
								f7a5e049e2 
								
							 
						 
						
							
							
								
								Enable Debug flags in memory alloc and init functions.  
							
							
							
						 
						
							2011-02-26 11:51:39 +08:00  
				
					
						
							
							
								 
						
							
								128418f49b 
								
							 
						 
						
							
							
								
								Fixed   #10 . Supported GOTO_NUM_THREADS & GOTO_THREADS_TIMEOUT environment variables.  
							
							
							
						 
						
							2011-02-24 16:32:13 +08:00  
				
					
						
							
							
								 
						
							
								e6c13e2b3c 
								
							 
						 
						
							
							
								
								changed library name to openblas and modified environment variable.  
							
							
							
						 
						
							2011-01-24 17:58:05 +00:00  
				
					
						
							
							
								 
						
							
								342bbc3871 
								
							 
						 
						
							
							
								
								Import GotoBLAS2 1.13 BSD version codes.  
							
							
							
						 
						
							2011-01-24 14:54:24 +00:00