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 79fedbc commit aa7f10eCopy full SHA for aa7f10e
1 file changed
cupy/cuda/function.pyx
@@ -191,6 +191,7 @@ cdef class LinkState:
191
"""CUDA link state."""
192
193
def __init__(self):
194
+ runtime._ensure_context()
195
self.ptr = driver.linkCreate()
196
197
def __del__(self):
0 commit comments