Use std::vector for host-side storage - GPU Programming | Zoonk
Use std::vector for host-side storage
Use `std::vector` for host-side arrays that know their own size and can grow. Practice `size()`, indexing, and `data()` so vector storage can still work with pointer-based APIs later.