[test-suite] r335012 - Reland r334974: [test-suite] Corrections for MiniGMG

Francis Visoiu Mistrih via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 18 19:12:21 PDT 2018


Author: thegameg
Date: Mon Jun 18 19:12:21 2018
New Revision: 335012

URL: http://llvm.org/viewvc/llvm-project?rev=335012&view=rev
Log:
Reland r334974: [test-suite] Corrections for MiniGMG

Switching to absolute FP difference instead of relative.

Differential Revision: https://reviews.llvm.org/D47484

Modified:
    test-suite/trunk/MultiSource/Benchmarks/DOE-ProxyApps-C/miniGMG/CMakeLists.txt
    test-suite/trunk/MultiSource/Benchmarks/DOE-ProxyApps-C/miniGMG/Makefile

Modified: test-suite/trunk/MultiSource/Benchmarks/DOE-ProxyApps-C/miniGMG/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Benchmarks/DOE-ProxyApps-C/miniGMG/CMakeLists.txt?rev=335012&r1=335011&r2=335012&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Benchmarks/DOE-ProxyApps-C/miniGMG/CMakeLists.txt (original)
+++ test-suite/trunk/MultiSource/Benchmarks/DOE-ProxyApps-C/miniGMG/CMakeLists.txt Mon Jun 18 19:12:21 2018
@@ -1,6 +1,6 @@
 set(PROG miniGMG)
-list(APPEND CXXFLAGS -D__PRINT_NORM)
+list(APPEND CFLAGS -D__PRINT_NORM)
 list(APPEND LDFLAGS -lm)
-set(FP_TOLERANCE 0.00001)
+set(FP_ABSTOLERANCE 0.00000001)
 set(RUN_OPTIONS 5  2 2 2  1 1 1)
 llvm_multisource()

Modified: test-suite/trunk/MultiSource/Benchmarks/DOE-ProxyApps-C/miniGMG/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Benchmarks/DOE-ProxyApps-C/miniGMG/Makefile?rev=335012&r1=335011&r2=335012&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Benchmarks/DOE-ProxyApps-C/miniGMG/Makefile (original)
+++ test-suite/trunk/MultiSource/Benchmarks/DOE-ProxyApps-C/miniGMG/Makefile Mon Jun 18 19:12:21 2018
@@ -1,6 +1,8 @@
 LEVEL = ../../../..
 
 PROG = miniGMG
-LDFLAGS  = -lm
-RUN_OPTIONS = 6  2 2 2  1 1 1
+CFLAGS := -D__PRINT_NORM 
+LDFLAGS  := -lm
+FP_ABSTOLERANCE :=  0.00000001
+RUN_OPTIONS = 5  2 2 2  1 1 1
 include $(LEVEL)/MultiSource/Makefile.multisrc




More information about the llvm-commits mailing list