-
Notifications
You must be signed in to change notification settings - Fork 519
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[OpenBLAS] add new patch to fix
zdot
crash (#3655)
xref: JuliaLang/julia#40963
- Loading branch information
1 parent
12bd20f
commit 23aafef
Showing
3 changed files
with
78 additions
and
0 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
O/OpenBLAS/OpenBLAS32@0.3.10/bundled/patches/openblas-julia40963-zdot.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
From b2053239fc36f9ca8c29286d8fc553d0200907b0 Mon Sep 17 00:00:00 2001 | ||
From: Martin Kroeker <martin@ruby.chemie.uni-freiburg.de> | ||
Date: Sun, 23 Aug 2020 15:08:16 +0200 | ||
Subject: [PATCH] Fix mssing dummy parameter (imag part of alpha) of | ||
zdot_thread_function | ||
|
||
--- | ||
kernel/x86_64/zdot.c | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/kernel/x86_64/zdot.c b/kernel/x86_64/zdot.c | ||
index 90fd86da..1bc785ac 100644 | ||
--- a/kernel/x86_64/zdot.c | ||
+++ b/kernel/x86_64/zdot.c | ||
@@ -168,7 +168,7 @@ static void zdot_compute (BLASLONG n, FLOAT *x, BLASLONG inc_x, FLOAT *y, BLASLO | ||
|
||
#if defined(SMP) | ||
static int zdot_thread_function(BLASLONG n, BLASLONG dummy0, | ||
-BLASLONG dummy1, FLOAT dummy2, FLOAT *x, BLASLONG inc_x, FLOAT *y, | ||
+BLASLONG dummy1, FLOAT dummy2r, FLOAT dummy2i, FLOAT *x, BLASLONG inc_x, FLOAT *y, | ||
BLASLONG inc_y, FLOAT *result, BLASLONG dummy3) | ||
{ | ||
zdot_compute(n, x, inc_x, y, inc_y, (void *)result); | ||
-- | ||
2.33.0 | ||
|
26 changes: 26 additions & 0 deletions
26
O/OpenBLAS/OpenBLAS@0.3.10/bundled/patches/openblas-julia40963-zdot.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
From b2053239fc36f9ca8c29286d8fc553d0200907b0 Mon Sep 17 00:00:00 2001 | ||
From: Martin Kroeker <martin@ruby.chemie.uni-freiburg.de> | ||
Date: Sun, 23 Aug 2020 15:08:16 +0200 | ||
Subject: [PATCH] Fix mssing dummy parameter (imag part of alpha) of | ||
zdot_thread_function | ||
|
||
--- | ||
kernel/x86_64/zdot.c | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/kernel/x86_64/zdot.c b/kernel/x86_64/zdot.c | ||
index 90fd86da..1bc785ac 100644 | ||
--- a/kernel/x86_64/zdot.c | ||
+++ b/kernel/x86_64/zdot.c | ||
@@ -168,7 +168,7 @@ static void zdot_compute (BLASLONG n, FLOAT *x, BLASLONG inc_x, FLOAT *y, BLASLO | ||
|
||
#if defined(SMP) | ||
static int zdot_thread_function(BLASLONG n, BLASLONG dummy0, | ||
-BLASLONG dummy1, FLOAT dummy2, FLOAT *x, BLASLONG inc_x, FLOAT *y, | ||
+BLASLONG dummy1, FLOAT dummy2r, FLOAT dummy2i, FLOAT *x, BLASLONG inc_x, FLOAT *y, | ||
BLASLONG inc_y, FLOAT *result, BLASLONG dummy3) | ||
{ | ||
zdot_compute(n, x, inc_x, y, inc_y, (void *)result); | ||
-- | ||
2.33.0 | ||
|
26 changes: 26 additions & 0 deletions
26
O/OpenBLAS/OpenBLASHighCoreCount@0.3.10/bundled/patches/openblas-julia40963-zdot.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
From b2053239fc36f9ca8c29286d8fc553d0200907b0 Mon Sep 17 00:00:00 2001 | ||
From: Martin Kroeker <martin@ruby.chemie.uni-freiburg.de> | ||
Date: Sun, 23 Aug 2020 15:08:16 +0200 | ||
Subject: [PATCH] Fix mssing dummy parameter (imag part of alpha) of | ||
zdot_thread_function | ||
|
||
--- | ||
kernel/x86_64/zdot.c | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/kernel/x86_64/zdot.c b/kernel/x86_64/zdot.c | ||
index 90fd86da..1bc785ac 100644 | ||
--- a/kernel/x86_64/zdot.c | ||
+++ b/kernel/x86_64/zdot.c | ||
@@ -168,7 +168,7 @@ static void zdot_compute (BLASLONG n, FLOAT *x, BLASLONG inc_x, FLOAT *y, BLASLO | ||
|
||
#if defined(SMP) | ||
static int zdot_thread_function(BLASLONG n, BLASLONG dummy0, | ||
-BLASLONG dummy1, FLOAT dummy2, FLOAT *x, BLASLONG inc_x, FLOAT *y, | ||
+BLASLONG dummy1, FLOAT dummy2r, FLOAT dummy2i, FLOAT *x, BLASLONG inc_x, FLOAT *y, | ||
BLASLONG inc_y, FLOAT *result, BLASLONG dummy3) | ||
{ | ||
zdot_compute(n, x, inc_x, y, inc_y, (void *)result); | ||
-- | ||
2.33.0 | ||
|