Hank Anderson
dbdca7bf0c
Added first pass at driver/level3 Makefile conversion.
Added a rather convoluted CMake function to find all combinations
of a given list. This will be useful for the object files that are
compiled multiple times with different combinations of preprocessor
definitions.
11 years ago
Hank Anderson
dabaecb2bc
Moved getarch parsing code into a function.
11 years ago
Zhang Xianyi
07ff001981
Merge pull request #495 from jeromerobert/develop
Fix a segfault in gemv when MAX_STACK_ALLOC is set
11 years ago
Jerome Robert
b17ccb4c5c
Fix a segfault in gemv when MAX_STACK_ALLOC is set
* stack_alloc_size is needed after the implementation call
but it may be overwritten if it's optimized to a register,
because some gemv implementation (ex: dgemv_n.S) do not
restore all register (ex: r10).
* do the same in ger.c for the same reasons even if the bug
has not been observed.
11 years ago
Hank Anderson
8c23965da3
prebuild.cmake now reads the output from getarch into CMake vars.
11 years ago
Hank Anderson
61f21b5d03
getarch_2nd now appends its output to config.h/config_kernel.h
11 years ago
Hank Anderson
8ede4a8da4
getarch now compiles and sets config.h defines properly.
Still isn't parsed into CMake variables, and getarch_2 needs to
get the same treatment.
11 years ago
Hank Anderson
1c5b6bb4f7
Added CORE define to config.h in prebuild.cmake (temporarily).
11 years ago
Hank Anderson
c5f5c7a076
Updated c_check OS/compiler/bits detection.
11 years ago
Hank Anderson
9a508abdc7
Added first pass at driver/level2 makefile conversion.
11 years ago
Hank Anderson
5eefe18ae4
Added CMakeLists.txt for the first of the BLAS folders.
It only does the double precision compile currently.
I realized I didn't finish converting Makefile.system yet, so I made
a note of that.
11 years ago
Hank Anderson
1e8bb0e0e0
Fixed architecture detection when AMD64 in c_check.
11 years ago
Hank Anderson
864b8b31de
Fixed incorrect case in OS_ definition in c_check.
11 years ago
Hank Anderson
d2d15e522f
Started converting lib target to CMake.
The main part of this target is looping through the BLAS subfolders
and calling make on them. Need to add CMakeLists.txt for each of these
subfolders.
11 years ago
Hank Anderson
f4d1e7a265
Hardcoded NUM_CORES to get system.cmake working.
11 years ago
Zhang Xianyi
63c6fcfa0a
Merge pull request #490 from eschnett/develop
Move #include statements outside extern "C" blocks
11 years ago
Erik Schnetter
29cb47fc06
Move #include statements outside extern "C" blocks
11 years ago
Zhang Xianyi
4e6c4046f7
Fix cortex-a15 detecting bug.
11 years ago
Zhang Xianyi
229ce2ccd1
Add cortex-a9 and cortex-a15 targets.
11 years ago
Zhang Xianyi
ef75be0e51
Merge pull request #487 from kortschak/dromtg-test
Add test for drotmg bug fixed by 692b14c
11 years ago
kortschak
5344f335a8
Add test for drotmg bug fixed by 692b14c
Test requested in issue xianyi/OpenBLAS#484 .
Run tests by applying the following change and then make:
diff --git a/Makefile.rule b/Makefile.rule
index bea1fe1..9852ff3 100644
--- a/Makefile.rule
+++ b/Makefile.rule
@@ -140,7 +140,7 @@ NO_AFFINITY = 1
-# UTEST_CHECK = 1
+UTEST_CHECK = 1
11 years ago
Hank Anderson
0f6bec0a32
cmake.prebuild now compiles getarch.
Doesn't actually run it yet.
11 years ago
Hank Anderson
92cdac5f87
Added MSVC functions to cpuid_x86.c to replace gcc-specific ASM.
11 years ago
Hank Anderson
1a41022e3e
Added MSVC defines to cpuid.h and getarch.c.
11 years ago
Zhang Xianyi
5cb5af9333
Add configuration options.
11 years ago
Zhang Xianyi
41aad0407f
Merge pull request #482 from jeromerobert/develop
Allow to do gemv and ger buffer allocation on the stack
11 years ago
Hank Anderson
e5c47e44f6
First pass at converting a few makefiles to CMake.
11 years ago
Zhang Xianyi
f8f2e84659
Merge pull request #486 from wernsaar/develop
Optimizations for steamroller
11 years ago
Werner Saar
34633fef01
Merge branch 'develop' of github.com:wernsaar/OpenBLAS into develop
11 years ago
Werner Saar
ddf983d643
added optimizations for steamroller
11 years ago
Zhang Xianyi
17b9db20f1
Merge pull request #483 from wernsaar/develop
added Steamroller as a cpu target
11 years ago
Werner Saar
0dc559ed30
bugfix in dynamic.c
11 years ago
Werner Saar
9566f5fdb0
added Steamroller as a target processor
11 years ago
Werner Saar
4319769b79
added target processor STEAMROLLER
11 years ago
Jerome Robert
e9d9a8eae3
Allow to do gemv and ger buffer allocation on the stack
ger and gemv call blas_memory_alloc/free which in their turn
call blas_lock. blas_lock create thread contention when matrices
are small and the number of thread is high enough. We avoid
call blas_memory_alloc by replacing it with stack allocation.
This can be enabled with:
make -DMAX_STACK_ALLOC=2048
The given size (in byte) must be high enough to avoid thread contention
and small enough to avoid stack overflow.
Fix #478
11 years ago
Zhang Xianyi
cbb3ab80e7
Merge pull request #481 from eschnett/develop
Correct ilaver C declaration
11 years ago
Erik Schnetter
cd9868b1b4
Correct ilaver C declaration
11 years ago
Zhang Xianyi
eb738148fe
Merge pull request #479 from wernsaar/develop
workaround for sandybridge zgemm kernel
11 years ago
Werner Saar
587e16fba3
Ref #458 : Backport, sandybrigde uses nehalem zgemm kernel
11 years ago
Werner Saar
4de7b9ae47
increased NMAX to 128
11 years ago
Werner Saar
887aed634d
modified sources for OS Darwin
11 years ago
Werner Saar
6261342de3
small optimization on dgemm_kernel for N=1
11 years ago
Werner Saar
1e566223ed
added code for the size of n
11 years ago
Werner Saar
113b48ca22
modified makefile for acml6.1
11 years ago
Zhang Xianyi
3e81c99b6b
Fixed installation bug on Mac OSX.
11 years ago
Werner Saar
ec85c4a51d
Increased the Threshold value in sep.in
11 years ago
Werner Saar
97de657d38
added tests to sep.as as workaround for gfortran-4.8.x
11 years ago
Zhang Xianyi
71966eba6c
Merge pull request #475 from xantares/patch-2
add OpenBLAS_VERSION to cmake config file
11 years ago
Zhang Xianyi
a359979e17
Merge pull request #474 from xantares/patch-1
set OPENBLAS_CMAKE_DIR to <prefix>/lib/cmake/<package_name>
11 years ago
xantares
7a6a141bc4
add OpenBLAS_VERSION to cmake config file
11 years ago