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

20 lines
358 B
Python
Raw Normal View History

2024-05-03 04:18:51 +03:00
'''
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()