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

Don't check tensor when comparing IndexSets #486

Merged
merged 1 commit into from
Aug 5, 2021

Conversation

stkaplan
Copy link
Contributor

@stkaplan stkaplan commented Aug 5, 2021

This fixes my use case, at least. I'm not sure where else this comparison is used. The tensor member gets read and written in a bunch of places, so I assume it's still needed.

This fixes a bug where kernels would never get cached when using index
sets, since the indexSetModes of the assignment would never compare as
equal.
@rohany rohany merged commit 0ede002 into tensor-compiler:master Aug 5, 2021
@stkaplan stkaplan deleted the index-compare branch August 6, 2021 16:34
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.

2 participants