Skip to content

Commit 1ff0fa1

Browse files
authored
Merge branch 'main' into update-linker-options-sequence-handling
2 parents ea25e67 + af5a64e commit 1ff0fa1

30 files changed

Lines changed: 2865 additions & 81 deletions

File tree

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,33 @@
11
name: Release Checklist
2-
description: Release managers need to go through this check list and ensure all tasks are done
2+
description: Public checklist for release managers making a subpackage release
3+
labels: ["P0"]
4+
35
body:
46
- type: markdown
57
attributes:
68
value: |
7-
Please go through this checklist and ensure all tasks are completed.
8-
9-
- type: checkboxes
10-
id: cuda-bindings-tasks
11-
attributes:
12-
label: Tasks for cuda-bindings / cuda-python release
13-
options:
14-
- label: "Push any internal updates for accommodating a new CTK release to the public (**IMPORTANT**: Need to wait for CTK posting!)"
15-
- label: "If it is a major release, create a new branch to backport to and update the branch name [here](../BACKPORT_BRANCH)"
16-
- label: Follow the check list for `cuda-core` below for the remaining steps
9+
This checklist is for cuda-core releases as well as cuda-bindings patches. Please go through this checklist and ensure all tasks are completed.
1710
1811
- type: checkboxes
19-
id: cuda-core-tasks
12+
id: subpackage-tasks
2013
attributes:
21-
label: Tasks for cuda-core release
14+
label: Tasks for cuda-core and cuda-bindings patch release
2215
options:
2316
- label: File an internal nvbug to communicate test plan & release schedule with QA
2417
- label: Ensure all pending PRs are reviewed, tested, and merged
25-
- label: Update the dependency requirements, if needed
18+
- label: Check (or update if needed) the dependency requirements
2619
- label: Bump the version
2720
- label: Create a public rc tag
2821
- label: "Point QA to fetch public artifacts (wheels) from the GHA run ID, example: `gh run download 12323257563 -p \"cuda-core*\" -R NVIDIA/cuda-python`"
2922
- label: Wait for QA reports and fix any issues found
30-
- label: Finalize the doc update, including release notes
23+
- label: "Finalize the doc update, including release notes (\"Note: Touching docstrings/type annotations in code is OK during code freeze, apply your best judgement!\")"
3124
- label: Update the docs for the new version
3225
- label: Create a public release tag
3326
- label: If any code change happens, rebuild the wheels from the new tag
27+
- label: Update the conda recipe & release conda packages
28+
- label: Upload conda packages to nvidia channel
3429
- label: Upload wheels to PyPI
30+
- label: Post-release QA
3531
- label: Finalize the announcement update
3632
- label: Send out the announcement internally
3733
- label: Send out the announcement externally (GitHub Release -> Announcement)
38-
- label: Update the conda recipe & release conda packages
39-
- label: Post-release QA

.github/actions/fetch_ctk/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,4 +123,4 @@ runs:
123123
echo "CUDA_PATH=${CUDA_PATH}" >> $GITHUB_ENV
124124
echo "CUDA_HOME=${CUDA_PATH}" >> $GITHUB_ENV
125125
echo "${CUDA_PATH}/bin" >> $GITHUB_PATH
126-
echo "LD_LIBRARY_PATH=${LD_LIBRARY_PATH:-}:${CUDA_PATH}/lib" >> $GITHUB_ENV
126+
echo "LD_LIBRARY_PATH=${LD_LIBRARY_PATH:-}:${CUDA_PATH}/lib:${CUDA_PATH}/nvvm/lib64" >> $GITHUB_ENV

.github/workflows/build-docs.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,11 @@ jobs:
3737
name: Build docs
3838
# The build stage could fail but we want the CI to keep moving.
3939
if: ${{ github.repository_owner == 'nvidia' && !cancelled() }}
40-
# WAR: Building the doc currently requires a GPU (NVIDIA/cuda-python#326,327)
41-
runs-on: linux-amd64-gpu-t4-latest-1
42-
#runs-on: ubuntu-latest
40+
runs-on: ubuntu-latest
4341
defaults:
4442
run:
4543
shell: bash -el {0}
4644
steps:
47-
# WAR: Building the doc currently requires a GPU (NVIDIA/cuda-python#326,327)
48-
- name: Ensure GPU is working
49-
run: nvidia-smi
50-
5145
- name: Checkout ${{ github.event.repository.name }}
5246
uses: actions/checkout@v4
5347
with:
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Copyright (c) 2025, NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED.
2+
#
3+
# SPDX-License-Identifier: LicenseRef-NVIDIA-SOFTWARE-LICENSE
4+
#
5+
# This code was automatically generated across versions from 11.0.3 to 12.8.0. Do not modify it directly.
6+
7+
from ..cynvvm cimport *
8+
9+
10+
###############################################################################
11+
# Wrapper functions
12+
###############################################################################
13+
14+
cdef nvvmResult _nvvmVersion(int* major, int* minor) except* nogil
15+
cdef nvvmResult _nvvmIRVersion(int* majorIR, int* minorIR, int* majorDbg, int* minorDbg) except* nogil
16+
cdef nvvmResult _nvvmCreateProgram(nvvmProgram* prog) except* nogil
17+
cdef nvvmResult _nvvmDestroyProgram(nvvmProgram* prog) except* nogil
18+
cdef nvvmResult _nvvmAddModuleToProgram(nvvmProgram prog, const char* buffer, size_t size, const char* name) except* nogil
19+
cdef nvvmResult _nvvmLazyAddModuleToProgram(nvvmProgram prog, const char* buffer, size_t size, const char* name) except* nogil
20+
cdef nvvmResult _nvvmCompileProgram(nvvmProgram prog, int numOptions, const char** options) except* nogil
21+
cdef nvvmResult _nvvmVerifyProgram(nvvmProgram prog, int numOptions, const char** options) except* nogil
22+
cdef nvvmResult _nvvmGetCompiledResultSize(nvvmProgram prog, size_t* bufferSizeRet) except* nogil
23+
cdef nvvmResult _nvvmGetCompiledResult(nvvmProgram prog, char* buffer) except* nogil
24+
cdef nvvmResult _nvvmGetProgramLogSize(nvvmProgram prog, size_t* bufferSizeRet) except* nogil
25+
cdef nvvmResult _nvvmGetProgramLog(nvvmProgram prog, char* buffer) except* nogil

0 commit comments

Comments
 (0)