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
Revert PR #6870 numba.core.retarget
#9539
Conversation
As noted in numba#7156, it is not easy to find a testcase that does not use retarget to replicate the bug in numba#7155. Since it is an internal bug that is fixed, I believe it is okay to remove this test without an replacement.
numba.core.retarget
dc6b3bc
to
611d8cd
Compare
611d8cd
to
ec9808a
Compare
gpuci run tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a test, numba.tests.test_compiler_flags.TestFlagMangling.test_demangling_from_mangled_symbols
that is still setting the target_backend
flag:
def test_demangling_from_mangled_symbols(self):
"""Test demangling of flags from mangled symbol"""
# Use default mangler to mangle the string
fname = 'foo'
argtypes = types.int32,
flags = Flags()
flags.nrt = True
flags.target_backend = "myhardware"
...
(this was added after #6870 was merged)
RE: #9539 (review) good catch. It's fixed in f74526d |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. I won't run gpuci again as it seems irrelevant for the change added since it last ran.
This option is going to be removed by numba#9539 when it is merged.
Closes #9538
This reverts commit 0ccda58, reversing changes made to 71ea2b1.