diff options
author | Yangqing Jia <jiayq@google.com> | 2014-07-25 09:02:37 -0700 |
---|---|---|
committer | Yangqing Jia <jiayq@google.com> | 2014-07-25 09:08:12 -0700 |
commit | a916ef49fad7b7a3c5faee7df46af3d327aecee9 (patch) | |
tree | 8e00605926dbaf805b8a6e98bc95cf925702e24b /tools/device_query.cpp | |
parent | 6f46bb90294c9f5f544da76594d49c111788612c (diff) | |
download | caffeonacl-a916ef49fad7b7a3c5faee7df46af3d327aecee9.tar.gz caffeonacl-a916ef49fad7b7a3c5faee7df46af3d327aecee9.tar.bz2 caffeonacl-a916ef49fad7b7a3c5faee7df46af3d327aecee9.zip |
Adding new caffe binary that does everything in one binary; deprecating device_query, finetune_net, net_speed_benchmark, train_net
Diffstat (limited to 'tools/device_query.cpp')
-rw-r--r-- | tools/device_query.cpp | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/tools/device_query.cpp b/tools/device_query.cpp index 5040b8ee..224a3145 100644 --- a/tools/device_query.cpp +++ b/tools/device_query.cpp @@ -1,23 +1,8 @@ // Copyright 2014 BVLC and contributors. - #include "caffe/common.hpp" -#include "caffe/net.hpp" - - -using namespace caffe; // NOLINT(build/namespaces) int main(int argc, char** argv) { - if (argc > 2) { - LOG(ERROR) << "device_query [device_id=0]"; - return 1; - } - if (argc == 2) { - LOG(INFO) << "Querying device_id=" << argv[1]; - Caffe::SetDevice(atoi(argv[1])); - Caffe::DeviceQuery(); - } else { - Caffe::DeviceQuery(); - } + LOG(ERROR) << "Deprecated. Use caffe.bin devicequery [--device_id=0] instead."; return 0; } |