Skip to content

device_query: Interrogate all GPUs when "-gpu" is not passed.#3059

Open
darrengarvey wants to merge 1 commit intoBVLC:masterfrom
darrengarvey:improve-device_query-usability
Open

device_query: Interrogate all GPUs when "-gpu" is not passed.#3059
darrengarvey wants to merge 1 commit intoBVLC:masterfrom
darrengarvey:improve-device_query-usability

Conversation

@darrengarvey
Copy link
Contributor

This makes the following two commands equivalent:

caffe device_query
caffe device_query -gpu all

The former is what a new user is likely to use and it would be helpful if
it showed all of the GPUs available on the device.

@seanbell
Copy link

Won't this have the effect of using all GPUs for training as well? (https://github.com/darrengarvey/caffe/blob/improve-device_query-usability/tools/caffe.cpp#L175)

This makes the following two commands equivalent:

    caffe device_query
    caffe device_query -gpu all

The former is what a new user is likely to use and it would be helpful if
it showed all of the GPUs available on the device.
@darrengarvey darrengarvey force-pushed the improve-device_query-usability branch from 32be01f to ef3de47 Compare September 11, 2015 23:46
@darrengarvey
Copy link
Contributor Author

Good point @seanbell, that wasn't the intention. I've update the PR to fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants