TomographicImaging / CCPi-Regularisation-Toolkit

The set of CPU/GPU optimised regularisation modules for iterative image reconstruction and other image processing tasks
Apache License 2.0
49 stars 25 forks source link

unit tests for 3D and 2D tests update #208

Open dkazanc opened 3 months ago

dkazanc commented 3 months ago

Adding 3D unittests and 2D tests update with #207 consideration.

@paskino mentioned:

This may not be sufficient to run the GPU tests.

In CIL we also verify that a NVIDIA GPU is installed by calling nvidia-smi along these lines

nvidia

try: subprocess.check_output('nvidia-smi') has_nvidia = True except: has_nvidia = False