Repository: incubator-systemml Updated Branches: refs/heads/master 80225f014 -> 95f300d9d
[HOTFIX] added missing license,removed missing exception in javadoc Project: http://git-wip-us.apache.org/repos/asf/incubator-systemml/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-systemml/commit/95f300d9 Tree: http://git-wip-us.apache.org/repos/asf/incubator-systemml/tree/95f300d9 Diff: http://git-wip-us.apache.org/repos/asf/incubator-systemml/diff/95f300d9 Branch: refs/heads/master Commit: 95f300d9d18801f585e579227c4123c475eb5c9c Parents: 80225f0 Author: Nakul Jindal <[email protected]> Authored: Mon Mar 13 14:21:49 2017 -0700 Committer: Nakul Jindal <[email protected]> Committed: Mon Mar 13 14:21:49 2017 -0700 ---------------------------------------------------------------------- .../instructions/gpu/context/JCudaObject.java | 1 - .../java/org/apache/sysml/utils/LRUCacheMap.java | 18 ++++++++++++++++++ .../apache/sysml/test/utils/LRUCacheMapTest.java | 18 ++++++++++++++++++ 3 files changed, 36 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/95f300d9/src/main/java/org/apache/sysml/runtime/instructions/gpu/context/JCudaObject.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/sysml/runtime/instructions/gpu/context/JCudaObject.java b/src/main/java/org/apache/sysml/runtime/instructions/gpu/context/JCudaObject.java index 31664f6..92284d0 100644 --- a/src/main/java/org/apache/sysml/runtime/instructions/gpu/context/JCudaObject.java +++ b/src/main/java/org/apache/sysml/runtime/instructions/gpu/context/JCudaObject.java @@ -1209,7 +1209,6 @@ public class JCudaObject extends GPUObject { * does lazy/eager cudaFree calls * @param toFree {@link Pointer} instance to be freed * @param eager true if to be done eagerly - * @throws DMLRuntimeException */ public static void cudaFreeHelper(final Pointer toFree, boolean eager) { cudaFreeHelper(null, toFree, eager); http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/95f300d9/src/main/java/org/apache/sysml/utils/LRUCacheMap.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/sysml/utils/LRUCacheMap.java b/src/main/java/org/apache/sysml/utils/LRUCacheMap.java index 0c8449a..64560af 100644 --- a/src/main/java/org/apache/sysml/utils/LRUCacheMap.java +++ b/src/main/java/org/apache/sysml/utils/LRUCacheMap.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.apache.sysml.utils; http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/95f300d9/src/test/java/org/apache/sysml/test/utils/LRUCacheMapTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/sysml/test/utils/LRUCacheMapTest.java b/src/test/java/org/apache/sysml/test/utils/LRUCacheMapTest.java index d076266..3cf7e76 100644 --- a/src/test/java/org/apache/sysml/test/utils/LRUCacheMapTest.java +++ b/src/test/java/org/apache/sysml/test/utils/LRUCacheMapTest.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.apache.sysml.test.utils; import org.apache.sysml.utils.LRUCacheMap;
