Ralph Campbell
fbc21266e6
Minor C code fixes in driver/
10 years ago
Zhang Xianyi
d8392c1245
Fixe cmake config bugs.
10 years ago
Zhang Xianyi
f874465bb8
Use cmake to build OpenBLAS GENERIC Target on MSVC x86 64-bit.
Disable CBLAS and LAPACK.
10 years ago
Hank Anderson
9eaea02f33
Added additional gemm defines for complex types.
10 years ago
Hank Anderson
0d8e227ea7
Changed strategy for setting preprocessor definitions.
Instead of generating separate object files for each permutation of
defines for a source file, GenerateNamedObjects now writes an entirely
new source file and inserts the defines as #define c statements.
This solves a problem I ran into with ar.exe where it was refusing to
link objects that had the same filename despite having different paths.
10 years ago
Hank Anderson
371071d461
Added CONJ defines for trmm/trsm.
10 years ago
Hank Anderson
8a143516e3
Added alternate_name to a couple of the name mangling schemes.
Added zherk_k sources to driver/level3.
10 years ago
Hank Anderson
e5897ecb9b
Added zherk_kernel.c objects to driver/level3.
10 years ago
Hank Anderson
4662a0b13a
Changed generate functions to iterate through a list of float types.
This will generate obj files for SINGLE/DOUBLE/COMPLEX/DOUBLE COMPLEX.
10 years ago
Hank Anderson
e74462a3f5
Moved declarations to start of functions to satisfy MSVC C89 implementation.
10 years ago
Hank Anderson
056ba26755
Changed a number of inline calls to use __inline.
MSVC doesn't inmplement C99, so can't use the inline keyword. __inline
appears to work in MSVC and GCC.
10 years ago
Hank Anderson
e8c39138c6
Removed return value from GenerateNamedObjects.
It sets DBLAS_OBJS directly to save a bunch of list appending in the
CMakeLists.txt files.
10 years ago
Hank Anderson
627d5e7401
Added SMP objects to driver/level3.
10 years ago
Hank Anderson
943fa2fb58
Fixed object names in level2.
10 years ago
Hank Anderson
461e691127
Codes when define is absent are now a parameter to AllCombinations.
The level3 object names should now be correct.
10 years ago
Hank Anderson
cfaf1c678f
Added option to append define codes with an underscore.
Fixed the code array not getting reset on subsequent AllCombinations
calls.
10 years ago
Hank Anderson
0d7bad1f35
Changed GenerateObjects to append combination codes (e.g. dtrmm_TU).
10 years ago
Hank Anderson
d11bde60d0
DOUBLE define for DBLAS objects is now set in main CMakeLists.txt.
Since the objects are the same, could generate SINGLE/COMPLEX/etc here
without having to rewrite all the object enumeration code again.
10 years ago
Hank Anderson
5057a4b4df
Added openblas add_library call that uses DBLAS_OBJS ojbects.
10 years ago
Hank Anderson
d3dcdddf75
Moved functions into util cmake file.
10 years ago
Hank Anderson
e5e7595bf9
Added paramater to GenerateObjects for defines that affect all sources.
10 years ago
Hank Anderson
7693887d61
Added empty set to the combinations generated by AllCombinations.
10 years ago
Hank Anderson
8d9b196e0d
Moved loop over define combos into a function.
This function takes a set of sources and a set of preprocessor
definitions. It will iterate over the sources and build an object
file for each combination of preprocessor definitions for each
source file.
10 years ago
Hank Anderson
a6cf8aafc0
Updated level3/CMakeLists with correct defines using all combos.
10 years ago
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.
10 years ago
wernsaar
7aae4a62e7
enabled use of GEMM3M functions
11 years ago
wernsaar
1d33547222
optimized zgemm kernel for haswell
11 years ago
wernsaar
3ea4dadd30
optimizations for trsm
11 years ago
wernsaar
1b10ff129a
optimizations for trmm
11 years ago
wernsaar
125610d23b
allow to set custom value for ?GEMM_DEFAULT_UNROLL_MN, optimizations for syrk
11 years ago
wernsaar
be94db096c
disabled *3M functions for x86_64 platforms
11 years ago
Timothy Gu
6c2ead30f0
Remove all trailing whitespace except lapack-netlib
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
11 years ago
wernsaar
c947ab85dc
changed level3.c
12 years ago
wernsaar
2840d56aeb
added dgemm_kernel for Piledriver
12 years ago
Zhang Xianyi
77b572fa0b
Merge branch 'loongson3a' into develop
Conflicts:
Makefile.system
12 years ago
Zhang Xianyi
32d2ca3035
Refs #214 , #221 , #246 . Fixed the getrf overflow bug on Windows.
I used a smaller threshold since the stack size is 1MB on windows.
12 years ago
wernsaar
6f008abcef
replaced defined(DOUBLE) by !defined(XDOUBLE)
12 years ago
Zhang Xianyi
5d3312142a
Refs #221 #246 . Fixed the overflowing stack bug in mutlithreading BLAS3.
When NUM_THREADS(MAX_CPU_NUNBERS) is very large ,e.g. 256.
typedef struct {
volatile BLASLONG working[MAX_CPU_NUMBER][CACHE_LINE_SIZE * DIVIDE_RATE];
} job_t;
job_t job[MAX_CPU_NUMBER];
The job array is equal 8MB.
Thus, We use malloc instead of stack allocation.
12 years ago
wernsaar
25491e42f9
New dgemm kernel for BULLDOZER: dgemm_kernel_8x2_bulldozer.S
12 years ago
Xianyi Zhang
6b01d58712
Disable the optimization of muli-threading gemm on the Loongson3A.
12 years ago
Wang Qian
8163ab7e55
Change the block size on Loongson 3B.
14 years ago
traz
9fe3049de6
Adding conditional compilation(#if defined(LOONGSON3A)) to avoid affecting the performance of other platforms.
14 years ago
traz
831858b883
Modify aligned address of sa and sb to improve the performance of multi-threads.
14 years ago
Xianyi Zhang
1b97ec1a7c
Added DEBUG option in Makefile.rule. Fixed DEBUG typo mistakes.
14 years ago
Xianyi Zhang
342bbc3871
Import GotoBLAS2 1.13 BSD version codes.
14 years ago