summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasKulhanek <tomas.kulhanek@stfc.ac.uk>2018-12-06 23:31:05 +0000
committerTomasKulhanek <tomas.kulhanek@stfc.ac.uk>2018-12-06 23:31:05 +0000
commit856ca0d926c41e61a80108bb1976ada0aafdedb6 (patch)
tree1c1627e9f0d5ec51ee3b36f39cc8817624d7d383
parent8067e665fa301c9af89905e5ce8f4ac729b7a386 (diff)
downloadregularization-856ca0d926c41e61a80108bb1976ada0aafdedb6.tar.gz
regularization-856ca0d926c41e61a80108bb1976ada0aafdedb6.tar.bz2
regularization-856ca0d926c41e61a80108bb1976ada0aafdedb6.tar.xz
regularization-856ca0d926c41e61a80108bb1976ada0aafdedb6.zip
debug cuda test
-rwxr-xr-xWrappers/Python/conda-recipe/run_test.py14
1 files 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