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

Improve reduction core #2697

Merged
merged 5 commits into from
Dec 3, 2019
Merged

Improve reduction core #2697

merged 5 commits into from
Dec 3, 2019

Conversation

okuta
Copy link
Member

@okuta okuta commented Nov 24, 2019

This PR adds _get_reduction_args to remove duplicated code.
Please merge #2689 before this PR.

@asi1024
Copy link
Member

asi1024 commented Dec 2, 2019

Sorry for my late review. Could you resolve conflicts?

@asi1024 asi1024 added the cat:performance Performance in terms of speed or memory consumption label Dec 2, 2019
@okuta
Copy link
Member Author

okuta commented Dec 2, 2019

I rebased.

@okuta
Copy link
Member Author

okuta commented Dec 2, 2019

jenkins, test this please.

@pfn-ci-bot
Copy link
Collaborator

Successfully created a job for commit 86c0564:

@chainer-ci
Copy link
Member

Jenkins CI test (for commit 86c0564, target branch master) succeeded!

@asi1024
Copy link
Member

asi1024 commented Dec 2, 2019

This PR is just for code simplification? I compared the performance between this branch and by using cupy-perf, but I saw no performance improvement.

@okuta
Copy link
Member Author

okuta commented Dec 2, 2019

This PR focuses simplify.
I want to send performance improvement PR after this PR.

@asi1024 asi1024 added cat:code-fix Code refactoring that do not change behavior and removed cat:performance Performance in terms of speed or memory consumption labels Dec 2, 2019
cupy/core/reduction.pxi Outdated Show resolved Hide resolved
cupy/core/reduction.pxi Show resolved Hide resolved
@okuta
Copy link
Member Author

okuta commented Dec 3, 2019

jenkins, test this please.

@pfn-ci-bot
Copy link
Collaborator

Successfully created a job for commit a339f3a:

@chainer-ci
Copy link
Member

Jenkins CI test (for commit a339f3a, target branch master) succeeded!

@asi1024 asi1024 added this to the v7.0.0 milestone Dec 3, 2019
@asi1024
Copy link
Member

asi1024 commented Dec 3, 2019

LGTM.

@asi1024 asi1024 merged commit 2410e6e into cupy:master Dec 3, 2019
@okuta okuta deleted the improve-reduction-core branch July 9, 2020 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cat:code-fix Code refactoring that do not change behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants