Commit 8ff03259 authored by Pierre Paleo's avatar Pierre Paleo
Browse files

Assume delta_z is a multiple of chunk_size

parent 78142bea
Pipeline #26892 passed with stages
in 2 minutes and 51 seconds
......@@ -156,6 +156,8 @@ class CudaFullFieldPipelineLimitedMemory(CudaFullFieldPipeline):
assert self.chunk_size < self.delta_z, "This class should be used when delta_z > chunk_size"
# Internal limitation (make things easier)
assert (self.delta_z % self.chunk_size) == 0, "delta_z must be a multiple of chunk_size"
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