ITK icon indicating copy to clipboard operation
ITK copied to clipboard

Limited use of multithreading in BSplineSyN registration in ANTs

Open chrisadamsonmcri opened this issue 1 year ago • 0 comments

Apologies for cross-posting but activity on this thread in the ants github has stalled. https://github.com/ANTsX/ANTs/issues/1017

When using bsplinesyn registration in ANTs, which uses bspline code in ITK, multithreading is very limited with CPU utilisation being around 100% regardless of number of threads used. The utilisation gets worse as the number of control points in the bspline transformation increases, so as downsampling of the image decreases.

My suspicion is that something compute-intense in the bspline code somewhere is running with only one thread. Any thoughts on how to deal with this? Thanks in advance.

chrisadamsonmcri avatar Sep 30 '22 01:09 chrisadamsonmcri