Cleanup hostdevice_vector
and add more APIs
#15252
Merged
hostdevice_vector
and add more APIs
#15252