Commit 178c6cdf authored by Pierre Paleo's avatar Pierre Paleo
Browse files

Do a conditional import for CudaProcessing

parent 803502a4
Pipeline #26953 failed with stages
in 1 minute and 26 seconds
......@@ -2,12 +2,12 @@ import numpy as np
from .double_flatfield import DoubleFlatField
from ..utils import check_shape
from ..cuda.utils import get_cuda_context, __has_pycuda__
from ..cuda.processing import CudaProcessing
from ..misc.unsharp_cuda import CudaUnsharpMask
if __has_pycuda__:
import pycuda.gpuarray as garray
import pycuda.cumath as cumath
from ..cuda.processing import CudaProcessing
class CudaDoubleFlatField(DoubleFlatField, CudaProcessing):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment