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 memory API #1978

Merged
merged 1 commit into from Dec 9, 2016
Merged

Fix memory API #1978

merged 1 commit into from Dec 9, 2016

Conversation

okuta
Copy link
Member

@okuta okuta commented Dec 8, 2016

This PR provides appropriate function name (free_all_blocks instead of free_all_free ).

PinnedMemoryPool already use that name.
https://github.com/pfnet/chainer/blob/8fb2902a852bfa2755da71fe6e394bbc0dbfd613/cupy/cuda/pinned_memory.pxd#L46

@okuta okuta added the cat:feature Implementation that introduces new interfaces. label Dec 8, 2016
@rezoo rezoo self-assigned this Dec 8, 2016
Copy link
Member

@rezoo rezoo left a comment

Choose a reason for hiding this comment

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

Please fix the following problem.

warnings.warn(
'free_all_free is deprecated. Use free_all_blocks instead.',
DeprecationWarning)
self.free_all_blocs()
Copy link
Member

Choose a reason for hiding this comment

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

s/self.free_all_blocs()/self.free_all_blocks()/

@okuta
Copy link
Member Author

okuta commented Dec 9, 2016

Thank you reviewing.
I fixed.

@rezoo
Copy link
Member

rezoo commented Dec 9, 2016

Good. Then I would like to merge.

@rezoo rezoo merged commit 21bbdb1 into master Dec 9, 2016
@rezoo rezoo deleted the fix-memory-api branch December 9, 2016 01:16
@bkvogel bkvogel added this to the v1.19.0 milestone Dec 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cat:feature Implementation that introduces new interfaces.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants