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

[Adreno] Optimize reduction schedule #13781

Merged
merged 2 commits into from
Jan 25, 2023

Conversation

elvin-n
Copy link
Contributor

@elvin-n elvin-n commented Jan 13, 2023

  1. Extend reduction through rfactor for reduction of big numbers of elements. In other case use previous straightforward approach.
  2. Inject reduction postops into main reduction kernel

@tvm-bot
Copy link
Collaborator

tvm-bot commented Jan 13, 2023

Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.

Generated by tvm-bot

python/tvm/topi/adreno/reduction.py Outdated Show resolved Hide resolved
python/tvm/topi/adreno/reduction.py Show resolved Hide resolved
python/tvm/topi/adreno/reduction.py Show resolved Hide resolved
1. Extend reduction through rfactor for reduction of big numbers of
elements. In other case use previous strightforward approach.
2. Inject reduction postops into main reduction kernel
@elvin-n elvin-n force-pushed the amalyshe/adreno_mean_optimization branch from 29b9fce to 1994573 Compare January 24, 2023 12:26
@TejashShah
Copy link

cc @masahi

@masahi masahi merged commit cbdadb9 into apache:main Jan 25, 2023
fzi-peccia pushed a commit to fzi-peccia/tvm that referenced this pull request Mar 27, 2023
* [Adreno] Optimize reduction schedule

1. Extend reduction through rfactor for reduction of big numbers of
elements. In other case use previous strightforward approach.
2. Inject reduction postops into main reduction kernel

* Address PR comment
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.

5 participants