Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix nccl compiler error #5036

Merged
merged 2 commits into from
Oct 24, 2017
Merged

fix nccl compiler error #5036

merged 2 commits into from
Oct 24, 2017

Conversation

luotao1
Copy link
Contributor

@luotao1 luotao1 commented Oct 24, 2017

fix #5035

@luotao1
Copy link
Contributor Author

luotao1 commented Oct 24, 2017

The current compiler error in teamcity is :

[12:13:44]	In file included from /paddle/paddle/operators/conv2dtranspose_op.cc:15:0:
[12:13:44]	/paddle/paddle/operators/conv2dtranspose_op.h: In instantiation of 'void paddle::operators::GemmConv2DTransposeGradKernel<Place, T>::Compute(const paddle::framework::ExecutionContext&) const [with Place = paddle::platform::CPUPlace; T = float]':
[12:13:44]	/paddle/paddle/operators/conv2dtranspose_op.cc:107:75: required from here
[12:13:44]	/paddle/paddle/operators/conv2dtranspose_op.h:208:15: error: no match for call to '(paddle::operators::math::Im2ColFunctor<(paddle::operators::math::ColFormat)0, paddle::platform::CPUPlace, float>) (const paddle::platform::DeviceContext&, paddle::operators::Tensor&, paddle::operators::Tensor&, __gnu_cxx::__alloc_traits<std::allocator<int> >::value_type&, __gnu_cxx::__alloc_traits<std::allocator<int> >::value_type&, __gnu_cxx::__alloc_traits<std::allocator<int> >::value_type&, __gnu_cxx::__alloc_traits<std::allocator<int> >::value_type&)'
[12:13:44]	im2col(context.device_context(), output_grad_batch, col, strides[0],
[12:13:44]

Copy link
Contributor

@chengduoZH chengduoZH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM+

@chengduoZH chengduoZH merged commit 630644e into PaddlePaddle:develop Oct 24, 2017
@luotao1 luotao1 deleted the nccl branch October 24, 2017 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compile error: fatal error: nccl.h: No such file or directory
2 participants