simplify MemoryManager.cuh

Reduce the number of template arguments of helper structs by moving them to the function inside them, and allowing the compiler to deduce them from the arguments. In addition, prefer fold expressions over recursive templates.

Edited by Gerhard Raven

Merge request reports

Loading