consolidate gpu and device_id args in caffe tool