Repository: systemml Updated Branches: refs/heads/master f296f8f51 -> 64110f31d
[MINOR] Fixed failing GPU tests and updated the documentation. Project: http://git-wip-us.apache.org/repos/asf/systemml/repo Commit: http://git-wip-us.apache.org/repos/asf/systemml/commit/64110f31 Tree: http://git-wip-us.apache.org/repos/asf/systemml/tree/64110f31 Diff: http://git-wip-us.apache.org/repos/asf/systemml/diff/64110f31 Branch: refs/heads/master Commit: 64110f31dcd4eb8b6d56e8d462858a58c2016544 Parents: f296f8f Author: Niketan Pansare <npan...@us.ibm.com> Authored: Thu Aug 16 09:56:42 2018 -0700 Committer: Niketan Pansare <npan...@us.ibm.com> Committed: Thu Aug 16 09:56:42 2018 -0700 ---------------------------------------------------------------------- docs/dml-language-reference.md | 2 ++ docs/index.md | 1 + src/test/java/org/apache/sysml/test/gpu/BinaryOpTests.java | 9 ++++----- 3 files changed, 7 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/systemml/blob/64110f31/docs/dml-language-reference.md ---------------------------------------------------------------------- diff --git a/docs/dml-language-reference.md b/docs/dml-language-reference.md index 8a89d99..924336a 100644 --- a/docs/dml-language-reference.md +++ b/docs/dml-language-reference.md @@ -1525,6 +1525,8 @@ Hence, the images are internally represented as a matrix with dimension (N, C * | batch_norm2d | input | [batch_size X num_channels* height_image* width_image] | | [batch_size X num_channels* height_image* width_image] | scale, shift, exponentialMovingAverage_Mean, exponentialMovingAverage_Variance, mode, epsilon, momentum | Performs batch normalization operation (outputs: updated exponential moving average mean and variance, cache of the batch mean and variance) | | batch_norm2d_backward | input, dout | [batch_size X num_channels* height_image* width_image] | [batch_size X num_channels* height_image* width_image] | [batch_size X num_channels* height_image* width_image] | scale, epsilon, cache_mean (from forward), cache_inv_var (from forward) | Computed backpropagation error for batch normalization operation | +Note: the builtin functions `batch_norm2d` and `batch_norm2d_backward` are deprecated and will be removed in the next release. The `lstm` builtin function is in experimental phase and is only supported for the GPU backend. + Examples: | Function | Parameters | Visualization / Equivalent DML | http://git-wip-us.apache.org/repos/asf/systemml/blob/64110f31/docs/index.md ---------------------------------------------------------------------- diff --git a/docs/index.md b/docs/index.md index fdb0d8b..8117735 100644 --- a/docs/index.md +++ b/docs/index.md @@ -82,3 +82,4 @@ command-line interface. * [Troubleshooting Guide](troubleshooting-guide) - Troubleshoot various issues related to SystemML. * [Release Process](release-process) - Description of the SystemML release process. * [Using Native BLAS](native-backend) in SystemML. +* [Using GPU backend](gpu) in SystemML. http://git-wip-us.apache.org/repos/asf/systemml/blob/64110f31/src/test/java/org/apache/sysml/test/gpu/BinaryOpTests.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/sysml/test/gpu/BinaryOpTests.java b/src/test/java/org/apache/sysml/test/gpu/BinaryOpTests.java index 7949fcb..260d551 100644 --- a/src/test/java/org/apache/sysml/test/gpu/BinaryOpTests.java +++ b/src/test/java/org/apache/sysml/test/gpu/BinaryOpTests.java @@ -53,11 +53,10 @@ public class BinaryOpTests extends GPUTests { double sparsity = 1.0; // Only dense matrices supported by "solve" final int[] sides = { 32, 33, 128, 256, 513, 2049 }; for (int i = 0; i < sides.length; i++) { - for (int j = i; j < sides.length; j++) { - int m = sides[j]; - int n = sides[i]; - runSolveTest(sparsity, m, n); - } + // CP LibCommonsMath expects square matrices + int m = sides[i]; + int n = sides[i]; + runSolveTest(sparsity, m, n); } }