Yuan,
AFAICS things are all working as designed. If everything gets collected
properly after a gc() then your finalizers are correct. You have to remember
that R relies on garbage collection the release memory so only when R requires
more memory it will run a garbage collection. The problem wit
Hi Yuan,
I think this is likely more appropriate for the r-sig-hpc mailing list.
However, regarding you design and comment about R's 'current' GPU package
(I don't what you consider this, gputools?) I think you should look at two
other packages. I believe the gmatrix (
https://cran.r-project.org/