VTKm: Reduced Memory usage overhead during compilation for VTKm accelerators adapters
closes: #18037 (closed)
It splits the
vtkmClip implementation into three cxx files:
vtkmClip.cxxwhere all the methods are defined
For the purpose I abstracted some of the member variables of
vtkmClip and moved their concrete impls to an internal class.
Getters/Setters remains in
With those changes I noticed a reduction of memory usage from 5GiB to 4GiB when compiling these units using GCC-8.
EDIT Nov 23rd
With the latest change we are down to 3GiB, from the originally 5GiB
|Version||Size sum of object files||Minimum memory to compile|