Skip to content

Commit 1f7c3de

Browse files
committed
[docs] add check mode hint to CPU-only mode error
1 parent 4cc8195 commit 1f7c3de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/caffe/util/device_alternate.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
// Stub out GPU calls as unavailable.
99

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

1212
#define STUB_GPU(classname) \
1313
template <typename Dtype> \

0 commit comments

Comments
 (0)