File size: 873 Bytes
76f9669 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | # SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE
import warnings as _warnings
from cuda.bindings.driver import *
cdef extern from *:
"""
#ifdef _MSC_VER
#pragma message ( "The cuda.cuda module is deprecated and will be removed in a future release, " \
"please switch to use the cuda.bindings.driver module instead." )
#else
#warning The cuda.cuda module is deprecated and will be removed in a future release, \
please switch to use the cuda.bindings.driver module instead.
#endif
"""
_warnings.warn("The cuda.cuda module is deprecated and will be removed in a future release, "
"please switch to use the cuda.bindings.driver module instead.", FutureWarning, stacklevel=2)
|