We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b162f64 commit 48dbd4fCopy full SHA for 48dbd4f
1 file changed
cuda_bindings/cuda/bindings/nvml.pyx
@@ -21516,6 +21516,10 @@ cpdef init_v2():
21516
21517
.. seealso:: `nvmlInit_v2`
21518
"""
21519
+ import sys
21520
+ if "cuda.core" in sys.modules:
21521
+ raise RuntimeError("Not for you, cuda.core!")
21522
+
21523
with nogil:
21524
__status__ = nvmlInit_v2()
21525
check_status(__status__)
0 commit comments