ai-content-maker/.venv/Lib/site-packages/numba/cuda/simulator/cudadrv/runtime.py

20 lines
358 B
Python

'''
The runtime API is unsupported in the simulator, but some stubs are
provided to allow tests to import correctly.
'''
class FakeRuntime(object):
def get_version(self):
return (-1, -1)
def is_supported_version(self):
return True
@property
def supported_versions(self):
return (-1, -1),
runtime = FakeRuntime()