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

Make broadcast constraints variadic #972

Open
manopapad opened this issue Feb 27, 2025 · 3 comments
Open

Make broadcast constraints variadic #972

manopapad opened this issue Feb 27, 2025 · 3 comments
Assignees

Comments

@manopapad
Copy link
Contributor

manopapad commented Feb 27, 2025

E.g., it would be nicer to write:

broadcast("x", "y", "z", ("w", 0), ("u", 1, 2))

Instead of:

broadcast("x"), broadcast("y"), broadcast("z"), broadcast("w", (0,)), broadcast("u", (1, 2))

It's just ugly and makes it harder to read, especially when you have to constrain a bunch of parameters at once.

@elliottslaughter
Copy link

This would be useful for the SLAC/LANL project.

@Jacobfaib
Copy link
Contributor

Same with align() too I guess? Any others?

@elliottslaughter
Copy link

Yes, please do align as well.

I looked at the others a while back, and I didn't see any others where it would obviously make sense to do this, and for my personal use case I don't need them. But maybe someone else has a different opinion.

manopapad pushed a commit that referenced this issue Mar 5, 2025
* Uninstall legate.core package on configure --with-clean
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

No branches or pull requests

3 participants