Repository: incubator-systemml Updated Branches: refs/heads/master 852ba1e78 -> 6bcc82359
[MINOR] Fix javadoc warnings in JCudaContext Project: http://git-wip-us.apache.org/repos/asf/incubator-systemml/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-systemml/commit/6bcc8235 Tree: http://git-wip-us.apache.org/repos/asf/incubator-systemml/tree/6bcc8235 Diff: http://git-wip-us.apache.org/repos/asf/incubator-systemml/diff/6bcc8235 Branch: refs/heads/master Commit: 6bcc823598b4a0ad49ffff6b508466826db59860 Parents: 852ba1e Author: Deron Eriksson <[email protected]> Authored: Thu Jan 26 11:07:09 2017 -0800 Committer: Deron Eriksson <[email protected]> Committed: Thu Jan 26 11:07:09 2017 -0800 ---------------------------------------------------------------------- .../instructions/gpu/context/JCudaContext.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/6bcc8235/src/main/java/org/apache/sysml/runtime/instructions/gpu/context/JCudaContext.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/sysml/runtime/instructions/gpu/context/JCudaContext.java b/src/main/java/org/apache/sysml/runtime/instructions/gpu/context/JCudaContext.java index 1157214..af4cfbd 100644 --- a/src/main/java/org/apache/sysml/runtime/instructions/gpu/context/JCudaContext.java +++ b/src/main/java/org/apache/sysml/runtime/instructions/gpu/context/JCudaContext.java @@ -167,7 +167,7 @@ public class JCudaContext extends GPUContext { /** * Gets the device properties for the active GPU (set with cudaSetDevice()) - * @return + * @return the device properties */ public static cudaDeviceProp getGPUProperties() { int[] device = {-1}; @@ -178,7 +178,7 @@ public class JCudaContext extends GPUContext { /** * Gets the device properties * @param device the device number (on a machine with more than 1 GPU) - * @return + * @return the device properties */ public static cudaDeviceProp getGPUProperties(int device){ if (deviceProperties[device] == null) { @@ -192,7 +192,7 @@ public class JCudaContext extends GPUContext { /** * Gets the maximum number of threads per block for "active" GPU - * @return + * @return the maximum number of threads per block */ public static int getMaxThreadsPerBlock() { cudaDeviceProp deviceProps = getGPUProperties(); @@ -201,7 +201,7 @@ public class JCudaContext extends GPUContext { /** * Gets the maximum number of blocks supported by the active cuda device - * @return + * @return the maximum number of blocks supported */ public static int getMaxBlocks() { cudaDeviceProp deviceProp = getGPUProperties(); @@ -210,7 +210,7 @@ public class JCudaContext extends GPUContext { /** * Gets the shared memory per block supported by the active cuda device - * @return + * @return the shared memory per block */ public static long getMaxSharedMemory() { cudaDeviceProp deviceProp = getGPUProperties(); @@ -219,7 +219,7 @@ public class JCudaContext extends GPUContext { /** * Gets the warp size supported by the active cuda device - * @return + * @return the warp size */ public static int getWarpSize() { cudaDeviceProp deviceProp = getGPUProperties(); @@ -229,7 +229,7 @@ public class JCudaContext extends GPUContext { /** * Gets the available memory and then adds value to it * @param v the value to add - * @return + * @return the current available memory before adding value to it */ public long getAndAddAvailableMemory(long v){ return deviceMemBytes.getAndAdd(v);
