Added some fixes in AMP device_vector + changed size_t with unsigned int in all AMp functions