You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemml.apache.org by mb...@apache.org on 2018/02/05 07:56:28 UTC
[2/2] systemml git commit: [SYSTEMML-2068] Fix sparse-dense vector
xor operations
[SYSTEMML-2068] Fix sparse-dense vector xor operations
This patch fixes the vector primitive for sparse-dense xor operations
which used a wrong signature leading to codegen compilation errors.
Project: http://git-wip-us.apache.org/repos/asf/systemml/repo
Commit: http://git-wip-us.apache.org/repos/asf/systemml/commit/ae98864e
Tree: http://git-wip-us.apache.org/repos/asf/systemml/tree/ae98864e
Diff: http://git-wip-us.apache.org/repos/asf/systemml/diff/ae98864e
Branch: refs/heads/master
Commit: ae98864e5061da0a44aebd703104177bd8a4d9d0
Parents: d79e1c5
Author: Matthias Boehm <mb...@gmail.com>
Authored: Sun Feb 4 23:56:12 2018 -0800
Committer: Matthias Boehm <mb...@gmail.com>
Committed: Sun Feb 4 23:56:12 2018 -0800
----------------------------------------------------------------------
.../org/apache/sysml/runtime/codegen/LibSpoofPrimitives.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/systemml/blob/ae98864e/src/main/java/org/apache/sysml/runtime/codegen/LibSpoofPrimitives.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/sysml/runtime/codegen/LibSpoofPrimitives.java b/src/main/java/org/apache/sysml/runtime/codegen/LibSpoofPrimitives.java
index 33b18b9..8418377 100644
--- a/src/main/java/org/apache/sysml/runtime/codegen/LibSpoofPrimitives.java
+++ b/src/main/java/org/apache/sysml/runtime/codegen/LibSpoofPrimitives.java
@@ -646,8 +646,8 @@ public class LibSpoofPrimitives
}
//6. sparse vector vs. dense vector
- public static void vectXorWrite(double[] a, double[] b, int ai, int[] aix, int bi, int alen, int len) {
- vectXorWrite(a, b, aix, ai, bi, alen, len);
+ public static double[] vectXorWrite(double[] a, double[] b, int ai, int[] aix, int bi, int alen, int len) {
+ return vectXorWrite(a, b, aix, ai, bi, alen, len);
}
//custom vector pow