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,TOPI] Consolidate generic and x86 scatter nd #13755

Merged
merged 2 commits into from
Jan 11, 2023

Conversation

tkonolige
Copy link
Contributor

The generic scatter nd was almost identical to the x86 one and was not tested. They now are one and the same.

@AndrewZhaoLuo

@tvm-bot
Copy link
Collaborator

tvm-bot commented Jan 11, 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.

  • No users to tag found in teams: fix, topi See #10317 for details

Generated by tvm-bot

The generic scatter nd was almost identical to the x86 one and was not
tested. They now are one and the same.
@@ -268,63 +268,58 @@ def scatter_nd(data, indices, updates, mode):
_verify_scatter_nd_inputs(data, indices, updates)

def gen_ir(data_ptr, indices_ptr, updates_ptr, out_ptr):
# pylint: disable=invalid-name
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: just give it a good name

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is from the old code.

Copy link
Contributor

Choose a reason for hiding this comment

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

can you fix it while you are here, small change

@tkonolige tkonolige merged commit 48842d7 into apache:main Jan 11, 2023
fzi-peccia pushed a commit to fzi-peccia/tvm that referenced this pull request Mar 27, 2023
The generic scatter nd was almost identical to the x86 one and was not tested. They now are one and the same.
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.

3 participants