Implemented a class for GPU vectors