Skip to content

Commit 5a06d6f

Browse files
committed
Merge branch 'main' into pathfinder_in_build-system_requires
2 parents 6892ae0 + d427c9b commit 5a06d6f

108 files changed

Lines changed: 5562 additions & 4778 deletions

File tree

Some content is hidden

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

.github/workflows/pr-metadata-check.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,30 @@
22
#
33
# SPDX-License-Identifier: Apache-2.0
44

5-
name: "CI: Enforce label/milestone on PRs"
5+
name: "CI: Enforce assignee/label/milestone on PRs"
66

77
on:
88
pull_request_target:
99
types:
1010
- opened
1111
- edited
1212
- synchronize
13+
- assigned
14+
- unassigned
1315
- labeled
1416
- unlabeled
1517
- reopened
1618
- ready_for_review
1719

1820
jobs:
1921
check-metadata:
20-
name: PR has labels and milestone
22+
name: PR has assignee, labels, and milestone
2123
if: github.repository_owner == 'NVIDIA'
2224
runs-on: ubuntu-latest
2325
steps:
24-
- name: Check for labels and milestone
26+
- name: Check for assignee, labels, and milestone
2527
env:
28+
ASSIGNEES: ${{ toJson(github.event.pull_request.assignees) }}
2629
LABELS: ${{ toJson(github.event.pull_request.labels) }}
2730
MILESTONE: ${{ github.event.pull_request.milestone && github.event.pull_request.milestone.title || '' }}
2831
PR_URL: ${{ github.event.pull_request.html_url }}
@@ -34,11 +37,16 @@ jobs:
3437
exit 0
3538
fi
3639
37-
LABEL_NAMES=$(echo "$LABELS" | jq -r '.[].name')
3840
ERRORS=""
3941
42+
ASSIGNEE_COUNT=$(echo "$ASSIGNEES" | jq 'length')
43+
if [ "$ASSIGNEE_COUNT" -eq 0 ]; then
44+
ERRORS="${ERRORS}- **Missing assignee**: assign at least one person to this PR.\n"
45+
fi
46+
4047
# Module labels identify which package the PR touches.
4148
# Cross-cutting labels exempt PRs from needing a module label.
49+
LABEL_NAMES=$(echo "$LABELS" | jq -r '.[].name')
4250
MODULE_LABELS="cuda.bindings cuda.core cuda.pathfinder"
4351
MODULE_EXEMPT_LABELS="CI/CD"
4452
HAS_MODULE=false
@@ -98,10 +106,12 @@ jobs:
98106
exit 1
99107
fi
100108
109+
ASSIGNEE_LIST=$(echo "$ASSIGNEES" | jq -r '.[].login' | paste -sd ', ' -)
101110
LABEL_LIST=$(echo "$LABEL_NAMES" | paste -sd ', ' -)
102111
{
103112
echo "## PR Metadata Check Passed"
104113
echo ""
114+
echo "- **Assignees**: $ASSIGNEE_LIST"
105115
echo "- **Labels**: $LABEL_LIST"
106116
echo "- **Milestone**: $MILESTONE"
107117
} >> "$GITHUB_STEP_SUMMARY"

.github/workflows/test-wheel-linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ jobs:
100100
uses: ./.github/actions/install_unix_deps
101101
continue-on-error: false
102102
with:
103-
# for artifact fetching, graphics libs
104-
dependencies: "jq wget libgl1 libegl1"
103+
# for artifact fetching, graphics libs, g++ required for cffi in example
104+
dependencies: "jq wget libgl1 libegl1 g++"
105105
dependent_exes: "jq wget"
106106

107107
- name: Set environment variables

.github/workflows/test-wheel-windows.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,15 @@ jobs:
208208
with:
209209
python-version: ${{ matrix.PY_VER }}
210210

