Commit 3bc4c393 authored by Pierre Paleo's avatar Pierre Paleo
Browse files

Comment silx.math

parent 56704c1a
Pipeline #28669 failed with stages
in 1 minute and 55 seconds
......@@ -105,6 +105,7 @@ class CudaFullFieldPipelineLimitedMemory(CudaFullFieldPipeline):
the classes acting on sinograms.
"""
# In this case, the "build sinogram" step is best done on host to avoid
# extraneous CPU<->GPU copies, and save some GPU memory.
SinoProcessingClass = SinoProcessing
......
import atexit
from math import ceil
import numpy as np
from silx.math.fft.cufft import __have_cufft__ as __has_cufft__
# ~ from silx.math.fft.cufft import __have_cufft__ as __has_cufft__
from ..resources.gpu import GPUDescription
try:
import pycuda
......
......@@ -2,7 +2,7 @@ import numpy as np
from math import sqrt, pi
from ..utils import updiv, get_cuda_srcfile, _sizeof, check_supported
from .phase import PaganinPhaseRetrieval
from silx.math.fft.cufft import CUFFT, __have_cufft__
# ~ from silx.math.fft.cufft import CUFFT, __have_cufft__
import pycuda.driver as cuda
from pycuda import gpuarray as garray
from ..cuda.processing import CudaProcessing
......
......@@ -2,12 +2,13 @@ import numpy as np
from math import sqrt, pi
from ..utils import updiv, get_cuda_srcfile, _sizeof, nextpow2, convert_index
from ..cuda.utils import copy_array
from ..cuda.utils import copy_array, __has_pycuda__
from ..cuda.processing import CudaProcessing
from ..cuda.kernel import CudaKernel
from .filtering import SinoFilter
import pycuda.driver as cuda
from pycuda import gpuarray as garray
if __has_pycuda__:
import pycuda.driver as cuda
from pycuda import gpuarray as garray
class Backprojector(CudaProcessing):
......
......@@ -6,7 +6,7 @@ from silx.image.tomography import compute_fourier_filter, get_next_power
from ..cuda.kernel import CudaKernel
from ..cuda.processing import CudaProcessing
from ..utils import get_cuda_srcfile, check_supported, updiv
from silx.math.fft.cufft import CUFFT
# ~ from silx.math.fft.cufft import CUFFT
import pycuda.gpuarray as garray
class SinoFilter(CudaProcessing):
......
Markdown is supported
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