diff options
author | Andrew <16061801+brada4@users.noreply.github.com> | 2019-05-07 23:46:54 +0300 |
---|---|---|
committer | Andrew <16061801+brada4@users.noreply.github.com> | 2019-05-07 23:46:54 +0300 |
commit | 575a84398a1569738029594372f9143a6743c52c (patch) | |
tree | 041176c40416bcdd4e94b52850668d49a583bc37 /lapack | |
parent | 3d7debbb280d0e671691469da650a124bedda219 (diff) | |
download | openblas-575a84398a1569738029594372f9143a6743c52c.tar.gz openblas-575a84398a1569738029594372f9143a6743c52c.tar.bz2 openblas-575a84398a1569738029594372f9143a6743c52c.zip |
remove redundant code #2113
Diffstat (limited to 'lapack')
-rw-r--r-- | lapack/getrf/getrf_parallel.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lapack/getrf/getrf_parallel.c b/lapack/getrf/getrf_parallel.c index 591ce4a99..c82defcab 100644 --- a/lapack/getrf/getrf_parallel.c +++ b/lapack/getrf/getrf_parallel.c @@ -279,9 +279,6 @@ static int inner_advanced_thread(blas_arg_t *args, BLASLONG *range_m, BLASLONG * for (i = 0; i < args -> nthreads; i++) #if 1 { - LOCK_COMMAND(&getrf_lock); - jw = job[mypos].working[i][CACHE_LINE_SIZE * bufferside]; - UNLOCK_COMMAND(&getrf_lock); do { LOCK_COMMAND(&getrf_lock); jw = job[mypos].working[i][CACHE_LINE_SIZE * bufferside]; @@ -368,9 +365,6 @@ static int inner_advanced_thread(blas_arg_t *args, BLASLONG *range_m, BLASLONG * if ((current != mypos) && (!is)) { #if 1 - LOCK_COMMAND(&getrf_lock); - jw = job[current].working[mypos][CACHE_LINE_SIZE * bufferside]; - UNLOCK_COMMAND(&getrf_lock); do { LOCK_COMMAND(&getrf_lock); jw = job[current].working[mypos][CACHE_LINE_SIZE * bufferside]; @@ -402,9 +396,6 @@ static int inner_advanced_thread(blas_arg_t *args, BLASLONG *range_m, BLASLONG * for (i = 0; i < args -> nthreads; i++) { for (xxx = 0; xxx < DIVIDE_RATE; xxx++) { #if 1 - LOCK_COMMAND(&getrf_lock); - jw = job[mypos].working[i][CACHE_LINE_SIZE *xxx]; - UNLOCK_COMMAND(&getrf_lock); do { LOCK_COMMAND(&getrf_lock); jw = job[mypos].working[i][CACHE_LINE_SIZE *xxx]; |