Open chuckie82 opened 4 years ago
The 512 corresponds to some GPU parameters (number of streams and warps?), but the call should be working no matter what the actual pixel dimensions.
The pixel dimension is encoded in pixel_number
, which is a variable.
Do you have a case when it breaks?
@irischang020 https://github.com/chuckie82/pysingfel/blob/3a93a5c59e9c0f648c8863bb6b2d2639a1fa89f1/pysingfel/gpu/diffraction.py#L74