211+
- name: Verify LongPathsEnabled
212+
run: |
213+
$val = (Get-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem' -Name 'LongPathsEnabled').LongPathsEnabled
214+
echo "LongPathsEnabled = $val"
215+
if ($val -ne 1) {
216+
echo "::error::LongPathsEnabled is not set to 1 (see issue #1820)"
217+
exit 1
218+
}
219+
211220
- name: Set up mini CTK
212221
if: ${{ matrix.LOCAL_CTK == '1' }}
213222
uses: ./.github/actions/fetch_ctk
@@ -263,7 +272,6 @@ jobs:
263272
}
264273
265274
- name: Install cuda.pathfinder extra wheels for testing
266-
if: ${{ !endsWith(matrix.PY_VER, 't') }} # see issue #1820
267275
shell: bash --noprofile --norc -xeuo pipefail {0}
268276
run: |
269277
pushd cuda_pathfinder
@@ -272,7 +280,6 @@ jobs:
272280
popd
273281
274282
- name: Run cuda.pathfinder tests with all_must_work
275-
if: ${{ !endsWith(matrix.PY_VER, 't') }} # see issue #1820
276283
env:
277284
CUDA_PATHFINDER_TEST_LOAD_NVIDIA_DYNAMIC_LIB_STRICTNESS: all_must_work
278285
CUDA_PATHFINDER_TEST_FIND_NVIDIA_HEADERS_STRICTNESS: all_must_work

cuda_bindings/cuda/bindings/_bindings/cydriver.pxd.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE
33

4-
# This code was automatically generated with version 13.2.0, generator version 8797618. Do not modify it directly.
4+
# This code was automatically generated with version 13.2.0, generator version 0.3.1.dev1422+gf4812259e.d20260318. Do not modify it directly.
55
from cuda.bindings.cydriver cimport *
66

77
{{if 'cuGetErrorString' in found_functions}}

cuda_bindings/cuda/bindings/_bindings/cydriver.pyx.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE
33

4-
# This code was automatically generated with version 13.2.0, generator version 8797618. Do not modify it directly.
4+
# This code was automatically generated with version 13.2.0, generator version 0.3.1.dev1422+gf4812259e.d20260318. Do not modify it directly.
55
{{if 'Windows' == platform.system()}}
66
import os
77
cimport cuda.bindings._lib.windll as windll

cuda_bindings/cuda/bindings/_bindings/cynvrtc.pxd.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE
33

4-
# This code was automatically generated with version 13.2.0, generator version 8797618. Do not modify it directly.
4+
# This code was automatically generated with version 13.2.0, generator version 0.3.1.dev1422+gf4812259e.d20260318. Do not modify it directly.
55
from cuda.bindings.cynvrtc cimport *
66

77
{{if 'nvrtcGetErrorString' in found_functions}}

cuda_bindings/cuda/bindings/_bindings/cynvrtc.pyx.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE
33

4-
# This code was automatically generated with version 13.2.0, generator version 8797618. Do not modify it directly.
4+
# This code was automatically generated with version 13.2.0, generator version 0.3.1.dev1422+gf4812259e.d20260318. Do not modify it directly.
55
{{if 'Windows' == platform.system()}}
66
import os
77
cimport cuda.bindings._lib.windll as windll

cuda_bindings/cuda/bindings/_bindings/cyruntime.pxd.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE
33

4-
# This code was automatically generated with version 13.2.0, generator version 8797618. Do not modify it directly.
4+
# This code was automatically generated with version 13.2.0, generator version 0.3.1.dev1422+gf4812259e.d20260318. Do not modify it directly.
55
include "../cyruntime_types.pxi"
66

77
include "../_lib/cyruntime/cyruntime.pxd"

cuda_bindings/cuda/bindings/_bindings/cyruntime.pyx.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE
33

4-
# This code was automatically generated with version 13.2.0, generator version 8797618. Do not modify it directly.
4+
# This code was automatically generated with version 13.2.0, generator version 0.3.1.dev1422+gf4812259e.d20260318. Do not modify it directly.
55
include "../cyruntime_functions.pxi"
66

77
import os

cuda_bindings/cuda/bindings/_bindings/cyruntime_ptds.pxd.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-FileCopyrightText: Copyright (c) 2021-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE
33

4-
# This code was automatically generated with version 13.2.0, generator version 8797618. Do not modify it directly.
4+
# This code was automatically generated with version 13.2.0, generator version 0.3.1.dev1422+gf4812259e.d20260318. Do not modify it directly.
55
cdef extern from "":
66
"""
77
#define CUDA_API_PER_THREAD_DEFAULT_STREAM

0 commit comments

Comments
 (0)