luz.paz
daf2fec12d
Misc. typo fixes
Found via `codespell -q 3 -w -L ith,als,dum,nd,amin,nto,wis,ba -S ./relapack,./kernel,./lapack-netlib`
6 years ago
Andrew
8a0b086b28
add missing bracket for old glibc (cppcheck)
7 years ago
Andrew
8aafa0473c
address last warnings as seen by gcc7
7 years ago
Martin Kroeker
28ae3ca76f
Limit MAX_CPU to 1024 for now
Some Linux distributions (notably SuSE) have raised CPU_SETSIZE to 4096, apparently disregarding API limitations.
From #1348 , the highest value to survive array initialization (on a desktop system) is 3232, and 1024 - which is the
more usual CPU_SETSIZE limit, was demonstrated to work fine on an actual bignuma system.
7 years ago
Martin Kroeker
07e7c36dac
Handle shmem init failures in cpu affinity setup code
Failures to obtain or attach shared memory segments would lead to an exit without explanation of the exact cause.
This change introduces a more verbose error message and tries to make the code continue without setting cpu affinity.
Fixes #1351
7 years ago
Martin Kroeker
2a6fef9a55
Try to handle shmget or shmat failing
also replaces one verbatim sched_yield with the YIELDING macro for consistency as suggested in #1351
8 years ago
Martin Kroeker
c4af196a2d
Honor cgroup/cpuset limits when enumerating cpus
8 years ago
Martin Kroeker
480e697681
Revert "Honor cgroup/cpuset limits when enumerating cpus" ( #1246 )
8 years ago
Martin Kroeker
80373ea039
More fixes for silly misedits
8 years ago
Martin Kroeker
d12b75a6c4
Fixup braces lost in previous edit
8 years ago
Martin Kroeker
7294fb1d9d
Merge branch 'develop' into cgroups
8 years ago
Martin Kroeker
29fc429d9a
Honor cgroup/cpuset constraints when enumerating cpus
8 years ago
Martin Kroeker
c1cf62d2c0
Add sched_getcpu implementation for pre-2.6 glibc
Fixes #1210 , compilation on RHEL5 with affinity enabled
8 years ago
Howard Su
ff1da01476
USE NPROCESSOR_CONF instaed of NPORCESSOR_ONLN
to determine the number of CPU. In ARM platform,
online CPU will increasing when there is more workload.
while configure cpu is the max number of CPU.
9 years ago
Ashwin Sekhar T K
0fb380c966
Update NUMA CPU binding
When the number of process can all be
accommodated within the current node,
then use cores from the current node only.
9 years ago
Zhang Xianyi
2fb02626da
Update organization info.
11 years ago
Isaac Dunham
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.)
11 years ago
wernsaar
793175be3a
added experimental support for big numa machines
11 years ago
Zhang Xianyi
7a8949e0ce
Merge branch 'develop' of https://github.com/TimothyGu/OpenBLAS into TimothyGu-develop
Conflicts:
driver/others/memory.c
11 years ago
Timothy Gu
6c2ead30f0
Remove all trailing whitespace except lapack-netlib
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
11 years ago
Jameson Nash
f41f03ab83
fix #394 . this cleans up some handles after using them, and doesn't disable ALL process privileges upon success
11 years ago
Zhang Xianyi
72b1edaf1b
Merge branch 'develop' into bulldozer
Conflicts:
kernel/x86_64/KERNEL.BULLDOZER
12 years ago
Zhang Xianyi
4471c77905
Fixed #261 . Use strncmp instead of a comparing trick.
12 years ago
Zhang Xianyi
f54f5bac9e
Refs #248 . Fixed the LSB compatiable issue for BLAS only.
For example, make CC=lsbcc NO_LAPACK=1.
12 years ago
Zhang Xianyi
6ae2f868fd
Set the affinity. Only use 1 core of each module on bulldozer.
12 years ago
Xianyi Zhang
a507b56ab1
Refs #119 #118 . Fixed disabling hyper threading bug.
13 years ago
Xianyi Zhang
a6adbb299d
Refs #112 . Improved setting thread affinity in Linux. Remove the limit (64) about the number of CPU cores.
13 years ago
Xianyi Zhang
989c6f8b06
Fixed #14 the SEGFAULT bug on 64 cores. On SMP server, the number of CPUs or cores should be less than or equal to 64.
14 years ago
Xianyi Zhang
f7a5e049e2
Enable Debug flags in memory alloc and init functions.
14 years ago
Xianyi Zhang
128418f49b
Fixed #10 . Supported GOTO_NUM_THREADS & GOTO_THREADS_TIMEOUT environment variables.
14 years ago
Xianyi Zhang
e6c13e2b3c
changed library name to openblas and modified environment variable.
14 years ago
Xianyi Zhang
342bbc3871
Import GotoBLAS2 1.13 BSD version codes.
14 years ago