Improve threading in _set_interpolated_values_device
#2159
Merged
_set_interpolated_values_device
#2159