The the loop in the general gm-process introduced in this commit leads to significant performance degradation of the correlated field on the GPU. This seems to be caused by this loop. A potential fix could be to implement a specialized function where it is changed to a cumsum and use that function in the correlated field.
The the loop in the general gm-process introduced in this commit leads to significant performance degradation of the correlated field on the GPU. This seems to be caused by this loop. A potential fix could be to implement a specialized function where it is changed to a
cumsum
and use that function in the correlated field.