GPUOpen-LibrariesAndSDKs/Cauldron

DivideRoundingUp compile error

kittikun opened this issue · 1 comments

template<typename T> inline T DivideRoundingUp(T a, T b)
{
    return (x + y - (T)1) / y;
}

You probably wanted to use x and y so the definition should be
template<typename T> inline T DivideRoundingUp(T x, T y)

rys commented

Fixed in Cauldron v1.4, sorry it took so long to get round to clarifying that.