We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65df8d3 commit 29c7379Copy full SHA for 29c7379
1 file changed
dpctl/_diagnostics.pyx
@@ -61,6 +61,10 @@ def _shutdown_logger():
61
def syclinterface_diagnostics(verbosity="warning", log_dir=None):
62
"""Context manager that activate verbosity of DPCTLSyclInterface
63
function calls.
64
+
65
+ .. warning::
66
+ This context manager modifies the ``DPCTL_VERBOSITY`` environment
67
+ variable and should only be used from a single thread.
68
"""
69
_allowed_verbosity = ["warning", "error"]
70
if verbosity not in _allowed_verbosity:
0 commit comments