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 cc4682a commit 19cc76bCopy full SHA for 19cc76b
numba_cuda/numba/cuda/misc/coverage_support.py
@@ -21,7 +21,7 @@ def get_registered_loc_notify() -> Sequence["NotifyLocBase"]:
21
"""
22
Returns a list of the registered NotifyLocBase instances.
23
24
- if not config.JIT_COVERAGE:
+ if hasattr(config, "JIT_COVERAGE") and not config.JIT_COVERAGE:
25
# Coverage disabled.
26
return []
27
return list(
0 commit comments