Repository: incubator-systemml
Updated Branches:
  refs/heads/master 98f509944 -> 75b993759


[MINOR] Fix GPUContext and LibMatrixCUDA javadoc warnings


Project: http://git-wip-us.apache.org/repos/asf/incubator-systemml/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-systemml/commit/75b99375
Tree: http://git-wip-us.apache.org/repos/asf/incubator-systemml/tree/75b99375
Diff: http://git-wip-us.apache.org/repos/asf/incubator-systemml/diff/75b99375

Branch: refs/heads/master
Commit: 75b99375995932e0de3d0f3dfed6af66a71992eb
Parents: 98f5099
Author: Deron Eriksson <[email protected]>
Authored: Fri Jan 6 16:22:55 2017 -0800
Committer: Deron Eriksson <[email protected]>
Committed: Fri Jan 6 16:22:55 2017 -0800

----------------------------------------------------------------------
 .../gpu/context/AggregateUnaryGPUInstruction.java       |  4 ++--
 .../runtime/instructions/gpu/context/GPUContext.java    |  5 ++++-
 .../apache/sysml/runtime/matrix/data/LibMatrixCUDA.java | 12 ++++++------
 3 files changed, 12 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/75b99375/src/main/java/org/apache/sysml/runtime/instructions/gpu/context/AggregateUnaryGPUInstruction.java
----------------------------------------------------------------------
diff --git 
a/src/main/java/org/apache/sysml/runtime/instructions/gpu/context/AggregateUnaryGPUInstruction.java
 
b/src/main/java/org/apache/sysml/runtime/instructions/gpu/context/AggregateUnaryGPUInstruction.java
index 2ab1b89..28efe64 100644
--- 
a/src/main/java/org/apache/sysml/runtime/instructions/gpu/context/AggregateUnaryGPUInstruction.java
+++ 
b/src/main/java/org/apache/sysml/runtime/instructions/gpu/context/AggregateUnaryGPUInstruction.java
@@ -23,14 +23,14 @@ import org.apache.sysml.runtime.DMLRuntimeException;
 import org.apache.sysml.runtime.controlprogram.caching.MatrixObject;
 import org.apache.sysml.runtime.controlprogram.context.ExecutionContext;
 import org.apache.sysml.runtime.functionobjects.IndexFunction;
-import org.apache.sysml.runtime.functionobjects.ReduceAll;
 import org.apache.sysml.runtime.functionobjects.ReduceCol;
 import org.apache.sysml.runtime.functionobjects.ReduceRow;
 import org.apache.sysml.runtime.instructions.InstructionUtils;
 import org.apache.sysml.runtime.instructions.cp.CPOperand;
 import org.apache.sysml.runtime.instructions.gpu.GPUInstruction;
 import org.apache.sysml.runtime.matrix.data.LibMatrixCUDA;
-import org.apache.sysml.runtime.matrix.operators.*;
+import org.apache.sysml.runtime.matrix.operators.AggregateUnaryOperator;
+import org.apache.sysml.runtime.matrix.operators.Operator;
 import org.apache.sysml.utils.Statistics;
 
 /**

http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/75b99375/src/main/java/org/apache/sysml/runtime/instructions/gpu/context/GPUContext.java
----------------------------------------------------------------------
diff --git 
a/src/main/java/org/apache/sysml/runtime/instructions/gpu/context/GPUContext.java
 
b/src/main/java/org/apache/sysml/runtime/instructions/gpu/context/GPUContext.java
index 86bd732..f0e31c4 100644
--- 
a/src/main/java/org/apache/sysml/runtime/instructions/gpu/context/GPUContext.java
+++ 
b/src/main/java/org/apache/sysml/runtime/instructions/gpu/context/GPUContext.java
@@ -36,7 +36,8 @@ public abstract class GPUContext {
 
        /**
         * Gets device memory available for SystemML operations
-        * @return
+        * 
+        * @return available memory
         */
        public abstract long getAvailableMemory();
 
@@ -44,6 +45,8 @@ public abstract class GPUContext {
         * Ensures that all the CUDA cards on the current system are
         * of the minimum required compute capability.
         * (The minimum required compute capability is hard coded in {@link 
JCudaContext}.
+        * 
+        * @throws DMLRuntimeException if DMLRuntimeException occurs
         */
        public abstract void ensureComputeCapability() throws 
DMLRuntimeException;
        

http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/75b99375/src/main/java/org/apache/sysml/runtime/matrix/data/LibMatrixCUDA.java
----------------------------------------------------------------------
diff --git 
a/src/main/java/org/apache/sysml/runtime/matrix/data/LibMatrixCUDA.java 
b/src/main/java/org/apache/sysml/runtime/matrix/data/LibMatrixCUDA.java
index 00e3d87..a956d10 100644
--- a/src/main/java/org/apache/sysml/runtime/matrix/data/LibMatrixCUDA.java
+++ b/src/main/java/org/apache/sysml/runtime/matrix/data/LibMatrixCUDA.java
@@ -1751,12 +1751,12 @@ public class LibMatrixCUDA {
        /**
         * Performs daxpy operation
         * 
-        * @param ec
-        * @param in1
-        * @param in2
-        * @param outputName
-        * @param constant
-        * @throws DMLRuntimeException
+        * @param ec execution context
+        * @param in1 input matrix 1
+        * @param in2 input matrix 2
+        * @param outputName output matrix name
+        * @param constant pointer constant
+        * @throws DMLRuntimeException if DMLRuntimeException occurs
         */
        public static void axpy(ExecutionContext ec, MatrixObject in1, 
MatrixObject in2,
                        String outputName,  double constant) throws 
DMLRuntimeException {

Reply via email to