Martin Kroeker
e388459a27
Merge pull request #1419 from brada4/develop
Initialize unitialized values for repeated calls
8 years ago
Andrew
e5752ff9b3
take out unused variables
8 years ago
Andrew
8a0b086b28
add missing bracket for old glibc (cppcheck)
8 years ago
Martin Kroeker
42285d8e70
Merge pull request #1410 from brada4/develop
Address warnings #1357
8 years ago
Andrew
8aafa0473c
address last warnings as seen by gcc7
8 years ago
Andrew
11a627c54e
remove surplus parentheses to silence clang5
8 years ago
Martin Kroeker
cc9500db41
Merge pull request #1403 from brada4/develop
Address few more warnings
8 years ago
Andrew
bfc2a88594
remove unused buffer
8 years ago
Martin Kroeker
177b78c8b4
Issue1388 ( #1389 )
* Calculation of chunk range limits was ignoring num_cpu
bug introduced by me in #1262 - should fix #1388
* Calculation of range limits was ignoring num_cpu
bug introduced by me in #1262
* Calculation of chunk range limits was ignoring num_cpu
bug introduced by me in #1262
* Calculation of chunk range limits was ignoring num_cpu
bug introduced by me in #1262
* Calculation of chunk range limits was ignoring num_cpu
bug introduced by me in #1262
* Calculation of chunk range limits was ignoring num_cpu
bug introduced by me in #1262
8 years ago
Andrew
281a2b952f
warning cleanup ( #1380 )
* dead increments in driver/level2
* dead increments in kernel/generic
* part dead increments in kernel/x86_64
8 years ago
Martin Kroeker
c49c6b237d
Merge pull request #1382 from martin-frbg/dtrmv-1332
Work around errors in multithreaded dtrmv
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
b414283f48
Disable gemv unrolling
as a (hopefully temporary) workaround for #1332
8 years ago
Andrew
ef95cd471f
elminate unread variable, after reiteration 3 of them (clang4)
8 years ago
Andrew
e14d50d86e
eliminate Wunused-const gcc7 warning
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
db72ad8f6a
Merge pull request #1320 from timmoon10/develop
2D thread distribution for multi-threaded GEMMs
8 years ago
Martin Kroeker
514d237257
Merge pull request #1279 from xsacha/develop
CMake improvements
8 years ago
Tim Moon
30486a356c
Reduce number of data partitions in n.
8 years ago
Tim Moon
9de52b489a
Cleaning up and documenting multi-threaded GEMM code.
8 years ago
Tim Moon
860dcfc703
Use 2D thread distribution for small GEMMs.
Allows maximum use of available cores if one of M and N is small and the other is large.
8 years ago
Tim Moon
6aaa107865
Reducing threads for multi-threaded GEMMs on small matrices.
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
719fcc56b0
Merge pull request #1262 from martin-frbg/xmv_thread-splitting
Make sure that range limit of last thread never exceeds data size
8 years ago
Martin Kroeker
ebb04e3265
Merge pull request #1259 from isuruf/cmake
CMake Improvements
8 years ago
Martin Kroeker
0ba64cee60
Update trmv_thread.c
8 years ago
Martin Kroeker
c4e5ba1bfe
Make sure that range_n of last thread never exceeds the actual data size when splitting the workload
8 years ago
Martin Kroeker
a6f533b248
Revert "Fix calculated range limit exceeding actual data size for last thread"
8 years ago
Isuru Fernando
d245caa49a
Support out-of-source build
8 years ago
Martin Kroeker
e70a6b92bf
Merge pull request #1257 from martin-frbg/cgroups-prereq
Rework __GLIBC_PREREQ checks to avoid breaking non-glibc builds
8 years ago
Martin Kroeker
63cfa32691
Rework __GLIBC_PREREQ checks to avoid breaking non-glibc builds
8 years ago
Martin Kroeker
585c0010a5
Fix range limit exceeding actual data size in last step
8 years ago
Martin Kroeker
857f61bc5d
Fix range limit exceeding data size in last step
8 years ago
Martin Kroeker
9332042d5f
Fix range exceeding actual data size in quick_divide
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
Zhang Xianyi
2a7c6930ac
Merge pull request #1234 from brada4/develop
Fix write past fixed size buffer
8 years ago
Andrew
529bfc36ec
Fix write past fixed size buffer
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
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