Skip to content

Commit a59c6c1

Browse files
committed
WIP
1 parent 159af7d commit a59c6c1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

httomolibgpu/recon/rotation.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,8 @@ def _calculate_chunks(
344344

345345
available_memory -= shift_size
346346
freq_domain_size = (
347-
shift_size # it needs only half (RFFT), but complex64, so it's the same
347+
# shift_size # it needs only half (RFFT), but complex64, so it's the same
348+
shift_size * 2 # it needs full (FFT), with complex64, so it's double
348349
)
349350
fft_plan_size = freq_domain_size
350351
size_per_shift = 2 * (fft_plan_size + freq_domain_size + shift_size)

0 commit comments

Comments
 (0)