Closed marty1885 closed 4 years ago
One glaring issue with toHost is that it doesn't work! std::vector is compressed and thus memcpy doesn't work.
But using uint8_t everywhere when we need to is kinda annoying too. It is not type safe (it will trigger type sanitizer) and confusing at best.
Fixed in #132
One glaring issue with toHost is that it doesn't work! std::vector is compressed and thus memcpy doesn't work.
But using uint8_t everywhere when we need to is kinda annoying too. It is not type safe (it will trigger type sanitizer) and confusing at best.