Commit Graph

5876 Commits

Author SHA1 Message Date
Martin Kroeker b27ca78a21
Adapt to having only a subset of variable types supported 2020-10-11 14:46:24 +02:00
Martin Kroeker 93454022a9
Adapt to having only a subset of variable types supported 2020-10-11 14:45:40 +02:00
Martin Kroeker 20cf1d773f
Adapt to having only a subset of variable types supported 2020-10-11 14:44:56 +02:00
Martin Kroeker 5c657fffad
Adapt to having only a subset of variable types supported 2020-10-11 14:44:13 +02:00
Martin Kroeker b262058059
Adapt to having only a subset of variable types supported 2020-10-11 14:43:13 +02:00
Martin Kroeker bc319cee82
Adapt to having only a subset of variable types supported 2020-10-11 14:42:26 +02:00
Martin Kroeker e5966f8606
Adapt to having only a subset of variable types supported 2020-10-11 14:41:43 +02:00
Martin Kroeker 9df12eb08f
Adapt to having only a subset of variable types supported 2020-10-11 14:40:51 +02:00
Martin Kroeker cf53970bcb
Adapt to having only a subset of variable types supported 2020-10-11 14:40:06 +02:00
Martin Kroeker dcd51d5c72
Adapt to having only a subset of variable types supported 2020-10-11 14:39:19 +02:00
Martin Kroeker b8f95354c7
Adapt to having only a subset of variable types supported 2020-10-11 14:38:25 +02:00
Martin Kroeker d33de97d60
Adapt to having only a subset of variable types supported 2020-10-11 14:36:45 +02:00
Martin Kroeker 6a83c591d6
Adapt for having only a subset of variable types 2020-10-11 14:34:12 +02:00
Martin Kroeker f6d2827d0c
Adapt ctests to having only a subset of types in the build 2020-10-11 14:32:00 +02:00
Martin Kroeker 08f4749eb4
Adapt tests to having only a subset of types in the build 2020-10-11 14:25:24 +02:00
Martin Kroeker 63d7dad04c
Adapt utests for builds supportin only some variable types 2020-10-11 14:15:35 +02:00
Martin Kroeker ac653c94f3
Merge branch 'develop' into issue2588-cmake 2020-10-11 13:57:07 +02:00
Martin Kroeker 190b74dd24
Add files via upload 2020-10-11 13:26:05 +02:00
Martin Kroeker 9d43140d61
Improve check for conflicting config_kernel.h 2020-10-11 12:58:17 +02:00
Martin Kroeker 8ef600f1a3
Merge pull request #95 from xianyi/develop
rebase
2020-10-11 12:53:18 +02:00
Martin Kroeker 88928650c4
Merge pull request #2883 from martin-frbg/issue2872
Minor CMAKE fixes
2020-10-11 10:30:33 +02:00
Martin Kroeker 7a53128481
Add whitelist of DYNAMIC_ARCH kernels for which -msse3 needs to be enabled 2020-10-11 01:06:46 +02:00
Martin Kroeker 0c773b8205
Do not rely on HAVE_SSE3 in DYNAMIC_ARCH builds 2020-10-11 01:04:57 +02:00
Martin Kroeker fbda20c856
Merge pull request #94 from xianyi/develop
rebase
2020-10-11 01:03:00 +02:00
Martin Kroeker 82a497ec5d
restore PRESCOTT default for DYNAMIC_LIST 2020-10-11 00:43:09 +02:00
Martin Kroeker de27e4f5fb
Stop DYNAMIC_ARCH build if the toplevel source contains a stray config_kernel.h from a gmake build
This is unlikely to happen in practice, but if it does, the rogue file would get included instead of the dynamically generated version for each target_core, leading to very confusing errors like "invalid operands (undefined UND and ABS sections)" in compilation of the assembly kernels as macros like PREFETCH would remain undefined
2020-10-11 00:40:22 +02:00
Martin Kroeker e1b7123bbe
Merge pull request #2867 from Qiyu8/usimd-floatdot
Optimize the performance of dot by using universal intrinsics in X86/ARM
2020-10-10 12:10:25 +02:00
Qiyu8 f32d34a015 add sse3 compiler flag 2020-10-10 10:36:15 +08:00
Martin Kroeker 599777ecb7
Merge pull request #2879 from martin-frbg/issue2839
Default BLAS3_MEM_ALLOC_THRESHOLD on all platforms to 32
2020-10-06 23:26:52 +02:00
Martin Kroeker 7812486091
Use generic C for D/Z nrm2 kernels on Windows to work around fpu exception bug 2020-10-06 21:33:16 +02:00
Matti Picus a5b164946c add fninit to reset fpu registers before assembler routines 2020-10-05 22:13:25 +03:00
Martin Kroeker a5feea6611
make BLAS3_MEM_ALLOC_THRESHOLD configurable on non-Windows 2020-10-04 23:01:06 +02:00
Martin Kroeker dc8e4e1959
Reduce the BLAS3 heap allocation threshold to 32 and mark it as configurable 2020-10-04 22:59:24 +02:00
Martin Kroeker cccd1438da
Merge pull request #93 from xianyi/develop
rebase
2020-10-04 22:57:11 +02:00
Martin Kroeker f032d8966e
Merge pull request #2874 from Flamefire/memory_fixes
Avoid out of bounds access on invalid memory free
2020-10-04 15:16:51 +02:00
Martin Kroeker f6e4cf2f9d
Merge pull request #2876 from Flamefire/omp_fork_fix
Lazyly reinit threads after a fork in OMP mode
2020-10-03 22:52:17 +02:00
Martin Kroeker 9828343e12
Merge pull request #2878 from brada4/asms
fix clang std=c18 compilation on aarch64
2020-10-03 22:51:49 +02:00
User User-User d2333e7842 aarch64 fix std=c18 compilation 2020-10-03 18:00:34 +03:00
Alexander Grund 3094fc6c83
Lazyly reinit threads after a fork in OMP mode
This initializes the per-thread memory buffers which get
cleared/released on a fork via pthread_at_fork. Not doing so leads to
each thread calling blas_memory_alloc on almost every execution which
slows down the code significantly as the threads race for the memory
allocation using locks to serialize that.
2020-10-01 15:41:42 +02:00
Alexander Grund 3c05f54df8
Avoid out of bounds access on invalid memory free 2020-10-01 10:48:45 +02:00
Alexander Grund dee7c49938
Fix TABs and trailing space 2020-10-01 10:43:16 +02:00
Martin Kroeker d3c0d6811b
Merge pull request #2873 from martin-frbg/issue2871
Check for __linux rather than linux in cpuid code and benchmarks
2020-10-01 06:38:22 +02:00
Martin Kroeker 9637cd1fd1
Merge pull request #2865 from thisch/backticks
Consolidate usage of backticks for build options
2020-10-01 06:38:06 +02:00
Martin Kroeker 2367726578
Remove redundant status message 2020-09-30 23:28:49 +02:00
Martin Kroeker 5464eb13ea
Change ifdef linux to __linux for C11 compatibility 2020-09-30 22:59:41 +02:00
Martin Kroeker e1574cbc83
Change ifdef linux to __linux for C11 compatibility
and add a fallback for unsupported operating systems in detect()
2020-09-30 22:50:21 +02:00
Martin Kroeker 0b2bb5696a
Change ifdef linux to __linux for C11 compatibility 2020-09-30 22:47:25 +02:00
Martin Kroeker a7d5d0078d
Change ifdef linux to __linux for C11 compatibility 2020-09-30 22:46:25 +02:00
Martin Kroeker be40440ec5
Change ifdef linux to __linux for C11 compatibility 2020-09-30 22:45:18 +02:00
Martin Kroeker 2bf70c8e3b
Change ifdef linux to __linux for C11 compatibility 2020-09-30 22:43:25 +02:00