Merge pull request #2214 from hedaoyuan/add_error_message

Add a error message.
refactor_docs
emailweixu 8 years ago committed by GitHub
commit 1f2b394823

@ -103,7 +103,10 @@ inline void TensorGpuApply(LeftType& lhs, const RightType& rhs) {
}
#else
template <class T, typename LeftType, typename RightType>
inline void TensorGpuApply(LeftType& lhs, RightType& rhs) {}
inline void TensorGpuApply(LeftType& lhs, RightType& rhs) {
LOG(FATAL) << "Since it is gcc compiled, "
"this calculation does not support GPU implementation.";
}
#endif
} // namespace paddle

Loading…
Cancel
Save