You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to have a small overview of pros and cons of using double or float for the end of first book section 3.1. The difference became relevant as I was implementing the second book in cuda.
double: more numerical precision
double: twice the memory use compared to float
float: less numerical precision.
float: cuts down the memory use by half compared to double
When I tested the final scene of the second book, I got out of ressources error from cuda, but everything worked fine with float.
Though obvious it is, it might be important to mention that.
The text was updated successfully, but these errors were encountered:
It would be nice to have a small overview of pros and cons of using
double
orfloat
for the end of first book section 3.1. The difference became relevant as I was implementing the second book in cuda.double
: more numerical precisiondouble
: twice the memory use compared tofloat
float
: less numerical precision.float
: cuts down the memory use by half compared todouble
When I tested the final scene of the second book, I got out of ressources error from cuda, but everything worked fine with float.
Though obvious it is, it might be important to mention that.
The text was updated successfully, but these errors were encountered: