提交 24acf8d5 编写于 作者: H hedaoyuan

fix cuda-8.0 compile

ISSUE=4613907

git-svn-id: https://svn.baidu.com/idl/trunk/paddle@1497 1ad973e4-5ce8-4261-8a94-b56d1f490c56
上级 0f7e9373
......@@ -36,6 +36,8 @@ static __inline__ __device__ double atomicAdd(double* address, double val) {
} // namespace hppl
#if defined(__CUDA_ARCH__) && __CUDA_ARCH__ < 600
using hppl::atomicAdd;
#endif
#endif /* HL_DEVICE_FUNCTIONS_CUH_ */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册