We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Needed for catching corner cases regarding pathological values.
Repro specification:
float acc = 0.0f; for (int i = 0; i < 4; i++) { acc += a_in[i] * a_in[i]; } for (int i = 0; i < 4; i++) { if (acc == 0.0f) { b_out[i] = 0.0f; } else { b_out[i] = a_in[i] / acc; } } }``` Compilation aborts with:
Writing intermediate files to: compile-out ==: this match expander must be used inside match in: (== acc 0.0) context...: do-raise-syntax-error apply-transformer-in-context apply-transformer52 dispatch-transformer41 for-loop [repeats 1 more time] finish-bodys for-loop finish-bodys for-loop [repeats 1 more time] finish-bodys for-loop [repeats 1 more time] finish-bodys for-loop ... Error: Compilation aborted. cdios return error code 1.
The text was updated successfully, but these errors were encountered:
The example kernel here is data-dependent, so support will probably involve modifying the rewrite engine and backend in addition to the c frontend.
Sorry, something went wrong.
No branches or pull requests
Needed for catching corner cases regarding pathological values.
Repro specification:
Writing intermediate files to: compile-out
==: this match expander must be used inside match
in: (== acc 0.0)
context...:
do-raise-syntax-error
apply-transformer-in-context
apply-transformer52
dispatch-transformer41
for-loop
[repeats 1 more time]
finish-bodys
for-loop
finish-bodys
for-loop
[repeats 1 more time]
finish-bodys
for-loop
[repeats 1 more time]
finish-bodys
for-loop
...
Error: Compilation aborted. cdios return error code 1.
The text was updated successfully, but these errors were encountered: