From 856ca0d926c41e61a80108bb1976ada0aafdedb6 Mon Sep 17 00:00:00 2001 From: TomasKulhanek Date: Thu, 6 Dec 2018 23:31:05 +0000 Subject: debug cuda test --- Wrappers/Python/conda-recipe/run_test.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Wrappers/Python/conda-recipe/run_test.py b/Wrappers/Python/conda-recipe/run_test.py index 4ef55b7..6475f72 100755 --- a/Wrappers/Python/conda-recipe/run_test.py +++ b/Wrappers/Python/conda-recipe/run_test.py @@ -37,8 +37,8 @@ class TestRegularisers(unittest.TestCase): def test_ROF_TV_CPU_vs_GPU(self): - print "tomas debug test function" - print __name__ + print ("tomas debug test function") + print(__name__) filename = os.path.join("lena_gray_512.tif") plt = TiffReader() # read image @@ -110,7 +110,7 @@ class TestRegularisers(unittest.TestCase): self.assertLessEqual(diff_im.sum() , 1) def test_FGP_TV_CPU_vs_GPU(self): - print __name__ + print(__name__) filename = os.path.join("lena_gray_512.tif") plt = TiffReader() # read image @@ -198,7 +198,7 @@ class TestRegularisers(unittest.TestCase): self.assertLessEqual(diff_im.sum() , 1) def test_SB_TV_CPU_vs_GPU(self): - print __name__ + print(__name__) filename = os.path.join("lena_gray_512.tif") plt = TiffReader() # read image @@ -282,7 +282,7 @@ class TestRegularisers(unittest.TestCase): self.assertLessEqual(diff_im.sum(), 1) def test_TGV_CPU_vs_GPU(self): - print __name__ + print(__name__) filename = os.path.join("lena_gray_512.tif") plt = TiffReader() # read image @@ -364,7 +364,7 @@ class TestRegularisers(unittest.TestCase): self.assertLessEqual(diff_im.sum() , 1) def test_LLT_ROF_CPU_vs_GPU(self): - print __name__ + print(__name__) filename = os.path.join("lena_gray_512.tif") plt = TiffReader() # read image @@ -442,7 +442,7 @@ class TestRegularisers(unittest.TestCase): self.assertLessEqual(diff_im.sum(), 1) def test_NDF_CPU_vs_GPU(self): - print __name__ + print(__name__) filename = os.path.join("lena_gray_512.tif") plt = TiffReader() # read image -- cgit v1.2.3