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

Add -D PADDLE_WITH_CUDA in cmake/configure.cmake #4590

Merged
merged 5 commits into from
Oct 5, 2017

Conversation

wangkuiyi
Copy link
Collaborator

Fixes #4589

@wangkuiyi
Copy link
Collaborator Author

wangkuiyi commented Oct 4, 2017

for i in `find ./paddle/ -name '*.h' -o -name '*.cc' -o -name '*.cpp' -o -name '*.c' -name '*.cu'`; do
  sed -i '' 's#PADDLE_WITH_GPU#PADDLE_WITH_CUDA#g'  $i;
done

Copy link
Member

@QiJune QiJune left a comment

Choose a reason for hiding this comment

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

LGTM

@wangkuiyi wangkuiyi merged commit 1172f24 into PaddlePaddle:develop Oct 5, 2017
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.

None yet

3 participants