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

Strange "Irregular nested operations" error with #[sequential inner] attribute #1579

Closed
mortvest opened this issue Feb 2, 2022 · 2 comments

Comments

@mortvest
Copy link
Collaborator

mortvest commented Feb 2, 2022

This code produces a following error for all gpu backends:

Known compiler limitation encountered.  Sorry.
Revise your program or try a different Futhark compiler.
Cannot handle un-sliceable allocation size: (((thread; #groups=num_groups_top_18368; groupsize=group_size_18365; full []),
  [gid_flat_18369, ltid_flat_19157]), bytes_19483,)
Likely cause: irregular nested operations inside parallel constructs.
@athas
Copy link
Member

athas commented Feb 2, 2022

It's a known limitation, not a bug. Do you think it's wrong about it?

@mortvest
Copy link
Collaborator Author

mortvest commented Feb 2, 2022

Why is it produced? There is no irregular nested parallelism. The same library compiles fine as a part of a bigger program, or if I remove the #[sequential_inner] attribute.

@athas athas closed this as completed in 3c0a34d Feb 3, 2022
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

2 participants