Skip to content

Commit 668efd1

Browse files
authored
Merge branch 'main' into issue449-2
2 parents 6cc78db + 3443f9a commit 668efd1

File tree

15 files changed

+126
-320
lines changed

15 files changed

+126
-320
lines changed

.github/workflows/build-docs.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,7 @@ jobs:
5252
fetch-depth: 0
5353
ref: ${{ inputs.git-tag }}
5454

55-
- name: Setup proxy cache
56-
uses: nv-gha-runners/setup-proxy-cache@main
57-
continue-on-error: true
55+
# TODO: This workflow runs on GH-hosted runner and cannot use the proxy cache
5856

5957
- name: Set up miniforge
6058
uses: conda-incubator/setup-miniconda@835234971496cad1653abb28a638a281cf32541f # v3.2.0
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
[
2+
{
3+
"version": "latest",
4+
"url": "https://nvidia.github.io/cuda-python/cuda-bindings/latest/"
5+
},
6+
{
7+
"version": "13.0.1",
8+
"url": "https://nvidia.github.io/cuda-python/cuda-bindings/13.0.1/"
9+
},
10+
{
11+
"version": "13.0.0",
12+
"url": "https://nvidia.github.io/cuda-python/cuda-bindings/13.0.0/"
13+
},
14+
{
15+
"version": "12.9.0",
16+
"url": "https://nvidia.github.io/cuda-python/cuda-bindings/12.9.0/"
17+
},
18+
{
19+
"version": "12.8.0",
20+
"url": "https://nvidia.github.io/cuda-python/cuda-bindings/12.8.0/"
21+
},
22+
{
23+
"version": "12.6.2",
24+
"url": "https://nvidia.github.io/cuda-python/cuda-bindings/12.6.2/"
25+
},
26+
{
27+
"version": "12.6.1",
28+
"url": "https://nvidia.github.io/cuda-python/cuda-bindings/12.6.1/"
29+
}
30+
]

cuda_bindings/docs/source/_static/javascripts/version_dropdown.js

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

cuda_bindings/docs/source/_templates/sidebar/variant-selector.html

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

cuda_bindings/docs/source/conf.py

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -59,27 +59,17 @@
5959
# The theme to use for HTML and HTML Help pages. See the documentation for
6060
# a list of builtin themes.
6161
html_baseurl = "docs"
62-
html_theme = "furo"
63-
# html_theme = 'pydata_sphinx_theme'
62+
html_theme = "nvidia_sphinx_theme"
6463
html_theme_options = {
65-
"light_logo": "logo-light-mode.png",
66-
"dark_logo": "logo-dark-mode.png",
67-
# For pydata_sphinx_theme:
68-
# "logo": {
69-
# "image_light": "_static/logo-light-mode.png",
70-
# "image_dark": "_static/logo-dark-mode.png",
71-
# },
72-
# "switcher": {
73-
# "json_url": "https://nvidia.github.io/cuda-python/cuda-bindings/versions.json",
74-
# "version_match": release,
75-
# },
76-
## Add light/dark mode and documentation version switcher
77-
# "navbar_end": [
78-
# "search-button",
79-
# "theme-switcher",
80-
# "version-switcher",
81-
# "navbar-icon-links",
82-
# ],
64+
"switcher": {
65+
"json_url": "https://nvidia.github.io/cuda-python/cuda-bindings/nv-versions.json",
66+
"version_match": release,
67+
},
68+
# Add light/dark mode and documentation version switcher
69+
"navbar_center": [
70+
"version-switcher",
71+
"navbar-nav",
72+
],
8373
}
8474
if os.environ.get("CI"):
8575
if int(os.environ.get("BUILD_PREVIEW", 0)):

cuda_core/docs/nv-versions.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
[
2+
{
3+
"version": "latest",
4+
"url": "https://nvidia.github.io/cuda-python/cuda-core/latest/"
5+
},
6+
{
7+
"version": "0.3.2",
8+
"url": "https://nvidia.github.io/cuda-python/cuda-core/0.3.2/"
9+
},
10+
{
11+
"version": "0.3.1",
12+
"url": "https://nvidia.github.io/cuda-python/cuda-core/0.3.1/"
13+
},
14+
{
15+
"version": "0.3.0",
16+
"url": "https://nvidia.github.io/cuda-python/cuda-core/0.3.0/"
17+
},
18+
{
19+
"version": "0.2.0",
20+
"url": "https://nvidia.github.io/cuda-python/cuda-core/0.2.0/"
21+
},
22+
{
23+
"version": "0.1.1",
24+
"url": "https://nvidia.github.io/cuda-python/cuda-core/0.1.1/"
25+
},
26+
{
27+
"version": "0.1.0",
28+
"url": "https://nvidia.github.io/cuda-python/cuda-core/0.1.0/"
29+
}
30+
]

cuda_core/docs/source/_static/javascripts/version_dropdown.js

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

cuda_core/docs/source/_templates/sidebar/variant-selector.html

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

cuda_core/docs/source/conf.py

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -56,27 +56,17 @@
5656
# The theme to use for HTML and HTML Help pages. See the documentation for
5757
# a list of builtin themes.
5858
html_baseurl = "docs"
59-
html_theme = "furo"
60-
# html_theme = 'pydata_sphinx_theme'
59+
html_theme = "nvidia_sphinx_theme"
6160
html_theme_options = {
62-
"light_logo": "logo-light-mode.png",
63-
"dark_logo": "logo-dark-mode.png",
64-
# For pydata_sphinx_theme:
65-
# "logo": {
66-
# "image_light": "_static/logo-light-mode.png",
67-
# "image_dark": "_static/logo-dark-mode.png",
68-
# },
69-
# "switcher": {
70-
# "json_url": "https://nvidia.github.io/cuda-python/cuda-core/versions.json",
71-
# "version_match": release,
72-
# },
73-
## Add light/dark mode and documentation version switcher
74-
# "navbar_end": [
75-
# "search-button",
76-
# "theme-switcher",
77-
# "version-switcher",
78-
# "navbar-icon-links",
79-
# ],
61+
"switcher": {
62+
"json_url": "https://nvidia.github.io/cuda-python/cuda-core/nv-versions.json",
63+
"version_match": release,
64+
},
65+
# Add light/dark mode and documentation version switcher
66+
"navbar_center": [
67+
"version-switcher",
68+
"navbar-nav",
69+
],
8070
}
8171
if os.environ.get("CI"):
8272
if int(os.environ.get("BUILD_PREVIEW", 0)):

cuda_core/docs/source/release/0.X.Y-notes.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,6 @@ Fixes and enhancements
3737
----------------------
3838

3939
- Improved :class:`DeviceMemoryResource` allocation performance when there are no active allocations by setting a higher release threshold (addresses issue #771).
40-
- Fix :class:`LaunchConfig` grid unit conversion when cluster is set (addresses issue #867).
40+
- Improved :class:`StridedMemoryView` creation time performance by optimizing shape and strides tuple creation using Python/C API (addresses issue #449).
41+
- Fix :class:`LaunchConfig` grid unit conversion when cluster is set (addresses issue #867).
42+
- Fixed a bug in :class:`GraphBuilder.add_child` where dependencies extracted from capturing stream were passed inconsistently with num_dependencies parameter (addresses issue #843).

0 commit comments

Comments
 (0)