Commit Graph

26 Commits

Author SHA1 Message Date
Martin Kroeker 2a9981a244
Add -lgomp when IBM xlf is combined with gcc in OPENMP builds 2023-09-24 10:19:11 +02:00
Martin Kroeker 44e6e5479b
Use the C compiler for the C SBGEMM test source 2023-09-21 23:01:21 +02:00
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.
2023-07-28 12:59:44 -07:00
Martin Kroeker 5dc6aa74f0
Disable gfortran tree vectorizer to avoid gcc11+ miscompilation at O3 2021-07-30 14:46:19 +02:00
Martin Kroeker 3cfdb1770c
Remove code that disabled EXTRALIB on RISCV C910V 2021-07-06 20:21:07 +02:00
Martin Kroeker 6ae7af78a3
Support compilation with nagfor 2021-03-11 11:53:51 +01:00
Martin Kroeker 2b114c3f30
Restore proper Makefile 2020-11-22 17:16:22 +01:00
Martin Kroeker 65eb7afaf4
Change ifndef CROSS to ifneq 2020-11-22 16:25:36 +01:00
damonyu ef8e7d0279 Add the support for RISC-V Vector.
Change-Id: Iae7800a32f5af3903c330882cdf6f292d885f266
2020-10-15 16:09:02 +08:00
Martin Kroeker c1f4f5d4e7
Replace Makefile with simplified version again 2020-10-14 01:08:50 +02:00
Martin Kroeker bc5c7f9578
Cleanup 2020-10-13 19:56:09 +02:00
Rajalakshmi Srinivasaraghavan b5d30b390d Fix build issues with bfloat16
This patch fixes compilation errors due to recent renaming from SH to SB
with BUILD_BFLOAT16.
2020-10-13 11:00:22 -05:00
Martin Kroeker 5800758b43
Rename "HALF" and "sh" to "BFLOAT16" and "sb" 2020-10-11 23:44:38 +02:00
Martin Kroeker 5f23bdf437
remove debug output 2020-10-11 17:23:08 +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
Rajalakshmi Srinivasaraghavan 564b0d39ef Add test for shgemm
This patch has Makefile changes to add test for shgemm which
compares sgemm and shgemm result.
2020-04-29 13:40:34 -05:00
Martin Kroeker 2d8781b0dc
Do not attempt to run test without fortran 2020-03-13 20:11:19 +01:00
Martin Kroeker 6a5ab083b7
Handle special case of gfortran+clang+OpenMP 2018-06-19 20:47:33 +02:00
Aleksey Kuleshov 3d50ccdc0d allow building tests when CROSS compiling but don't run them 2016-04-26 12:36:47 +03:00
wernsaar f0f9b25bb6 added test for CGEMM3M function 2014-09-20 14:53:30 +02:00
wernsaar 7a911569b8 added test for GEMM3M functions 2014-09-20 14:21:42 +02:00
Timothy Gu 6c2ead30f0 Remove all trailing whitespace except lapack-netlib
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2014-06-27 12:05:18 -07:00
Sebastien Fabbro 9f0fb6e662 Respect user's LDFLAGS 2013-07-25 14:08:37 -07:00
Xianyi Zhang 57658a8c14 ref #62. Added the user friendly message with USE_OPENMP=1. The users should use OMP_NUM_THREADS.
When OpenBLAS is compiled with USE_OPENMP=1, it ignores OPENBLAS_NUM_THREADS and GOTO_NUM_THREADS flags.Therefore, you should use OMP_NUM_THREADS.

Without setting OMP_NUM_THREADS, a process will use maximal number of threads on a computing node. Thus, if there are 2 processes on the computing node, the thread will contend against other threads on CPU cores. As a result, the application will hang.
2011-10-09 15:14:48 +08:00
Xianyi Zhang 066465af5b Used the environment variable OPENBLAS_NUM_THREADS to set the number of threads in test. 2011-01-24 18:11:35 +00:00
Xianyi Zhang 342bbc3871 Import GotoBLAS2 1.13 BSD version codes. 2011-01-24 14:54:24 +00:00