SBC-Utrecht / PyTomPrivate

Development repository
GNU General Public License v2.0
2 stars 2 forks source link

test fails if PYTOM_GPU=1 instead of 0 #162

Closed sroet closed 1 year ago

sroet commented 1 year ago

The following tests fail with if we set PYTOM_GPU=1 (test followed by the error):


test_WedgeTest.pytom_NumpyTest.test_conversion 
cupy_backends.cuda.api.runtime.CUDARuntimeError: cudaErrorIllegalAddress: an illegal memory access was encountered

test_PhaseRandomizationTest.pytom_PhaseRandomizationTest.test_phase_random_odd
cupy_backends.cuda.libs.curand.CURANDError: CURAND_STATUS_INITIALIZATION_FAILED

test_PhaseRandomizationTest.pytom_PhaseRandomizationTest.test_phase_random_even
cupy_backends.cuda.libs.curand.CURANDError: CURAND_STATUS_INITIALIZATION_FAILED

test_InteroplationTest.pytom_InterpolationTest.test_voltools_gpu
cupy_backends.cuda.api.runtime.CUDARuntimeError: cudaErrorIllegalAddress: an illegal memory access was encountered
sroet commented 1 year ago

Hmm, this isssue is deeper than I thought. the individual tests don't error out, only when run in python -m unittest discover