# Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from .cpp_extension import (
    CUDA_HOME,  # noqa: F401
    IS_WINDOWS,  # noqa: F401
    BuildExtension,  # noqa: F401
    CppExtension,
    CUDAExtension,
    _compute_worker_number,  # noqa: F401
    _get_cuda_arch_flags,  # noqa: F401
    _get_num_workers,  # noqa: F401
    _get_pybind11_abi_build_flags,  # noqa: F401
    load,
    setup,
)
from .extension_utils import (
    get_build_directory,
    load_op_meta_info_and_register_op,  # noqa: F401
    parse_op_info,  # noqa: F401
)

__all__ = [
    'CppExtension',
    'CUDAExtension',
    'load',
    'setup',
    'get_build_directory',
]
