Skip to content

Commit

Permalink
[docs] add check mode hint to CPU-only mode error
Browse files Browse the repository at this point in the history
  • Loading branch information
shelhamer committed Jan 29, 2015
1 parent 4cc8195 commit 1f7c3de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/caffe/util/device_alternate.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

// Stub out GPU calls as unavailable.

#define NO_GPU LOG(FATAL) << "CPU-only Mode: cannot make GPU call."
#define NO_GPU LOG(FATAL) << "Cannot make GPU call in CPU-only mode: check mode setting."

#define STUB_GPU(classname) \
template <typename Dtype> \
Expand Down

0 comments on commit 1f7c3de

Please sign in to comment.