mirror of
https://github.com/sgjzfzzf/triton-tvm-ffi.git
synced 2026-07-01 08:51:56 +08:00
3a485166b4
Signed-off-by: Jinjie Liu <jjliu@baai.ac.cn>
29 lines
834 B
Python
29 lines
834 B
Python
# tvm-ffi-stubgen(begin): import-section
|
|
# fmt: off
|
|
# isort: off
|
|
from __future__ import annotations
|
|
from tvm_ffi import init_ffi_api as _FFI_INIT_FUNC
|
|
from tvm_ffi.libinfo import load_lib_module as _FFI_LOAD_LIB
|
|
from typing import TYPE_CHECKING
|
|
if TYPE_CHECKING:
|
|
from collections.abc import Mapping
|
|
# isort: on
|
|
# fmt: on
|
|
# tvm-ffi-stubgen(end)
|
|
# tvm-ffi-stubgen(import-object): tvm_ffi.libinfo.load_lib_module;False;_FFI_LOAD_LIB
|
|
LIB = _FFI_LOAD_LIB("triton_tvm_ffi", "utils")
|
|
# tvm-ffi-stubgen(begin): global/triton_tvm_ffi.utils
|
|
# fmt: off
|
|
_FFI_INIT_FUNC("triton_tvm_ffi.utils", __name__)
|
|
if TYPE_CHECKING:
|
|
def get_device_properties(_0: int, /) -> Mapping[str, int]: ...
|
|
# fmt: on
|
|
# tvm-ffi-stubgen(end)
|
|
|
|
__all__ = [
|
|
# tvm-ffi-stubgen(begin): __all__
|
|
"LIB",
|
|
"get_device_properties",
|
|
# tvm-ffi-stubgen(end)
|
|
]
|