Open dkazanc opened 1 year ago
An alternative raw CUDA kernel to perform normalisation has been added: https://github.com/DiamondLightSource/httomolib/blob/9ca14934e338028fdd3a10e72a4d58ccefc68bd9/src/httomolib/prep/normalize.py#L128-L234
which appears to replicate the implementation in normalize_cupy()
; possibly could be useful for comparison purposes.
The list of the modules that require code optimisation and GPU acceleration. Please approach them in the following priority order.
scipy.ndimage.median_filter(np.float32(Input), size=3)
. Arranging in the similar fashion using templates would be great. Block and grid sizes to be checked if correct. The input to the median filter module is uint16 and float32 data type.To run full pipelines with the series of the modules above please see the following script