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 #else
template <class T, typename LeftType, typename RightType> 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 #endif
} // namespace paddle } // namespace paddle

Loading…
Cancel
Save