summaryrefslogtreecommitdiffstats
path: root/Wrappers/Python
diff options
context:
space:
mode:
authorTomasKulhanek <tomas.kulhanek@stfc.ac.uk>2018-12-06 23:01:09 +0000
committerTomasKulhanek <tomas.kulhanek@stfc.ac.uk>2018-12-06 23:01:09 +0000
commit8067e665fa301c9af89905e5ce8f4ac729b7a386 (patch)
tree269c600444b3792b71c5c2b15d4a4dd825c42f78 /Wrappers/Python
parentfbbe502caa70043824f75ec615932f0185c136b7 (diff)
downloadregularization-8067e665fa301c9af89905e5ce8f4ac729b7a386.tar.gz
regularization-8067e665fa301c9af89905e5ce8f4ac729b7a386.tar.bz2
regularization-8067e665fa301c9af89905e5ce8f4ac729b7a386.tar.xz
regularization-8067e665fa301c9af89905e5ce8f4ac729b7a386.zip
debug cuda test
Diffstat (limited to 'Wrappers/Python')
-rwxr-xr-xWrappers/Python/conda-recipe/run_test.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/Wrappers/Python/conda-recipe/run_test.py b/Wrappers/Python/conda-recipe/run_test.py
index e0e5c07..4ef55b7 100755
--- a/Wrappers/Python/conda-recipe/run_test.py
+++ b/Wrappers/Python/conda-recipe/run_test.py
@@ -37,6 +37,8 @@ class TestRegularisers(unittest.TestCase):
def test_ROF_TV_CPU_vs_GPU(self):
+ print "tomas debug test function"
+ print __name__
filename = os.path.join("lena_gray_512.tif")
plt = TiffReader()
# read image
@@ -108,6 +110,7 @@ class TestRegularisers(unittest.TestCase):
self.assertLessEqual(diff_im.sum() , 1)
def test_FGP_TV_CPU_vs_GPU(self):
+ print __name__
filename = os.path.join("lena_gray_512.tif")
plt = TiffReader()
# read image
@@ -195,6 +198,7 @@ class TestRegularisers(unittest.TestCase):
self.assertLessEqual(diff_im.sum() , 1)
def test_SB_TV_CPU_vs_GPU(self):
+ print __name__
filename = os.path.join("lena_gray_512.tif")
plt = TiffReader()
# read image
@@ -278,6 +282,7 @@ class TestRegularisers(unittest.TestCase):
self.assertLessEqual(diff_im.sum(), 1)
def test_TGV_CPU_vs_GPU(self):
+ print __name__
filename = os.path.join("lena_gray_512.tif")
plt = TiffReader()
# read image
@@ -359,6 +364,7 @@ class TestRegularisers(unittest.TestCase):
self.assertLessEqual(diff_im.sum() , 1)
def test_LLT_ROF_CPU_vs_GPU(self):
+ print __name__
filename = os.path.join("lena_gray_512.tif")
plt = TiffReader()
# read image
@@ -436,6 +442,7 @@ class TestRegularisers(unittest.TestCase):
self.assertLessEqual(diff_im.sum(), 1)
def test_NDF_CPU_vs_GPU(self):
+ print __name__
filename = os.path.join("lena_gray_512.tif")
plt = TiffReader()
# read image