Closed eyalroz closed 4 years ago
on_device/printing.cuh currently uses macros, mostly in order to easily "plug" the format string into a longer string.
This can actually be achieved, using a little voodoo, without in a plain function, and without any heap allocation. Let's try and do that.
printing.cuh is now phased out.
printing.cuh
on_device/printing.cuh currently uses macros, mostly in order to easily "plug" the format string into a longer string.
This can actually be achieved, using a little voodoo, without in a plain function, and without any heap allocation. Let's try and do that.