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

[Ascend] fuj/acl-index #1332

Merged
merged 4 commits into from
Aug 9, 2024
Merged

Conversation

jingguo-st
Copy link
Contributor

@jingguo-st jingguo-st commented Aug 4, 2024

Motivation and Context

impl index with aclnn for ascend

Description

Use cases (Optional)

BC-breaking (Optional)

Checklist

Before PR:

  • I have read and followed the workflow indicated in the Contributors.md to create this PR.
  • Pre-commit or linting tools indicated in Contributors.md are used to fix the potential lint issues.
  • Bug fixes are covered by unit tests, the case that causes the bug should be added in the unit tests.
  • New functionalities are covered by complete unit tests. If not, please add more unit test to ensure the correctness.
  • The documentation has been modified accordingly, including docstring or example tutorials.

After PR:

  • CLA has been signed and all committers have signed the CLA in this PR.

result.push_back(t);
} else {
if (t.dtype() == diopi_dtype_uint8 || t.dtype() == diopi_dtype_bool) {
ASCEND_CHECK(t.dtype() == diopi_dtype_uint8,
Copy link
Collaborator

Choose a reason for hiding this comment

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

这个assert的条件错了,应该是断言ASCEND_CHECK(t.dtype() != diopi_dtype_uint8,

@yangbofun yangbofun merged commit e13aea4 into DeepLink-org:main Aug 9, 2024
17 checks passed
@yangbofun yangbofun deleted the fuj/acl-index branch August 9, 2024 09:01
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