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
See affected test in #5029.
Reproducer:
from numba import jit import logging logging.basicConfig(level=logging.DEBUG) def bar(x): return x @jit def foo(x): h = 0. for k in range(x): h = h + k bar(x) if x: h = h - bar(x) return h foo(1) foo.inspect_types()
The log will show:
INFO:numba.transforms:finding looplift candidates DEBUG:numba.transforms:top-level loop: Loop(entries={14}, exits={40}, header=16, body={16, 28}) DEBUG:numba.transforms:same_exit_point=False ({52, 53})
Loop lifting fails on the same_exit_point requirement.
same_exit_point
The text was updated successfully, but these errors were encountered:
There's no plan to fix it (hence the lowprority). Users are advised to switch to @njit and refactor the performance-critical loop out.
@njit
Sorry, something went wrong.
No branches or pull requests
Reporting a bug
the change log (https://github.com/numba/numba/blob/master/CHANGE_LOG).
to write one see http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports).
See affected test in #5029.
Reproducer:
The log will show:
Loop lifting fails on the
same_exit_point
requirement.The text was updated successfully, but these errors were encountered: