do GPU device memory accounting with doubles
using (signed) int will overflow at 2GB,
switching to unsigned has risk of hiding
overflows and using long long is not as
portable as double precisiong floating point.
Axel Kohlmeyer <akohlmey@gmail.com> | Nov 11 2010, 18:31 |
junge | Oct 6 2016, 16:49 |