Skip to content

Always insert set_host_dirty(), even if there is no GPU target. #8711

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

mcourteaux
Copy link
Contributor

@mcourteaux mcourteaux commented Aug 7, 2025

Always insert set_host_dirty(), even if there is no GPU target. This allows mixing CPU-only and GPU-compatible pipelines.

This is done by simply calling the inject buffer copies lowering pass, which normally does this in the case of GPU targets. The nice thing here is that it doesn't do anything besides adding those calls to set_host_dirty().

cc @abadams

…allows mixing CPU-only and GPU-compatible pipelines.
@mcourteaux mcourteaux added the enhancement New user-visible features or improvements to existing features. label Aug 7, 2025
@mcourteaux mcourteaux changed the title Always insert set_host_dirty(), even is there is no GPU target. Always insert set_host_dirty(), even if there is no GPU target. Aug 7, 2025
@mcourteaux mcourteaux added the dev_meeting Topic to be discussed at the next dev meeting label Aug 7, 2025
@mcourteaux mcourteaux requested a review from vksnk August 7, 2025 17:45
@mcourteaux
Copy link
Contributor Author

These simd_op_checks failing without error output is an annoying mystery...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev_meeting Topic to be discussed at the next dev meeting enhancement New user-visible features or improvements to existing features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant