2022-01-07 13:11:34 -08:00
|
|
|
"""isort:skip_file"""
|
2022-01-07 15:28:36 -08:00
|
|
|
# flake8: noqa: F401
|
2021-11-12 15:10:04 -08:00
|
|
|
__version__ = '2.0.0'
|
2021-09-23 16:45:54 -07:00
|
|
|
|
2021-01-29 17:27:16 -05:00
|
|
|
# TODO: torch needs to be imported first
|
|
|
|
# or pybind11 shows `munmap_chunk(): invalid pointer`
|
|
|
|
import torch
|
2021-02-06 17:10:44 -08:00
|
|
|
# submodules
|
2022-04-06 16:13:53 -07:00
|
|
|
from .code_gen import cdiv, next_power_of_2, jit, autotune, heuristics, \
|
|
|
|
JITFunction, Config, Autotuner, reinterpret
|
2021-04-23 17:18:14 -04:00
|
|
|
from . import language
|
2021-04-22 10:27:02 -04:00
|
|
|
from . import code_gen
|
2021-02-08 12:16:41 -08:00
|
|
|
from . import testing
|
2021-02-03 17:38:48 -05:00
|
|
|
from . import ops
|