Skip to content

Commit a22e027

Browse files
authored
Merge pull request #159 from NVIDIA/main-test-layout
Apply remaining touch ups for patch release
2 parents 797286b + 11a9013 commit a22e027

File tree

97 files changed

+137
-70
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+137
-70
lines changed

.gitignore

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -11,32 +11,32 @@ __pycache__/
1111
.pytest_cache/
1212
.benchmarks/
1313
*.cpp
14-
!cuda/cuda/bindings/_lib/param_packer.cpp
15-
!cuda/cuda/bindings/_bindings/loader.cpp
14+
!cuda_bindings/cuda/bindings/_lib/param_packer.cpp
15+
!cuda_bindings/cuda/bindings/_bindings/loader.cpp
1616

1717
# CUDA Python specific (auto-generated)
18-
cuda/cuda/bindings/_bindings/cydriver.pxd
19-
cuda/cuda/bindings/_bindings/cydriver.pyx
20-
cuda/cuda/bindings/_bindings/cynvrtc.pxd
21-
cuda/cuda/bindings/_bindings/cynvrtc.pyx
22-
cuda/cuda/bindings/_lib/cyruntime/cyruntime.pxd
23-
cuda/cuda/bindings/_lib/cyruntime/cyruntime.pyx
24-
cuda/cuda/bindings/_lib/cyruntime/utils.pxd
25-
cuda/cuda/bindings/_lib/cyruntime/utils.pyx
26-
cuda/cuda/bindings/_lib/utils.pxd
27-
cuda/cuda/bindings/_lib/utils.pyx
28-
cuda/cuda/bindings/cydriver.pxd
29-
cuda/cuda/bindings/cydriver.pyx
30-
cuda/cuda/bindings/cyruntime.pxd
31-
cuda/cuda/bindings/cyruntime.pyx
32-
cuda/cuda/bindings/cynvrtc.pxd
33-
cuda/cuda/bindings/cynvrtc.pyx
34-
cuda/cuda/bindings/driver.pxd
35-
cuda/cuda/bindings/driver.pyx
36-
cuda/cuda/bindings/runtime.pxd
37-
cuda/cuda/bindings/runtime.pyx
38-
cuda/cuda/bindings/nvrtc.pxd
39-
cuda/cuda/bindings/nvrtc.pyx
18+
cuda_bindings/cuda/bindings/_bindings/cydriver.pxd
19+
cuda_bindings/cuda/bindings/_bindings/cydriver.pyx
20+
cuda_bindings/cuda/bindings/_bindings/cynvrtc.pxd
21+
cuda_bindings/cuda/bindings/_bindings/cynvrtc.pyx
22+
cuda_bindings/cuda/bindings/_lib/cyruntime/cyruntime.pxd
23+
cuda_bindings/cuda/bindings/_lib/cyruntime/cyruntime.pyx
24+
cuda_bindings/cuda/bindings/_lib/cyruntime/utils.pxd
25+
cuda_bindings/cuda/bindings/_lib/cyruntime/utils.pyx
26+
cuda_bindings/cuda/bindings/_lib/utils.pxd
27+
cuda_bindings/cuda/bindings/_lib/utils.pyx
28+
cuda_bindings/cuda/bindings/cydriver.pxd
29+
cuda_bindings/cuda/bindings/cydriver.pyx
30+
cuda_bindings/cuda/bindings/cyruntime.pxd
31+
cuda_bindings/cuda/bindings/cyruntime.pyx
32+
cuda_bindings/cuda/bindings/cynvrtc.pxd
33+
cuda_bindings/cuda/bindings/cynvrtc.pyx
34+
cuda_bindings/cuda/bindings/driver.pxd
35+
cuda_bindings/cuda/bindings/driver.pyx
36+
cuda_bindings/cuda/bindings/runtime.pxd
37+
cuda_bindings/cuda/bindings/runtime.pyx
38+
cuda_bindings/cuda/bindings/nvrtc.pxd
39+
cuda_bindings/cuda/bindings/nvrtc.pyx
4040

4141
# Distribution / packaging
4242
.Python

README.md

Lines changed: 3 additions & 3 deletions

cuda/cuda/bindings/examples/__init__.py

Whitespace-only changes.

cuda/cuda/bindings/examples/setup.cfg

Lines changed: 0 additions & 3 deletions
This file was deleted.

cuda/cuda/bindings/tests/__init__.py

Whitespace-only changes.
File renamed without changes.
File renamed without changes.
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# pytest.ini
21
[pytest]
32
required_plugins = pytest-benchmark
43
addopts = --benchmark-skip
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

cuda/cuda/bindings/examples/0_Introduction/clock_nvrtc_test.py renamed to cuda_bindings/examples/0_Introduction/clock_nvrtc_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
# is strictly prohibited.
88
import numpy as np
99
from cuda import cuda
10-
from cuda.bindings.examples.common import common
11-
from cuda.bindings.examples.common.helper_cuda import checkCudaErrors, findCudaDevice
10+
from common import common
11+
from common.helper_cuda import checkCudaErrors, findCudaDevice
1212

1313
clock_nvrtc = '''\
1414
extern "C" __global__ void timedReduction(const float *hinput, float *output, clock_t *timer)

cuda/cuda/bindings/examples/0_Introduction/simpleCubemapTexture_test.py renamed to cuda_bindings/examples/0_Introduction/simpleCubemapTexture_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
import sys
1212
import time
1313
from cuda import cuda, cudart
14-
from cuda.bindings.examples.common import common
15-
from cuda.bindings.examples.common.helper_cuda import checkCudaErrors, findCudaDevice
14+
from common import common
15+
from common.helper_cuda import checkCudaErrors, findCudaDevice
1616

1717
simpleCubemapTexture = '''\
1818
extern "C"

cuda/cuda/bindings/examples/0_Introduction/simpleP2P_test.py renamed to cuda_bindings/examples/0_Introduction/simpleP2P_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
import numpy as np
1010
import sys
1111
from cuda import cuda, cudart
12-
from cuda.bindings.examples.common import common
13-
from cuda.bindings.examples.common.helper_cuda import checkCudaErrors
12+
from common import common
13+
from common.helper_cuda import checkCudaErrors
1414

1515
simplep2p = '''\
1616
extern "C"

cuda/cuda/bindings/examples/0_Introduction/simpleZeroCopy_test.py renamed to cuda_bindings/examples/0_Introduction/simpleZeroCopy_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
import random as rnd
1212
import sys
1313
from cuda import cuda, cudart
14-
from cuda.bindings.examples.common import common
15-
from cuda.bindings.examples.common.helper_cuda import checkCudaErrors
16-
from cuda.bindings.examples.common.helper_string import checkCmdLineFlag
14+
from common import common
15+
from common.helper_cuda import checkCudaErrors
16+
from common.helper_string import checkCmdLineFlag
1717

1818
simpleZeroCopy = '''\
1919
extern "C"

cuda/cuda/bindings/examples/0_Introduction/systemWideAtomics_test.py renamed to cuda_bindings/examples/0_Introduction/systemWideAtomics_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
import sys
1111
import os
1212
from cuda import cuda, cudart
13-
from cuda.bindings.examples.common import common
14-
from cuda.bindings.examples.common.helper_cuda import checkCudaErrors, findCudaDevice
13+
from common import common
14+
from common.helper_cuda import checkCudaErrors, findCudaDevice
1515

1616
systemWideAtomics = '''\
1717
#define LOOP_NUM 50

cuda/cuda/bindings/examples/0_Introduction/vectorAddDrv_test.py renamed to cuda_bindings/examples/0_Introduction/vectorAddDrv_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
import math
1010
import numpy as np
1111
from cuda import cuda
12-
from cuda.bindings.examples.common import common
13-
from cuda.bindings.examples.common.helper_cuda import checkCudaErrors, findCudaDeviceDRV
12+
from common import common
13+
from common.helper_cuda import checkCudaErrors, findCudaDeviceDRV
1414

1515
vectorAddDrv = '''\
1616
/* Vector addition: C = A + B.

cuda/cuda/bindings/examples/0_Introduction/vectorAddMMAP_test.py renamed to cuda_bindings/examples/0_Introduction/vectorAddMMAP_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
import numpy as np
1111
import sys
1212
from cuda import cuda
13-
from cuda.bindings.examples.common import common
14-
from cuda.bindings.examples.common.helper_cuda import checkCudaErrors, findCudaDeviceDRV
13+
from common import common
14+
from common.helper_cuda import checkCudaErrors, findCudaDeviceDRV
1515

1616
vectorAddMMAP = '''\
1717
/* Vector addition: C = A + B.

cuda/cuda/bindings/examples/2_Concepts_and_Techniques/streamOrderedAllocation_test.py renamed to cuda_bindings/examples/2_Concepts_and_Techniques/streamOrderedAllocation_test.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
import random as rnd
1212
import sys
1313
from cuda import cuda, cudart
14-
from cuda.bindings.examples.common import common
15-
from cuda.bindings.examples.common.helper_cuda import checkCudaErrors, findCudaDevice
16-
from cuda.bindings.examples.common.helper_string import checkCmdLineFlag
14+
from common import common
15+
from common.helper_cuda import checkCudaErrors, findCudaDevice
16+
from common.helper_string import checkCmdLineFlag
1717

1818
streamOrderedAllocation = '''\
1919
/* Add two vectors on the GPU */
@@ -166,6 +166,7 @@ def streamOrderedAllocationPostSync(dev, nelem, a, b, c) :
166166
return errorNorm/refNorm < 1.e-6
167167

168168
def main():
169+
cuda.cuInit(0)
169170
if checkCmdLineFlag("help"):
170171
print("Usage: streamOrderedAllocation [OPTION]\n");
171172
print("Options:");

cuda/cuda/bindings/examples/3_CUDA_Features/globalToShmemAsyncCopy_test.py renamed to cuda_bindings/examples/3_CUDA_Features/globalToShmemAsyncCopy_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
import pytest
1313
from cuda import cuda, cudart
1414
from enum import Enum
15-
from cuda.bindings.examples.common import common
16-
from cuda.bindings.examples.common.helper_cuda import checkCudaErrors, findCudaDevice
17-
from cuda.bindings.examples.common.helper_string import checkCmdLineFlag, getCmdLineArgumentInt
15+
from common import common
16+
from common.helper_cuda import checkCudaErrors, findCudaDevice
17+
from common.helper_string import checkCmdLineFlag, getCmdLineArgumentInt
1818

1919
blockSize = 16
2020
class kernels(Enum):

cuda/cuda/bindings/examples/3_CUDA_Features/simpleCudaGraphs_test.py renamed to cuda_bindings/examples/3_CUDA_Features/simpleCudaGraphs_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
import pytest
1111
import random as rnd
1212
from cuda import cuda, cudart
13-
from cuda.bindings.examples.common import common
14-
from cuda.bindings.examples.common.helper_cuda import checkCudaErrors, findCudaDevice
13+
from common import common
14+
from common.helper_cuda import checkCudaErrors, findCudaDevice
1515

1616
THREADS_PER_BLOCK = 512
1717
GRAPH_LAUNCH_ITERATIONS = 3

cuda/cuda/bindings/examples/4_CUDA_Libraries/conjugateGradientMultiBlockCG_test.py renamed to cuda_bindings/examples/4_CUDA_Libraries/conjugateGradientMultiBlockCG_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
import numpy as np
1111
import sys
1212
from cuda import cuda, cudart
13-
from cuda.bindings.examples.common import common
14-
from cuda.bindings.examples.common.helper_cuda import checkCudaErrors, findCudaDevice
13+
from common import common
14+
from common.helper_cuda import checkCudaErrors, findCudaDevice
1515
from random import random
1616

1717
conjugateGradientMultiBlockCG = '''\

cuda/cuda/bindings/examples/common/common.py renamed to cuda_bindings/examples/common/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import numpy as np
1010
import os
1111
from cuda import cuda, cudart, nvrtc
12-
from cuda.bindings.examples.common.helper_cuda import checkCudaErrors
12+
from common.helper_cuda import checkCudaErrors
1313

1414
class KernelHelper:
1515
def __init__(self, code, devID):

cuda/cuda/bindings/examples/common/helper_cuda.py renamed to cuda_bindings/examples/common/helper_cuda.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# this software and related documentation outside the terms of the EULA
77
# is strictly prohibited.
88
from cuda import cuda, cudart, nvrtc
9-
from cuda.bindings.examples.common.helper_string import getCmdLineArgumentInt, checkCmdLineFlag
9+
from common.helper_string import getCmdLineArgumentInt, checkCmdLineFlag
1010

1111
def _cudaGetErrorEnum(error):
1212
if isinstance(error, cuda.CUresult):

cuda/cuda/bindings/examples/extra/isoFDModelling_test.py renamed to cuda_bindings/examples/extra/isoFDModelling_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
import numpy as np
99
import time
1010
from cuda import cuda, cudart
11-
from cuda.bindings.examples.common import common
12-
from cuda.bindings.examples.common.helper_cuda import checkCudaErrors
11+
from common import common
12+
from common.helper_cuda import checkCudaErrors
1313

1414
isoPropagator = '''\
1515
extern "C"

cuda_bindings/examples/pytest.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[pytest]
2+
python_files = *_test.py
3+
python_functions = main
4+
pythonpath = .
File renamed without changes.
File renamed without changes.

cuda/setup.py renamed to cuda_bindings/setup.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@
9595
cache='./cache_{}'.format(library.split('.')[0]) if PARSER_CACHING else None,
9696
replace=replace)
9797

98+
if library == 'driver':
99+
CUDA_VERSION = parser.defs['macros']['CUDA_VERSION'] if 'CUDA_VERSION' in parser.defs['macros'] else 'Unknown'
100+
print(f'Found CUDA_VERSION: {CUDA_VERSION}')
101+
98102
# Combine types with others since they sometimes get tangled
99103
found_types += {key for key in parser.defs['types']}
100104
found_types += {key for key in parser.defs['structs']}
@@ -225,7 +229,7 @@ def do_cythonize(extensions):
225229
# public (deprecated, to be removed)
226230
["cuda/*.pyx"],
227231
# tests
228-
["cuda/bindings/tests/*.pyx"],
232+
["tests/*.pyx"],
229233
]
230234

231235
for sources in sources_list:
@@ -256,9 +260,9 @@ def finalize_options(self):
256260
setup(
257261
version=versioneer.get_version(),
258262
ext_modules=do_cythonize(extensions),
259-
packages=find_packages(include=["cuda.cuda", "cuda.cuda.*", "cuda.cuda.bindings", "cuda.cuda.bindings._bindings", "cuda.cuda.bindings._lib", "cuda.cuda.bindings._lib.cyruntime", "cuda.cuda.bindings.tests"]),
263+
packages=find_packages(include=["cuda.cuda", "cuda.cuda.*", "cuda.cuda.bindings", "cuda.cuda.bindings._bindings", "cuda.cuda.bindings._lib", "cuda.cuda.bindings._lib.cyruntime", "tests"]),
260264
package_data=dict.fromkeys(
261-
find_packages(include=["cuda.cuda", "cuda.cuda.*", "cuda.cuda.bindings", "cuda.cuda.bindings._bindings", "cuda.cuda.bindings._lib", "cuda.cuda.bindings._lib.cyruntime", "cuda.cuda.bindings.tests"]),
265+
find_packages(include=["cuda.cuda", "cuda.cuda.*", "cuda.cuda.bindings", "cuda.cuda.bindings._bindings", "cuda.cuda.bindings._lib", "cuda.cuda.bindings._lib.cyruntime", "tests"]),
262266
["*.pxd", "*.pyx", "*.py", "*.h", "*.cpp"],
263267
),
264268
cmdclass=cmdclass,

cuda/cuda/bindings/tests/test_cython.py renamed to cuda_bindings/tests/test_cython.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ def wrapped(*args, **kwargs):
2222
return wrapped
2323

2424

25-
cython_test_modules = ["cuda.bindings.tests.test_ccuda",
26-
"cuda.bindings.tests.test_ccudart",
27-
"cuda.bindings.tests.test_interoperability_cython"]
25+
cython_test_modules = ["test_ccuda",
26+
"test_ccudart",
27+
"test_interoperability_cython"]
2828

2929

3030
for mod in cython_test_modules:

docs/_sources/release/12.6.1-notes.md.txt

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,27 @@
33
Released on October 7, 2024
44

55
## Hightlights
6-
- Resolve [Issue #90](https://github.com/NVIDIA/cuda-python/issues/90): Use new layout in preperation for cuda-python becoming a metapackage
6+
- Resolve [Issue #90](https://github.com/NVIDIA/cuda-python/issues/90): Use new layout in preparation for cuda-python becoming a metapackage
7+
- Resolve [Issue #75](https://github.com/NVIDIA/cuda-python/issues/75): CUDA namespace cleanup
8+
9+
## CUDA namespace cleanup with a new module layout
10+
11+
[Issue #75](https://github.com/NVIDIA/cuda-python/issues/75) explains in detail what the new module layout is, what problem it fixes and how it impacts the users. However for the sake of completeness, this release notes will highlight key points of this change.
12+
13+
Before this change, `cuda-python` was tightly coupled to CUDA Toolkit releases and all new features would inherit this coupling regardless of their applicability. As we develop new features, this coupling was becoming overly restrictive and motivated a new solution: Convert `cuda-python` into a metapackage where we use `cuda` as a namespace with existing bindings code moved to a `cuda_bindings` subpackage.
14+
15+
This patch release applies the new module layout for the bindings as follows:
16+
- `cuda.cuda` -> `cuda.bindings.driver`
17+
- `cuda.ccuda` -> `cuda.bindings.cydriver`
18+
- `cuda.cudart` -> `cuda.bindings.runtime`
19+
- `cuda.ccudart` -> `cuda.bindings.cyruntime`
20+
- `cuda.nvrtc` -> `cuda.bindings.nvrtc`
21+
- `cuda.cnvrtc` -> `cuda.bindings.cynvrtc`
22+
23+
Deprecation warnings are turned on as a notice to switch to the new module layout.
24+
25+
```{note} This is non-breaking, backwards compatible change. All old module path will continue work as they "forward" user calls towards the new layout.
26+
```
727

828
## Limitations
929

docs/release.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ <h1>Release Notes<a class="headerlink" href="#release-notes" title="Permalink to
236236
<ul>
237237
<li class="toctree-l1"><a class="reference internal" href="release/12.6.1-notes.html"> 12.6.1</a><ul>
238238
<li class="toctree-l2"><a class="reference internal" href="release/12.6.1-notes.html#hightlights">Hightlights</a></li>
239+
<li class="toctree-l2"><a class="reference internal" href="release/12.6.1-notes.html#cuda-namespace-cleanup-with-a-new-module-layout">CUDA namespace cleanup with a new module layout</a></li>
239240
<li class="toctree-l2"><a class="reference internal" href="release/12.6.1-notes.html#limitations">Limitations</a><ul>
240241
<li class="toctree-l3"><a class="reference internal" href="release/12.6.1-notes.html#cuda-functions-not-supported-in-this-release">CUDA Functions Not Supported in this Release</a></li>
241242
</ul>

docs/release/12.6.1-notes.html

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,9 +236,29 @@ <h1>CUDA Python 12.6.1 Release notes<a class="headerlink" href="#cuda-python-12-
236236
<section id="hightlights">
237237
<h2>Hightlights<a class="headerlink" href="#hightlights" title="Permalink to this heading">#</a></h2>
238238
<ul class="simple">
239-
<li><p>Resolve <a class="reference external" href="https://github.com/NVIDIA/cuda-python/issues/90">Issue #90</a>: Use new layout in preperation for cuda-python becoming a metapackage</p></li>
239+
<li><p>Resolve <a class="reference external" href="https://github.com/NVIDIA/cuda-python/issues/90">Issue #90</a>: Use new layout in preparation for cuda-python becoming a metapackage</p></li>
240+
<li><p>Resolve <a class="reference external" href="https://github.com/NVIDIA/cuda-python/issues/75">Issue #75</a>: CUDA namespace cleanup</p></li>
240241
</ul>
241242
</section>
243+
<section id="cuda-namespace-cleanup-with-a-new-module-layout">
244+
<h2>CUDA namespace cleanup with a new module layout<a class="headerlink" href="#cuda-namespace-cleanup-with-a-new-module-layout" title="Permalink to this heading">#</a></h2>
245+
<p><a class="reference external" href="https://github.com/NVIDIA/cuda-python/issues/75">Issue #75</a> explains in detail what the new module layout is, what problem it fixes and how it impacts the users. However for the sake of completeness, this release notes will highlight key points of this change.</p>
246+
<p>Before this change, <code class="docutils literal notranslate"><span class="pre">cuda-python</span></code> was tightly coupled to CUDA Toolkit releases and all new features would inherit this coupling regardless of their applicability. As we develop new features, this coupling was becoming overly restrictive and motivated a new solution: Convert <code class="docutils literal notranslate"><span class="pre">cuda-python</span></code> into a metapackage where we use <code class="docutils literal notranslate"><span class="pre">cuda</span></code> as a namespace with existing bindings code moved to a <code class="docutils literal notranslate"><span class="pre">cuda_bindings</span></code> subpackage.</p>
247+
<p>This patch release applies the new module layout for the bindings as follows:</p>
248+
<ul class="simple">
249+
<li><p><code class="docutils literal notranslate"><span class="pre">cuda.cuda</span></code> -&gt; <code class="docutils literal notranslate"><span class="pre">cuda.bindings.driver</span></code></p></li>
250+
<li><p><code class="docutils literal notranslate"><span class="pre">cuda.ccuda</span></code> -&gt; <code class="docutils literal notranslate"><span class="pre">cuda.bindings.cydriver</span></code></p></li>
251+
<li><p><code class="docutils literal notranslate"><span class="pre">cuda.cudart</span></code> -&gt; <code class="docutils literal notranslate"><span class="pre">cuda.bindings.runtime</span></code></p></li>
252+
<li><p><code class="docutils literal notranslate"><span class="pre">cuda.ccudart</span></code> -&gt; <code class="docutils literal notranslate"><span class="pre">cuda.bindings.cyruntime</span></code></p></li>
253+
<li><p><code class="docutils literal notranslate"><span class="pre">cuda.nvrtc</span></code> -&gt; <code class="docutils literal notranslate"><span class="pre">cuda.bindings.nvrtc</span></code></p></li>
254+
<li><p><code class="docutils literal notranslate"><span class="pre">cuda.cnvrtc</span></code> -&gt; <code class="docutils literal notranslate"><span class="pre">cuda.bindings.cynvrtc</span></code></p></li>
255+
</ul>
256+
<p>Deprecation warnings are turned on as a notice to switch to the new module layout.</p>
257+
<div class="admonition note">
258+
<p class="admonition-title">Note</p>
259+
<p>This is non-breaking, backwards compatible change. All old module path will continue work as they “forward” user calls towards the new layout.</p>
260+
</div>
261+
</section>
242262
<section id="limitations">
243263
<h2>Limitations<a class="headerlink" href="#limitations" title="Permalink to this heading">#</a></h2>
244264
<section id="cuda-functions-not-supported-in-this-release">
@@ -334,6 +354,7 @@ <h3>CUDA Functions Not Supported in this Release<a class="headerlink" href="#cud
334354
<ul>
335355
<li><a class="reference internal" href="#">CUDA Python 12.6.1 Release notes</a><ul>
336356
<li><a class="reference internal" href="#hightlights">Hightlights</a></li>
357+
<li><a class="reference internal" href="#cuda-namespace-cleanup-with-a-new-module-layout">CUDA namespace cleanup with a new module layout</a></li>
337358
<li><a class="reference internal" href="#limitations">Limitations</a><ul>
338359
<li><a class="reference internal" href="#cuda-functions-not-supported-in-this-release">CUDA Functions Not Supported in this Release</a></li>
339360
</ul>

docs/searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)