Martin Kroeker
a29f91ae9a
Merge pull request #4471 from ChipKerchner/fixMakefileAIXOpenMP
Fix Makefiles to support OpenMP on AIX for xlc (clang) with xlf.
2 years ago
Chip Kerchner
61c8e19f95
Fix Makefile to support OpenMP on AIX for xlc (clang) with xlf.
2 years ago
Sergei Lewis
1093def0d1
Merge branch 'risc-v' into develop
2 years ago
kseniyazaytseva
ff41cf5c49
Fix BLAS, BLAS-like functions and Generic RISC-V kernels
* Fixed gemmt, imatcopy, zimatcopy_cnc functions
* Fixed cblas_cscal testing in ctest
* Removed rotmg unreacheble code
* Added zero size checks
2 years ago
Martin Kroeker
c5e7339c9e
correct prototypes for INTERFACE64 builds
2 years ago
Martin Kroeker
d8126c76e7
fix prototype
2 years ago
Martin Kroeker
769a58e9d1
fix prototypes of stest and itest1 for INTERFACE64
2 years ago
Martin Kroeker
c30b530878
fix prototypes of ctest and itest for INTERFACE64
2 years ago
Martin Kroeker
2b865da730
fix prototypes of stest and ctest for INTERFACE64
2 years ago
Martin Kroeker
65bfe1a06d
fix prototype of itest1 for INTERFACE64
2 years ago
Martin Kroeker
b626544ca3
complete function prototypes and remove unused functions
2 years ago
Martin Kroeker
7a96908d0c
Add -lgomp when IBM xlf is combined with gcc in OPENMP builds
2 years ago
Aiden Grossman
b209915121
Fix build with clang
There are two instances when building the tests where OpenBLAS fails to
build with OpenMP and clang due to library paths getting reset as flags
are set rather than appended. This seems to only affect certain
clang/libomp installations, but if it's already grabbing the correct
library paths we might as well use them.
2 years ago
Martin Kroeker
91110f92d2
fix missing return type in function declaration
3 years ago
Pablo Romero
84a5f0e2eb
Fixes #3743 .
3 years ago
Isuru Fernando
d54971fe20
Fix building tests when NOFORTRAN is not given at all
3 years ago
Martin Kroeker
6e018b84c4
Fix function prototypes and INTERFACE64 support
3 years ago
Martin Kroeker
ccd87cc472
Fix switching between Fortran and C build
3 years ago
Martin Kroeker
914c4d0fe8
Add C versions of the CBLAS test sources ( #3656 )
* Add C conversions of the CBLAS tests for NOFORTRAN=1 builds
* Enable CTEST without Fortran and fix passing of BUILD_vartype options to exports/gensymbol
3 years ago
Martin Kroeker
e78fbe4654
Disable gfortran tree vectorizer to avoid gcc11+ miscompilation at O3
4 years ago
Martin Kroeker
cbc41973fd
Disable gfortran tree vectorizer to avoid gcc11+ miscompilation at O3
4 years ago
Martin Kroeker
98ebc8ac59
Add casts to prevent overflow of intermediate result
4 years ago
Martin Kroeker
751d127d7c
Include cblas_test.h to achieve int/long size change with INTERFACE64
4 years ago
Martin Kroeker
30d835168a
Merge pull request #3088 from xoviat/msvc
add misc fixes.
4 years ago
Martin Kroeker
041a26fd79
Support compilation with nagfor
4 years ago
xoviat
457ccc42c9
Merge branch 'develop' into msvc
5 years ago
Martin Kroeker
8a6b17f97d
Change ifndefs to ifneq
5 years ago
Martin Kroeker
437b7fe261
sh prefix renamed to sb
5 years ago
Martin Kroeker
f6d2827d0c
Adapt ctests to having only a subset of types in the build
5 years ago
Martin Kroeker
de139337b8
Remove spurious tests for complex ASUM and NRM2
5 years ago
Martin Kroeker
74e358bcd5
Remove spurious complex16 tests
5 years ago
Rajalakshmi Srinivasaraghavan
22bb50fb81
cmake fixes
5 years ago
shengyang
50f4fb2fbd
add ctest for drotm and modified ctest for drot.
make sure that test cases cover all code path when kernel uses looping unrolling.
5 years ago
shengyang
a06d78556d
add ctest for srotm and modified ctest for srot.
make sure that test cases cover all code path when kernel uses looping unrolling.
5 years ago
Martin Kroeker
c436e8af7b
Do not attempt to run ctest without fortran
The main Makefile takes care of this in the build process, but users or CI jobs may try to run this directly
6 years ago
shengyang
893e6e57c4
modified: ctest/din3 ctest/sin3
6 years ago
Martin Kroeker
351d12b94e
Fix potential spurious failure from uninitialized variable
6 years ago
Martin Kroeker
bf73aa141b
Fix potential spurious failure from uninitialized variable
6 years ago
Martin Kroeker
30efed14d1
Unset special make variables in ctest Makefile as well
6 years ago
xoviat
dbf9ad1f3d
tests: add windows compatibility
6 years ago
luz.paz
daf2fec12d
Misc. typo fixes
Found via `codespell -q 3 -w -L ith,als,dum,nd,amin,nto,wis,ba -S ./relapack,./kernel,./lapack-netlib`
6 years ago
Martin Kroeker
1f9e4f3193
Handle special case of gfortran+clang+OpenMP
7 years ago
Martin Kroeker
8c8313983b
Fix compiler warnings in ctest
Various fixes for const correctness, stray tab characters and unused labels
8 years ago
Sacha Refshauge
4474465438
Remove _static usages for tests
8 years ago
Isuru Fernando
d245caa49a
Support out-of-source build
8 years ago
John Biddiscombe
053044ae4d
Replace CMAKE_SOURCE_DIR/CMAKE_BINARY_DIR with PROJECT_SOURCE_DIR/PROJECT_BINARY_DIR
If OpenBLAS is built using add_subdirectory(OpenBlas) as part of another project
then the paths set by CMAKE_XXX_DIR are relative to the parent project
and not the OpenBLAS project.
9 years ago
Aleksey Kuleshov
3d50ccdc0d
allow building tests when CROSS compiling but don't run them
9 years ago
Zhang Xianyi
8f758eeff9
Refs #786 . avoid old assembly c/zgemv kernels.
10 years ago
Sébastien Villemot
04ad946fc8
Fix output descriptors of c_{s,d,c,z}blat3
The NTRA argument can be equal to -1 if one does not want a snapshot file
(and this is the case with sample data {s,d,c,z}in3).
The routines {S,D,C,Z}PRCN3 will try to use their first argument as an output
unit number, so we avoid calling them when NTRA < 0.
Patch originally written by Camm Maguire.
10 years ago
Sébastien Villemot
f704b8d32f
Fix CBLAS double complex level 2 tests
The SNAME variable contains names of C functions like "cblas_dgemv".
Apparently the code was not taking into account the 6-letter "cblas_"
prefix when determining the task to be done.
The issue does not affect c_{s,d,c}blat2.f, which use the correct
offsetting.
Patch originally written by Camm Maguire.
10 years ago