You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From PR #57:
Seems like it should not be too difficult to fix, a quick guess would be something like this:
do i =1, nregions
if (f_regions(i)%ngpu .gt.0) thencall c_f_pointer(f_regions(i)%gpus, gpus, [f_regions(i)%ngpu])
deallocate(gpus)
end ifend do
deallocate(f_regions)
But I was a little irritated that it was left as a "TODO", maybe I am missing something. And I'm not sure if I could test it properly, haven't used the solver with any GPU yet, let alone multiple.
As pointed out by @mjacobse in #57, there is a memory leak in the Fortran wrapper for the profile function calls:
spral/src/ssids/profile_iface.f90
Lines 82 to 102 in c8c3fcd
From PR #57:
Seems like it should not be too difficult to fix, a quick guess would be something like this:
But I was a little irritated that it was left as a "TODO", maybe I am missing something. And I'm not sure if I could test it properly, haven't used the solver with any GPU yet, let alone multiple.
Originally posted by @mjacobse in #57 (comment)
The text was updated successfully, but these errors were encountered: