platform/upstream/openblas.git
4 years agoMerge pull request #2549 from martin-frbg/fixthreadtest
Martin Kroeker [Fri, 10 Apr 2020 21:54:40 +0000 (23:54 +0200)]
Merge pull request #2549 from martin-frbg/fixthreadtest

Match thread count in cpp_thread_test to host capability

4 years agoMatch thread count to machine capability
Martin Kroeker [Fri, 10 Apr 2020 20:06:44 +0000 (22:06 +0200)]
Match thread count to machine capability

4 years agoAdd another memory barrier for ARM and a multicore test run on ThunderX to help detec...
Martin Kroeker [Wed, 8 Apr 2020 09:04:51 +0000 (11:04 +0200)]
Add another memory barrier for ARM and a multicore test run on ThunderX to help detect such issues (#2544)

* Add another memory barrier in memory.c to prevent races in memory slot allocation

* Add an all-core test on Drone.io's ThunderX platform and modify dgemm_tester to use all 96 cores

4 years agoMerge pull request #44 from xianyi/develop
Martin Kroeker [Sat, 4 Apr 2020 20:48:53 +0000 (22:48 +0200)]
Merge pull request #44 from xianyi/develop

Add a Z13 build to the Travis configuration (#2542)

4 years agoMerge pull request #43 from martin-frbg/revert-42-z12ci
Martin Kroeker [Sat, 4 Apr 2020 20:46:58 +0000 (22:46 +0200)]
Merge pull request #43 from martin-frbg/revert-42-z12ci

Revert 42 z12ci to keep forked develop clean

4 years agoRevert "Add IBM Z to Travis configuration (#42)"
Martin Kroeker [Sat, 4 Apr 2020 20:45:01 +0000 (22:45 +0200)]
Revert "Add IBM Z to Travis configuration (#42)"

This reverts commit 7972beb3754409db9af3c22dbbe7bd8075c09f6e.

4 years agoAdd a Z13 build to the Travis configuration (#2542)
Martin Kroeker [Fri, 3 Apr 2020 14:02:11 +0000 (16:02 +0200)]
Add a Z13 build to the Travis configuration (#2542)

* Add IBM Z to Travis configuration

4 years agoAdd IBM Z to Travis configuration (#42)
Martin Kroeker [Fri, 3 Apr 2020 13:59:18 +0000 (15:59 +0200)]
Add IBM Z to Travis configuration (#42)

* Add IBM Z to Travis configuration

4 years agoMerge pull request #41 from xianyi/develop
Martin Kroeker [Thu, 2 Apr 2020 08:32:19 +0000 (10:32 +0200)]
Merge pull request #41 from xianyi/develop

rebase

4 years agoMake ARMV7 compile with xcode and add a CI job for it (#2537)
Martin Kroeker [Thu, 2 Apr 2020 08:30:37 +0000 (10:30 +0200)]
Make ARMV7 compile with xcode and add a CI job for it (#2537)

* Add an ARMV7 iOS build on Travis

* thread_local appears to be unavailable on ARMV7 iOS

* Add no-thumb option for ARMV7 IOS build to get it to accept DMB ISH

* Make local labels in macros of nrm2_vfpv3.S compatible with the xcode assembler

4 years agoMerge pull request #2536 from martin-frbg/recurs
Martin Kroeker [Wed, 1 Apr 2020 18:00:13 +0000 (20:00 +0200)]
Merge pull request #2536 from martin-frbg/recurs

Add "recursive" option for LAPACK builds with ifort or pgfort as well

4 years agoifort and pgfort need "recursive" for safe compilation of LAPACK as well
Martin Kroeker [Wed, 1 Apr 2020 13:39:16 +0000 (15:39 +0200)]
ifort and pgfort need "recursive" for safe compilation of LAPACK as well

4 years agoifort and pgfort need "recursive" for compiling LAPACK as well
Martin Kroeker [Wed, 1 Apr 2020 13:38:07 +0000 (15:38 +0200)]
ifort and pgfort need "recursive" for compiling LAPACK as well

as shown in Reference-LAPACK issue 401 (their PR 403)

4 years agoMerge pull request #2534 from martin-frbg/issue2496
Martin Kroeker [Tue, 31 Mar 2020 18:53:13 +0000 (20:53 +0200)]
Merge pull request #2534 from martin-frbg/issue2496

Fix zero initialization for beta=0 case

4 years agofix initialization to zero in the NEON SGEMM_BETA kernel as well
Martin Kroeker [Tue, 31 Mar 2020 14:53:56 +0000 (16:53 +0200)]
fix initialization to zero in the NEON SGEMM_BETA kernel as well

4 years agoFix zero initialization for beta=0 case
Martin Kroeker [Mon, 30 Mar 2020 22:21:02 +0000 (00:21 +0200)]
Fix zero initialization for beta=0 case

use immediate initialization instead of multiplication in case register content is a NaN

4 years agoMerge pull request #2520 from wjc404/develop
Martin Kroeker [Mon, 30 Mar 2020 18:15:59 +0000 (20:15 +0200)]
Merge pull request #2520 from wjc404/develop

Fix avx512 sgemm performance bug when ldc is a multiple of 1024

4 years agoMerge pull request #2533 from martin-frbg/gemmdirect2
Martin Kroeker [Mon, 30 Mar 2020 18:15:37 +0000 (20:15 +0200)]
Merge pull request #2533 from martin-frbg/gemmdirect2

Use runtime check for AVX512 capability in DYNAMIC_ARCH builds made on SKX

4 years agoExpose the support_avx512 function provided in dynamic.c
Martin Kroeker [Thu, 26 Mar 2020 20:25:39 +0000 (21:25 +0100)]
Expose the support_avx512 function provided in dynamic.c

4 years agoUse runtime check for AVX512 (sgemm_direct) capability when using DYNAMIC_ARCH
Martin Kroeker [Thu, 26 Mar 2020 20:12:56 +0000 (21:12 +0100)]
Use runtime check for AVX512 (sgemm_direct) capability when using DYNAMIC_ARCH

4 years agoMerge pull request #39 from xianyi/develop
Martin Kroeker [Thu, 26 Mar 2020 20:06:51 +0000 (21:06 +0100)]
Merge pull request #39 from xianyi/develop

rebase

4 years agoMerge pull request #2530 from martin-frbg/dynmsg
Martin Kroeker [Tue, 24 Mar 2020 14:44:46 +0000 (15:44 +0100)]
Merge pull request #2530 from martin-frbg/dynmsg

Add message highlighting minimum target choice at end of DYNAMIC_ARCH…

4 years agoMerge pull request #2529 from shengyang-3390/dev1
Martin Kroeker [Tue, 24 Mar 2020 14:44:27 +0000 (15:44 +0100)]
Merge pull request #2529 from shengyang-3390/dev1

        add ctest for drotm and modified ctest for drot.

4 years agoAdd message highlighting minimum target choice at end of DYNAMIC_ARCH builds
Martin Kroeker [Mon, 23 Mar 2020 18:35:51 +0000 (19:35 +0100)]
Add message highlighting minimum target choice at end of DYNAMIC_ARCH builds

related to #2526

4 years agoMerge pull request #2527 from martin-frbg/gemmdirect
Martin Kroeker [Mon, 23 Mar 2020 11:47:19 +0000 (12:47 +0100)]
Merge pull request #2527 from martin-frbg/gemmdirect

Avoid calling DIRECT codepath in DYNAMIC_ARCH on non-SKX

4 years ago add ctest for drotm and modified ctest for drot.
shengyang [Sat, 21 Mar 2020 07:58:21 +0000 (15:58 +0800)]
    add ctest for drotm and modified ctest for drot.
        make sure that test cases cover all code path when kernel uses looping unrolling.

4 years agoAvoid calling DIRECT codepath in DYNAMIC_ARCH on non-SKX
Martin Kroeker [Sun, 22 Mar 2020 13:33:16 +0000 (14:33 +0100)]
Avoid calling DIRECT codepath in DYNAMIC_ARCH on non-SKX

4 years agoMerge pull request #2521 from martin-frbg/cm-avx512
Martin Kroeker [Sun, 22 Mar 2020 00:03:42 +0000 (01:03 +0100)]
Merge pull request #2521 from martin-frbg/cm-avx512

Use proper extension on the avx512 testcase filename

4 years agoMerge pull request #2525 from andreas-schwab/develop
Martin Kroeker [Sat, 21 Mar 2020 17:47:48 +0000 (18:47 +0100)]
Merge pull request #2525 from andreas-schwab/develop

Fix ARCHCONFIG for Neoverse-N1

4 years agoFix ARCHCONFIG for Neoverse-N1
Andreas Schwab [Sat, 21 Mar 2020 16:33:33 +0000 (17:33 +0100)]
Fix ARCHCONFIG for Neoverse-N1

../config_kernel.h:24:9: warning: missing whitespace after the macro name
   24 | #define ARMV8-march armv8.2-a
      |         ^~~~~

4 years agoUse proper extension on the avx512 testcase filename
Martin Kroeker [Fri, 20 Mar 2020 22:05:53 +0000 (23:05 +0100)]
Use proper extension on the avx512 testcase filename

The need to call it .tmp existed only when it was generated by a tmpfile call, and the "-x c" option to tell the compiler it is actually a C source is not universally supported (this broke the test with clang-cl at least)

4 years agoMerge pull request #2518 from shengyang-3390/dev
Martin Kroeker [Fri, 20 Mar 2020 22:00:06 +0000 (23:00 +0100)]
Merge pull request #2518 from shengyang-3390/dev

    add ctest for srotm and modified ctest for srot.

4 years agoMerge pull request #2519 from martin-frbg/issue2472
Martin Kroeker [Fri, 20 Mar 2020 21:57:44 +0000 (22:57 +0100)]
Merge pull request #2519 from martin-frbg/issue2472

Fix cmake compilation with ifort on Windows

4 years agoUpdate param.h
wjc404 [Fri, 20 Mar 2020 21:46:18 +0000 (21:46 +0000)]
Update param.h

4 years agoAdd files via upload
wjc404 [Fri, 20 Mar 2020 21:42:10 +0000 (05:42 +0800)]
Add files via upload

4 years agoMake ifort on Windows create lowercase symbols with appended underscore
Martin Kroeker [Fri, 20 Mar 2020 00:08:10 +0000 (01:08 +0100)]
Make ifort on Windows create lowercase symbols with appended underscore

tentative fix for #2472

4 years agoMerge pull request #38 from xianyi/develop
Martin Kroeker [Fri, 20 Mar 2020 00:05:22 +0000 (01:05 +0100)]
Merge pull request #38 from xianyi/develop

rebase

4 years ago add ctest for srotm and modified ctest for srot.
shengyang [Wed, 18 Mar 2020 06:17:32 +0000 (14:17 +0800)]
add ctest for srotm and modified ctest for srot.
    make sure that test cases cover all code path when kernel uses looping unrolling.

4 years agoMerge pull request #2517 from wjc404/develop
Martin Kroeker [Tue, 17 Mar 2020 09:12:53 +0000 (10:12 +0100)]
Merge pull request #2517 from wjc404/develop

Temporary fix for SKX STRSM

4 years agoUpdate KERNEL.SKYLAKEX
wjc404 [Tue, 17 Mar 2020 04:52:55 +0000 (12:52 +0800)]
Update KERNEL.SKYLAKEX

4 years agoMerge pull request #2515 from zelong-1024/develop
Martin Kroeker [Mon, 16 Mar 2020 20:59:55 +0000 (21:59 +0100)]
Merge pull request #2515 from zelong-1024/develop

[OpenBLAS]: benchmark for her/her2 LEVEL2 functions

4 years agoMerge pull request #2513 from aaawuanjun/develop
Martin Kroeker [Mon, 16 Mar 2020 20:58:55 +0000 (21:58 +0100)]
Merge pull request #2513 from aaawuanjun/develop

[OpenBlas]: Add benchmark tpsv file and modify benchmark/Makefile

4 years agoMerge pull request #2516 from wjc404/develop
Martin Kroeker [Mon, 16 Mar 2020 20:58:34 +0000 (21:58 +0100)]
Merge pull request #2516 from wjc404/develop

AVX2 STRSM kernels

4 years agoUpdate KERNEL.ZEN
wjc404 [Mon, 16 Mar 2020 16:39:37 +0000 (16:39 +0000)]
Update KERNEL.ZEN

4 years agoAVX2 STRSM kernel
wjc404 [Mon, 16 Mar 2020 16:34:08 +0000 (00:34 +0800)]
AVX2 STRSM kernel

4 years ago[OpenBLAS]: benchmark for her/her2 LEVEL2 functions
l00536773 [Mon, 16 Mar 2020 03:19:05 +0000 (11:19 +0800)]
[OpenBLAS]: benchmark for her/her2 LEVEL2 functions
[description]: benchmark for her/her2
[solution]: added benchmark for her/her2, modified makefile in benchmark
[dts]:

4 years agoMerge pull request #2508 from liujingjue/develop
Martin Kroeker [Sat, 14 Mar 2020 13:21:30 +0000 (14:21 +0100)]
Merge pull request #2508 from liujingjue/develop

[OpenBLAS]:fix the iamax benchmark error

4 years agoMerge pull request #2512 from martin-frbg/lapackh
Martin Kroeker [Sat, 14 Mar 2020 12:27:40 +0000 (13:27 +0100)]
Merge pull request #2512 from martin-frbg/lapackh

Move declarations of lapack_complex_custom types outside the extern C

4 years agoMerge pull request #2506 from xiaofengF/develop
Martin Kroeker [Sat, 14 Mar 2020 12:08:36 +0000 (13:08 +0100)]
Merge pull request #2506 from xiaofengF/develop

Add benchmark for SPMV and fix segmentation fault when data size >= 50000

4 years ago[OpenBlas]: Add benchmark tpsv file and modify benchmark/Makefile
wuanjun 00447568 [Sat, 14 Mar 2020 01:11:08 +0000 (09:11 +0800)]
[OpenBlas]: Add benchmark tpsv file and modify benchmark/Makefile
[Description]: Solve lack of tpsv benchmark.

4 years agoMerge pull request #2505 from aaawuanjun/develop
Martin Kroeker [Fri, 13 Mar 2020 22:16:35 +0000 (23:16 +0100)]
Merge pull request #2505 from aaawuanjun/develop

[OpenBlas]:Add benchmark tpmv.c and modify benchmark/Makefile

4 years agoMerge pull request #2511 from martin-frbg/fixppctest
Martin Kroeker [Fri, 13 Mar 2020 22:04:01 +0000 (23:04 +0100)]
Merge pull request #2511 from martin-frbg/fixppctest

Prevent attempts to run ctest or test when fortran is not available

4 years agoMove declarations of lapack_complex_custom types outside the extern C
Martin Kroeker [Fri, 13 Mar 2020 19:34:13 +0000 (20:34 +0100)]
Move declarations of lapack_complex_custom types outside the extern C

fixes #2510

4 years agoDo not attempt to run test without fortran
Martin Kroeker [Fri, 13 Mar 2020 19:11:19 +0000 (20:11 +0100)]
Do not attempt to run test without fortran

4 years agoDo not attempt to run ctest without fortran
Martin Kroeker [Fri, 13 Mar 2020 19:10:26 +0000 (20:10 +0100)]
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

4 years ago[OpenBLAS]:fix the iamax benchmark error
l00546269 [Fri, 13 Mar 2020 02:58:39 +0000 (10:58 +0800)]
[OpenBLAS]:fix the iamax benchmark error
[Description]:the result for i?amax is not MFlops, it is MBytes

4 years agoRemove cspmv and zspmv to remove the error occured in travis CI
jayfely@qq.com [Wed, 11 Mar 2020 09:02:34 +0000 (17:02 +0800)]
Remove cspmv and zspmv to remove the error occured in travis CI

4 years agoModify Makefile in interface to remove the error occured in travis CI
jayfely@qq.com [Wed, 11 Mar 2020 08:36:45 +0000 (16:36 +0800)]
Modify Makefile in interface to remove the error occured in travis CI

4 years agoOnly keep spmv.goto and spmv.atlas
jayfely@qq.com [Wed, 11 Mar 2020 07:48:58 +0000 (15:48 +0800)]
Only keep spmv.goto and spmv.atlas

4 years ago[OpenBlas]:Add benchmark tpmv.c and modify Makefile
wuanjun 00447568 [Wed, 11 Mar 2020 04:31:48 +0000 (12:31 +0800)]
[OpenBlas]:Add benchmark tpmv.c and modify Makefile
[Description]:Solve the problem of missing tpmv.c benchmark file

4 years agoUpdate spmv.c: solve segmentation fault when m and n are larger than 50000
jayfely@qq.com [Wed, 11 Mar 2020 02:30:09 +0000 (10:30 +0800)]
Update spmv.c: solve segmentation fault when m and n are larger than 50000

4 years agoMerge pull request #2503 from martin-frbg/xerbl
Martin Kroeker [Tue, 10 Mar 2020 22:38:07 +0000 (23:38 +0100)]
Merge pull request #2503 from martin-frbg/xerbl

Apply fix for LAPACK issue 394 (fixed-form code beyond column 72)

4 years agoMerge pull request #2502 from martin-frbg/issue2497
Martin Kroeker [Tue, 10 Mar 2020 19:01:23 +0000 (20:01 +0100)]
Merge pull request #2502 from martin-frbg/issue2497

Fix INTERFACE64 not propagating to the fortran codes on ARMV8

4 years agoMerge pull request #2501 from jijiwawa/Fix_mistakes
Martin Kroeker [Tue, 10 Mar 2020 15:44:40 +0000 (16:44 +0100)]
Merge pull request #2501 from jijiwawa/Fix_mistakes

Fix  pr #2487 error

4 years agoUse the correct unit of measure
s00527847 [Tue, 10 Mar 2020 23:26:06 +0000 (19:26 -0400)]
Use the correct unit of measure

4 years agoApply fix for Reference-LAPACK issue 394
Martin Kroeker [Tue, 10 Mar 2020 12:37:41 +0000 (13:37 +0100)]
Apply fix for Reference-LAPACK issue 394

reference to XERBLA extending beyond column 72, breaking builds with compilers that default to traditional punch card format

4 years agoRestore INTERFACE64 for arm64
Martin Kroeker [Tue, 10 Mar 2020 11:51:07 +0000 (12:51 +0100)]
Restore INTERFACE64 for arm64

4 years agoMerge pull request #37 from xianyi/develop
Martin Kroeker [Tue, 10 Mar 2020 11:49:21 +0000 (12:49 +0100)]
Merge pull request #37 from xianyi/develop

rebase

4 years agoModify Makefile in Benchmark
jayfely@qq.com [Tue, 10 Mar 2020 06:32:18 +0000 (14:32 +0800)]
Modify Makefile in Benchmark

4 years agoAdd benchmark for SPMV
jayfely@qq.com [Tue, 10 Mar 2020 06:22:18 +0000 (14:22 +0800)]
Add benchmark for SPMV

4 years agoMerge pull request #2498 from njutcz/develop
Zhang Xianyi [Mon, 9 Mar 2020 08:04:33 +0000 (16:04 +0800)]
Merge pull request #2498 from njutcz/develop

Add benchmark for ?amax, ?max, ?amin, ?min, i?max, i?amin and i?min.

4 years agoFix the functional bugs for zamax.
s00548429 [Mon, 9 Mar 2020 07:36:50 +0000 (15:36 +0800)]
Fix the functional bugs for zamax.

4 years agoAdd benchmark for ?amax, ?max, ?amin, ?min, i?max, i?amin and i?min.
s00548429 [Mon, 9 Mar 2020 06:59:03 +0000 (14:59 +0800)]
Add benchmark for ?amax, ?max, ?amin, ?min, i?max, i?amin and  i?min.

4 years agoMerge pull request #1 from xianyi/develop
njutcz [Mon, 9 Mar 2020 02:39:40 +0000 (10:39 +0800)]
Merge pull request #1 from xianyi/develop

update

4 years agoMerge pull request #2495 from ZuoQ3/develop
Martin Kroeker [Sun, 8 Mar 2020 07:09:58 +0000 (08:09 +0100)]
Merge pull request #2495 from ZuoQ3/develop

add benchmark for axpby test

4 years agoMerge pull request #2494 from shengyang-3390/develop
Martin Kroeker [Sat, 7 Mar 2020 22:04:21 +0000 (23:04 +0100)]
Merge pull request #2494 from shengyang-3390/develop

add benchmark for csrot and zdrot

4 years agoMerge pull request #2489 from jijiwawa/brightness
Martin Kroeker [Sat, 7 Mar 2020 21:26:00 +0000 (22:26 +0100)]
Merge pull request #2489 from jijiwawa/brightness

Remove redundant code

4 years agoadd trmm.c
s00527847 [Sat, 7 Mar 2020 18:09:19 +0000 (13:09 -0500)]
add trmm.c

4 years agoRemove redundant code
s00527847 [Wed, 4 Mar 2020 22:44:50 +0000 (17:44 -0500)]
Remove redundant code

4 years agoMerge pull request #2493 from martin-frbg/plainmake
Martin Kroeker [Sat, 7 Mar 2020 15:55:53 +0000 (16:55 +0100)]
Merge pull request #2493 from martin-frbg/plainmake

Fix use of make vs $(MAKE) in building lapack-testing

4 years agoMerge pull request #2488 from liujingjue/develop
Martin Kroeker [Sat, 7 Mar 2020 15:52:29 +0000 (16:52 +0100)]
Merge pull request #2488 from liujingjue/develop

Modify the main Makefile in OpenBLAS

4 years agoAdd benchmark file axpby.c and modify benchmark/Makefile to test s/d/c/zaxpby
zq [Sat, 7 Mar 2020 09:48:55 +0000 (17:48 +0800)]
Add benchmark file axpby.c and modify benchmark/Makefile to test s/d/c/zaxpby

4 years agoMerge pull request #1 from xianyi/develop
zq [Sat, 7 Mar 2020 09:04:59 +0000 (17:04 +0800)]
Merge pull request #1 from xianyi/develop

update

4 years agoadd benchmark for csrot and zdrot
shengyang [Sat, 7 Mar 2020 07:17:49 +0000 (15:17 +0800)]
add benchmark for csrot and zdrot
modified:   benchmark/Makefile
modified:   benchmark/rot.c

4 years ago[OpenBLAS]:modifed the Makefile
l00546269 [Sat, 7 Mar 2020 02:14:33 +0000 (10:14 +0800)]
[OpenBLAS]:modifed the Makefile
[Description]: check the compiler version and show the detail info

4 years agoFix another spot where make was used instead of $(MAKE)
Martin Kroeker [Fri, 6 Mar 2020 14:37:26 +0000 (15:37 +0100)]
Fix another spot where make was used instead of $(MAKE)

Broke lapack-testing on BSD as their default "make" does not support GNU Makefile syntax

4 years agoMerge pull request #36 from xianyi/develop
Martin Kroeker [Fri, 6 Mar 2020 14:32:27 +0000 (15:32 +0100)]
Merge pull request #36 from xianyi/develop

rebase

4 years agoMerge pull request #2491 from chenxuqiang/hbmv_benchmark
Martin Kroeker [Fri, 6 Mar 2020 14:06:42 +0000 (15:06 +0100)]
Merge pull request #2491 from chenxuqiang/hbmv_benchmark

benchmark/hpmv&hbmv: add benchmark/hpmv.c and benchmark/hbmv.c

4 years agoMerge pull request #2490 from shengyang-3390/develop
Martin Kroeker [Fri, 6 Mar 2020 14:05:55 +0000 (15:05 +0100)]
Merge pull request #2490 from shengyang-3390/develop

Add benchmark file rotm.c and modify benchmark/Makefile to test s/drotm

4 years agoMerge pull request #2487 from jijiwawa/develop
Martin Kroeker [Fri, 6 Mar 2020 13:42:25 +0000 (14:42 +0100)]
Merge pull request #2487 from jijiwawa/develop

add benchmark for spr/spr2

4 years agoMerge branch 'develop' into develop
Martin Kroeker [Fri, 6 Mar 2020 13:41:40 +0000 (14:41 +0100)]
Merge branch 'develop' into develop

4 years agoMerge pull request #2486 from qqqil/develop
Martin Kroeker [Fri, 6 Mar 2020 13:30:09 +0000 (14:30 +0100)]
Merge pull request #2486 from qqqil/develop

add benchmark for trsv

4 years agoMerge pull request #2485 from Darkness303/develop
Martin Kroeker [Fri, 6 Mar 2020 13:29:27 +0000 (14:29 +0100)]
Merge pull request #2485 from Darkness303/develop

Add syr2 benchmark

4 years agoMerge pull request #2469 from AGSaidi/acq-rel-2
Martin Kroeker [Fri, 6 Mar 2020 13:28:58 +0000 (14:28 +0100)]
Merge pull request #2469 from AGSaidi/acq-rel-2

Use acq/rel semantics to pass flags/pointers in getrf_parallel.

4 years agoUse acq/rel semantics to pass flags/pointers in getrf_parallel.
Ali Saidi [Mon, 24 Feb 2020 05:45:30 +0000 (05:45 +0000)]
Use acq/rel semantics to pass flags/pointers in getrf_parallel.

The current implementation has locks, but the locks each only
have a critical section of one variable so atomic reads/writes
with barriers can be used to achieve the same behavior.

Like the previous patch, pthread_mutex_lock isn't fair, so in a
tight loop the previous thread that has the lock can keep it
starving another thread, even if that thread is about to write
the data that will stop the current thread from spinning.

On a 64c Arm system this improves performance by 20x on sgesv.goto.

4 years agobenchmark/hpmv&hbmv: add benchmark/hpmv.c and benchmark/hbmv.c
chenxuqiang [Fri, 6 Mar 2020 06:02:02 +0000 (01:02 -0500)]
benchmark/hpmv&hbmv: add benchmark/hpmv.c and benchmark/hbmv.c

Signed-off-by: Xuqiang Chen chenxuqiang3@hisilicon.com
4 years agoAdd benchmark file rotm.c and modify benchmark/Makefile to test s/drotm
shengyang [Thu, 5 Mar 2020 01:55:16 +0000 (09:55 +0800)]
Add benchmark file rotm.c and modify benchmark/Makefile to test s/drotm

modified:   benchmark/Makefile
new file:   benchmark/rotm.c

4 years agoadd benchmark for spr/spr2
s00527847 [Wed, 4 Mar 2020 20:50:19 +0000 (15:50 -0500)]
add benchmark for spr/spr2

4 years agochange clock to CLOCK_PROCESS_CPUTIME_ID
q00437336 [Wed, 4 Mar 2020 08:54:40 +0000 (03:54 -0500)]
change clock to CLOCK_PROCESS_CPUTIME_ID

4 years ago[OpenBLAS]:modifed the Makefile
l00546269 [Wed, 4 Mar 2020 08:47:23 +0000 (16:47 +0800)]
[OpenBLAS]:modifed the Makefile
[Description]:add c/fortran compiler version information in final note