We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f264ec9 commit 72de8c2Copy full SHA for 72de8c2
numba_cuda/numba/cuda/core/untyped_passes.py
@@ -65,12 +65,9 @@ def fallback_context(state, msg):
65
# this emits a warning containing the error message body in the
66
# case of fallback from npm to objmode
67
loop_lift = "" if state.flags.enable_looplift else "OUT"
68
- msg_rewrite = (
69
- "\nCompilation is falling back to object mode "
70
- "WITH%s looplifting enabled because %s" % (loop_lift, msg)
71
- )
72
warnings.warn_explicit(
73
- "%s due to: %s" % (msg_rewrite, e),
+ "Compilation is falling back to object mode "
+ f"WITH{loop_lift} looplifting enabled because {msg} due to: {e}",
74
errors.NumbaWarning,
75
state.func_id.filename,
76
state.func_id.firstlineno,
0 commit comments