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

Internal compiler error (unhandled IO exception). #2056

Closed
kovach opened this issue Dec 3, 2023 · 1 comment
Closed

Internal compiler error (unhandled IO exception). #2056

kovach opened this issue Dec 3, 2023 · 1 comment

Comments

@kovach
Copy link

kovach commented Dec 3, 2023

minimized example compiled with futhark opencl:

def merge [m] x y = (0, replicate m 0)

entry test_hist n = hist merge (0, [0]) n [] []
Internal compiler error (unhandled IO exception).
Please report this at https://github.com/diku-dk/futhark/issues
Scope.lookupInfo: Name phys_tid_5623 not found in type environment.
CallStack (from HasCallStack):
  error, called at src/Futhark/IR/Prop/Scope.hs:84:9 in futhark-0.25.2-9TQRsBBUOgmC2aFEzbYPIr:Futhark.IR.Prop.Scope

error goes away if entry replaced by def or C backend is used

@athas
Copy link
Member

athas commented Dec 3, 2023

That is quite an exotic histogram operator, although I'm surprised we've (apparently) never hit it in our tests before.

@athas athas closed this as completed in 6bf0e8a Dec 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants