Andrew
e5752ff9b3
take out unused variables
8 years ago
Andrew
8a0b086b28
add missing bracket for old glibc (cppcheck)
8 years ago
Andrew
8aafa0473c
address last warnings as seen by gcc7
8 years ago
Andrew
bfc2a88594
remove unused buffer
8 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.
8 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
8 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
514d237257
Merge pull request #1279 from xsacha/develop
CMake improvements
8 years ago
Martin Kroeker
ba1f91f17b
Convert another caller of "allocation" to LOCK_COMMAND
... as the "allocation" code jumped to now does UNLOCK_COMMAND instead of blas_unlock
8 years ago
Martin Kroeker
f460776f0f
Fix thread data races
8 years ago
Martin Kroeker
e882f3d6f3
Fix thread data race in memory.c
8 years ago
Sacha Refshauge
37858d1146
Fix threading usage in CMake: s/SMP/USE_THREAD/
8 years ago
Isuru Fernando
2f12ea017b
No strncasecmp with MSVC
8 years ago
Martin Kroeker
ebb04e3265
Merge pull request #1259 from isuruf/cmake
CMake Improvements
8 years ago
Isuru Fernando
d245caa49a
Support out-of-source build
8 years ago
Martin Kroeker
63cfa32691
Rework __GLIBC_PREREQ checks to avoid breaking non-glibc builds
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
731c518cff
Add files via upload
8 years ago
Martin Kroeker
29fc429d9a
Honor cgroup/cpuset constraints when enumerating cpus
8 years ago
Martin Kroeker
3db2adf872
Merge pull request #1230 from martin-frbg/rhel5
Add sched_getcpu implementation for pre-2.6 glibc
9 years ago
Martin Kroeker
c1cf62d2c0
Add sched_getcpu implementation for pre-2.6 glibc
Fixes #1210 , compilation on RHEL5 with affinity enabled
9 years ago
Neil Shipp
34513be726
Add Microsoft Windows 10 UWP build support
9 years ago
Neil Shipp
65e56cb29d
Add 64bit support for Microsoft Visual Studio
9 years ago
James Cowgill
59c97cfee4
memory: Fix buffer overflow when position == NUM_BUFFERS
9 years ago
James Cowgill
5fecfe0f42
memory: switch loop condition around in blas_memory_free
Before this commit, the "position < NUM_BUFFERS" loop condition from
blas_memory_free will be completely optimized away by GCC. This is
because the condition can only be false after undefined behavior has
already been invoked (reading past the end of an array). As a
consequence of this bug, GCC also removes the subsequent if statement
and all the code after the error label because all of it is dead.
This commit switches the loop condition around so it works as intended.
9 years ago
Gian-Carlo Pascutto
9c884986ad
Add an extra familiy/model combination used by AMD Steamrolller (Godavari).
9 years ago
Gian-Carlo Pascutto
0cbd2d34e4
Recognize ZEN when passed as OPENBLAS_CORETYPE.
9 years ago
Gian-Carlo Pascutto
62979fd104
Fix dynamic detection for ZEN CPUs.
9 years ago
Denis Steckelmacher
c9ff735da6
Add ZEN support (tested for auto-detected static backend)
9 years ago
Martin Kroeker
ffc1d6c468
Merge pull request #1108 from ashwinyes/develop_20170203_thunderx2t99
Optimized Implementations for ThunderX2T99
9 years ago
Ashwin Sekhar T K
a86474c6f7
THUNDERX2T99: Performance fix for ZGEMM
9 years ago
Ashwin Sekhar T K
19ba133383
THUNDERX2T99: Add Optimized ZGEMM Implementation
9 years ago
Andrew
5088523786
detect apollo lake for real
9 years ago
Elliot Saba
1d8ab99e09
Add `exfamily == 9` case (Kaby Lake) to dynamic arch detection
9 years ago
Martin Koehler
76c6e33e54
Enable EXCAVATOR kernels for A12-9800
9 years ago
Ashwin Sekhar T K
2757b49767
THUNDERX2T99: Add Optimized CGEMM Implementation
9 years ago
Ashwin Sekhar T K
f279ff4789
THUNDERX2T99: Add Optimized SGEMM Implementation
9 years ago
Zhang Xianyi
0863a0d4b4
Merge pull request #1061 from ashwinyes/develop_aarch64_vulcan_thunderx_patch
Add new targets for ARM64
9 years ago
Werner Saar
c1c5a63d3c
prepared parameter.c for UNROLL values, that are not a power of two
9 years ago
Ashwin Sekhar T K
4b55fae337
ARM64: Add Cavium THUNDERX2T99 Target
9 years ago
Ashwin Sekhar T K
0b8e876d89
VULCAN: Add optimized DGEMM implementation
9 years ago
Ashwin Sekhar T K
4713e7c47f
ARM64: Add the VULCAN Target
9 years ago
jiahaipeng
1aa1e6cb54
modify the blas_l1_thread.c for support multi-threded for L1 fuction with return value
9 years ago
Martin Kroeker
51aa157e64
Relocate declaration of alloc_lock outside ifdef block
9 years ago
Martin Kroeker
87c7d10b34
Fix thread data races detected by helgrind 3.12
Ref. #995 , may possibly help solve issues seen in 660,883
9 years ago
Martin Kroeker
0ef7841473
Update xerbla.c
9 years ago