You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"\`$REVIEW_LABEL\` was assigned by \`CI: Restricted Paths Guard\`." \
143
+
"For details, open [this workflow run]($RUN_URL) and click **Summary**." \
144
+
"For external contributors: thank you for your interest in improving CUDA Python. The \`cuda_bindings/\` package is distributed under the [NVIDIA Software License](https://github.com/NVIDIA/cuda-python/blob/main/cuda_bindings/LICENSE), which does not allow us to accept external contributions to files under \`cuda_bindings/\` in this repository." \
145
+
"Please close this PR. If your changes also include updates outside \`cuda_bindings/\`, please open a new PR containing only those changes so we can review them separately under the applicable license." \
146
+
"If you are an NVIDIA employee and believe this label was applied in error, no action is needed; a maintainer will review and remove the label if appropriate."
147
+
}
148
+
149
+
write_review_label_comment_dry_run() {
150
+
echo "- **Dry-run comment body**:"
151
+
echo '```markdown'
152
+
build_review_label_comment
153
+
echo '```'
154
+
}
155
+
117
156
post_review_label_comment() {
118
157
local comment_body
119
-
printf -v comment_body '%s\n\n%s\n' \
120
-
"\`$REVIEW_LABEL\` was assigned by \`CI: Restricted Paths Guard\`." \
121
-
"For details, open [this workflow run]($RUN_URL) and click **Summary**."
158
+
comment_body=$(build_review_label_comment)
122
159
123
160
if gh api "repos/$REPO/issues/$PR_NUMBER/comments" \
124
161
-f body="$comment_body" >/dev/null; then
@@ -135,46 +172,87 @@ jobs:
135
172
COMMENT_ACTION="not needed"
136
173
137
174
if [ "$TOUCHES_RESTRICTED_PATHS" = "true" ]; then
138
-
# Distinguish a legitimate 404 "not a collaborator" response from
139
-
# actual API failures. The former is an expected untrusted case;
140
-
# the latter fails the workflow so it can be rerun later.
141
-
if COLLABORATOR_PERMISSION_RESPONSE=$(
142
-
gh api "repos/$REPO/collaborators/$PR_AUTHOR/permission" \
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@ CUDA Python is the home for accessing NVIDIA’s CUDA platform from Python. It c
7
7
*[cuda.pathfinder](https://nvidia.github.io/cuda-python/cuda-pathfinder/latest): Utilities for locating CUDA components installed in the user's Python environment
8
8
*[cuda.coop](https://nvidia.github.io/cccl/unstable/python/coop.html): A Python module providing CCCL's reusable block-wide and warp-wide *device* primitives for use within Numba CUDA kernels
9
9
*[cuda.compute](https://nvidia.github.io/cccl/unstable/python/compute/index.html): A Python module for easy access to CCCL's highly efficient and customizable parallel algorithms, like `sort`, `scan`, `reduce`, `transform`, etc. that are callable on the *host*
10
+
*[numba-cuda-mlir](https://nvidia.github.io/numba-cuda-mlir/): An evolution of Numba CUDA that improves upon its technical foundation and performance to provide the future of CUDA Python JIT compilation. It currently supports developing CUDA **SIMT** kernels in Python, providing Python bindings for accelerated device libraries, and serving as a compiler for user-defined functions in accelerated libraries.
10
11
*[numba.cuda](https://nvidia.github.io/numba-cuda/): A Python DSL that exposes CUDA **SIMT** programming model and compiles a restricted subset of Python code into CUDA kernels and device functions
11
12
*[cuda.tile](https://docs.nvidia.com/cuda/cutile-python/): A new Python DSL that exposes CUDA **Tile** programming model and allows users to write NumPy-like code in CUDA kernels
12
13
*[nvmath-python](https://docs.nvidia.com/cuda/nvmath-python/latest): Pythonic access to NVIDIA CPU & GPU Math Libraries, with [*host*](https://docs.nvidia.com/cuda/nvmath-python/latest/overview.html#host-apis), [*device*](https://docs.nvidia.com/cuda/nvmath-python/latest/overview.html#device-apis), and [*distributed*](https://docs.nvidia.com/cuda/nvmath-python/latest/distributed-apis/index.html) APIs. It also provides low-level Python bindings to host C APIs ([nvmath.bindings](https://docs.nvidia.com/cuda/nvmath-python/latest/bindings/index.html)).
0 commit comments