In the file SDKCommon.cpp
T SDKCommon::roundToPowerOf2(T val)
int bytes = sizeof(T);
for(int i = 0; i < bytes; i++)
val |= val >> (1<<i);
This is wrong. The times of loop should be 3 for 8 bit number, 4 for 16 bit number, 5 for 32 bit number, ...
Thanks for reporting this, I've let the appropriate people to get it fixed know about it.
Thanks for sharing