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
Statement:
Since latest version runs the dot kernel for all backends, for single threaded backends reduce operations adds elements of long arrays. Therefore floating point errors accumulate. To prevent this, double initial value (ie 0.0) is used instead of zero of data type DataType{0.0}:
Statement:
Since latest version runs the dot kernel for all backends, for single threaded backends reduce operations adds elements of long arrays. Therefore floating point errors accumulate. To prevent this, double initial value (ie 0.0) is used instead of zero of data type
DataType{0.0}
:resultDot = static_cast(std::reduce(sumPtr, sumPtr + workDivDot.m_gridBlockExtent[0], 0.0));
For different backends a different verification using DataType can be used. Notice that it is run on host, independent of backend.
The text was updated successfully, but these errors were encountered: