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

slang-test/WGPU: IR opcode during code emit #5263

Open
aleino-nv opened this issue Oct 11, 2024 · 2 comments · May be fixed by #5663
Open

slang-test/WGPU: IR opcode during code emit #5263

aleino-nv opened this issue Oct 11, 2024 · 2 comments · May be fixed by #5663
Assignees
Labels
goal:forward looking Feature needed at a later date, not connected to a specific use case. siggraphasia-2024

Comments

@aleino-nv
Copy link
Collaborator

This output is generated by
slang-test -bindir %BINDIR% -category full -api wgpu tests/autodiff/custom-intrinsic.slang

...
error: ERROR:
EXPECTED{{{
result code = 0
standard error = {
}
standard output = {
}
}}}
ACTUAL{{{
result code = 1
standard error = {
}
standard output = {
abort compilation: tests/autodiff/custom-intrinsic.slang(21): internal error 99999: unimplemented feature in Slang compiler: unexpected IR opcode during code emit
    T myexp(T x);
      ^~~~~
}
}}}

error: ERROR:
EXPECTED{{{
type: float
7.389056
7.389056
0.0
0.0
0.0}}}
ACTUAL{{{
}}}

...

Tests:

  • tests/autodiff/custom-intrinsic.slang
@aleino-nv aleino-nv self-assigned this Oct 11, 2024
@bmillsNV bmillsNV added goal:forward looking Feature needed at a later date, not connected to a specific use case. siggraphasia-2024 labels Oct 17, 2024
@bmillsNV bmillsNV added this to the Q4 2024 (Fall) milestone Oct 17, 2024
@bmillsNV bmillsNV assigned expipiplus1 and unassigned aleino-nv Nov 13, 2024
@bmillsNV
Copy link
Collaborator

Test needs to be disabled.

@aleino-nv
Copy link
Collaborator Author

Fixing might be easy.

expipiplus1 added a commit to expipiplus1/slang that referenced this issue Nov 25, 2024
@expipiplus1 expipiplus1 linked a pull request Nov 25, 2024 that will close this issue
expipiplus1 added a commit to expipiplus1/slang that referenced this issue Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
goal:forward looking Feature needed at a later date, not connected to a specific use case. siggraphasia-2024
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants