etaler / Etaler

A flexable HTM (Hierarchical Temporal Memory) framework with full GPU support.
BSD 3-Clause "New" or "Revised" License
89 stars 14 forks source link

Fix toHost<bool>() #130

Closed marty1885 closed 4 years ago

marty1885 commented 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.

marty1885 commented 4 years ago

Fixed in #132