Skip to content

Fix memory access type flags in featurization #8693

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mohph197
Copy link

fixes #8692

The is_transpose flag should satisfy: single one per row AND single one per column.
And for is_broadcast it should be: single one per row AND (single one OR all zeros) per column.
@mcourteaux mcourteaux requested a review from abadams July 22, 2025 11:52
@abadams
Copy link
Member

abadams commented Jul 22, 2025

As I stated in the issue, this would invalidate the pretrained cost model. I think the simplest fix is to start from this PR and also swap the order of transpose_accesses and broadcast_accesses in struct PipelineFeatures in Featurization.h

That would be equivalent to just renaming some things.

@abadams
Copy link
Member

abadams commented Jul 22, 2025

Thanks for fixing this, by the way!

@mohph197
Copy link
Author

mohph197 commented Jul 22, 2025

Yes I agree.
This would be only useful if a retraining of the cost model is needed, otherwise it doesn't affect anything else.

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.

Computation error: memory access type in featurize function
2 participants