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

Move Copy out from memory.h into memcpy.h #3016

Merged
merged 3 commits into from
Jul 22, 2017

Conversation

wangkuiyi
Copy link
Collaborator

No description provided.

@wangkuiyi wangkuiyi requested a review from gangliao July 22, 2017 14:33
@@ -1,6 +1,7 @@
add_subdirectory(detail)

cc_library(memory SRCS memory.cc)
cc_library(memcpy SRCS memcpy.cc)
Copy link
Contributor

@gangliao gangliao Jul 22, 2017

Choose a reason for hiding this comment

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

That's great to separate memory and memcpy.

But, shall we put memcpy into paddle_memory? That's convenient to be used outside.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done!

Copy link
Contributor

@gangliao gangliao left a comment

Choose a reason for hiding this comment

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

Almost LGTM, can we add it into paddle_memory as one of the memory primitives

@wangkuiyi wangkuiyi merged commit a16cd51 into PaddlePaddle:develop Jul 22, 2017
@wangkuiyi wangkuiyi deleted the memcpy branch July 22, 2017 23:10
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

2 participants