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

[SPARSE] Update sparse_blas calls to function_tables operator[] #585

Merged
merged 1 commit into from
Oct 8, 2024

Conversation

s-Nick
Copy link
Contributor

@s-Nick s-Nick commented Oct 8, 2024

Description

Current develop branch fails to compile for MKLGPU and MKLCPU backend due to a missing update in function_table calls to operator[]. It now requires a tuple and not a single value as it was before. This patch updates it.

To reproduce the issue, compile even only one of the two backend from scratch enabling all domains.

Checklist

All Submissions

Bug fixes

  • Have you included information on how to reproduce the issue (either in a
    GitHub issue or in this PR)?

Now function_tables operator[] requires a tuple, not a single value.
Update call in sparse blas
@s-Nick s-Nick requested a review from Rbiessy October 8, 2024 13:11
@s-Nick s-Nick changed the title Update sparse_blas function_tables operator[] calls [SPARSE] Update sparse_blas calls to function_tables operator[] Oct 8, 2024
Copy link
Contributor

@Rbiessy Rbiessy left a comment

Choose a reason for hiding this comment

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

Thank you for this fix!
For context this issue was missed as the PR that introduced the changes to the function_tables did not conflict with the sparse PR and the GitHub workflow does not test the sparse domain. @rscohn2 do you know if there is any plan to add the sparse domain to the GitHub workflow? It's not clear to me who is responsible for this.

@Rbiessy Rbiessy requested a review from a team October 8, 2024 13:24
Copy link
Contributor

@gajanan-choudhary gajanan-choudhary left a comment

Choose a reason for hiding this comment

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

LGTM!

@Rbiessy Rbiessy merged commit a429289 into uxlfoundation:develop Oct 8, 2024
6 checks passed
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