Commit a6439337 authored by Pierre Paleo's avatar Pierre Paleo
Browse files

Bugfix

parent ee01ce23
Pipeline #27106 passed with stages
in 2 minutes and 28 seconds
......@@ -325,7 +325,7 @@ class CudaFullFieldPipelineLimitedMemory(CudaFullFieldPipeline):
# otherwise use the buffer of _d_radios for _d_sinos
else:
self._d_sinos = garray.empty(
self.sino_builder.output_shape,
(self.chunk_size, ) + self.sino_builder.output_shape[1:],
"f",
gpudata=self._d_radios.gpudata
)
......@@ -356,7 +356,7 @@ class CudaFullFieldPipelineLimitedMemory(CudaFullFieldPipeline):
# Copy H2D
# pycuda does not support copy where "order" is not the same
# (self.sinos might be a view on self.radios)
if not(self._sinobuilder_copy) and self.sinos.flags["C_CONTIGUOUS"]:
if not(self._sinobuilder_copy) and not(self.sinos.flags["C_CONTIGUOUS"]):
sinos = np.ascontiguousarray(self.sinos)
else:
sinos = self._h_sinos
......
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