Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 69A73200D29 for ; Thu, 26 Oct 2017 17:40:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6828B160BF2; Thu, 26 Oct 2017 15:40:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id ADF5C1609E8 for ; Thu, 26 Oct 2017 17:40:04 +0200 (CEST) Received: (qmail 10553 invoked by uid 500); 26 Oct 2017 15:40:03 -0000 Mailing-List: contact issues-help@systemml.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@systemml.apache.org Delivered-To: mailing list issues@systemml.apache.org Received: (qmail 10544 invoked by uid 99); 26 Oct 2017 15:40:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Oct 2017 15:40:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id F3A1F18011A for ; Thu, 26 Oct 2017 15:40:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id YIq8aMhNBNEk for ; Thu, 26 Oct 2017 15:40:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 6CB245FBE2 for ; Thu, 26 Oct 2017 15:40:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 99FEEE095A for ; Thu, 26 Oct 2017 15:40:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 4C294212F8 for ; Thu, 26 Oct 2017 15:40:00 +0000 (UTC) Date: Thu, 26 Oct 2017 15:40:00 +0000 (UTC) From: "Niketan Pansare (JIRA)" To: issues@systemml.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (SYSTEMML-1975) Fix GPU tests for single precision MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 26 Oct 2017 15:40:05 -0000 Niketan Pansare created SYSTEMML-1975: ----------------------------------------- Summary: Fix GPU tests for single precision Key: SYSTEMML-1975 URL: https://issues.apache.org/jira/browse/SYSTEMML-1975 Project: SystemML Issue Type: Bug Reporter: Niketan Pansare The current GPU tests for single precision compares the results of double precision operation on CPU with single precision operation on GPU. So, it is difficult to compare the results. When we support single precision on CPU, we can rework the GPU tests to fix the following tests: {code} Failed tests: NeuralNetworkOpTests.testConv2dBackwardFilter:324->GPUTests.assertEqualObjects:367->GPUTests.assertEqualMatrices:269 Relative error(0.000012) is more than threshold (0.000010). Expected = 25311.000000, Actual = 25310.687500, differed at [0, 50] MatrixMultiplicationOpTest.matrixMatrixTest2:161->assertMatrixMultiplication:261->GPUTests.assertEqualObjects:367->GPUTests.assertEqualMatrices:269 Relative error(1.000000) is more than threshold (0.000010). Expected = -0.002456, Actual = 0.000000, differed at [0, 0] MatrixMultiplicationOpTest.matrixMatrixTest4:209->assertMatrixMultiplication:261->GPUTests.assertEqualObjects:367->GPUTests.assertEqualMatrices:269 Relative error(0.000024) is more than threshold (0.000010). Expected = 0.573809, Actual = 0.573822, differed at [5, 127] MatrixMultiplicationOpTest.commonCaseDLMatrixMatrixTest2:137->assertMatrixMultiplication:261->GPUTests.assertEqualObjects:367->GPUTests.assertEqualMatrices:269 Relative error(0.000013) is more than threshold (0.000010). Expected = -0.922950, Actual = -0.922939, differed at [0, 13] MatrixMultiplicationOpTest.transposeSelfMatrixMultiply:235->GPUTests.assertEqualObjects:367->GPUTests.assertEqualMatrices:272 expected:<0.0> but was:<1.9291085004806519> ScalarMatrixElementwiseOpTests.testModulusLeftScalar:167->runScalarMatrixElementWiseTests:261->GPUTests.assertEqualObjects:367->GPUTests.assertEqualMatrices:269 Relative error(1.000000) is more than threshold (0.000010). Expected = 0.078125, Actual = 0.000000, differed at [1500, 22] ScalarMatrixElementwiseOpTests.testIntegerDivideLeftScalar:157->runScalarMatrixElementWiseTests:261->GPUTests.assertEqualObjects:367->GPUTests.assertEqualMatrices:269 Relative error(0.015873) is more than threshold (0.000010). Expected = 63.000000, Actual = 64.000000, differed at [1500, 22] {code} [~nakul02] -- This message was sent by Atlassian JIRA (v6.4.14#64029)