summaryrefslogtreecommitdiff
path: root/lapack
diff options
context:
space:
mode:
authorAndrew <16061801+brada4@users.noreply.github.com>2019-05-07 23:46:54 +0300
committerAndrew <16061801+brada4@users.noreply.github.com>2019-05-07 23:46:54 +0300
commit575a84398a1569738029594372f9143a6743c52c (patch)
tree041176c40416bcdd4e94b52850668d49a583bc37 /lapack
parent3d7debbb280d0e671691469da650a124bedda219 (diff)
downloadopenblas-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.c9
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];