Add a warpper on gpu buffers sure a vector is uploaded only once.