Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
111 changes: 111 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
name: Bug Report
description: Create a report to help us improve
title: '[BUG]: '
labels: ['bug']
body:
- type: checkboxes
id: check-duplicates
attributes:
label: Is this a duplicate?
description: Check for duplicate issues.
options:
- label: I confirmed there appear to be no [duplicate issues](https://github.com/NVIDIA/cuda-python/issues) for this bug and that I agree to the [Code of Conduct](CODE_OF_CONDUCT.md)
required: true

- type: dropdown
id: bug-type
attributes:
label: Type of Bug
description: What kind of bug are you running into?
multiple: false
options:
- Silent Failure
- Runtime Error
- Compile-time Error
- Performance
- Something else
validations:
required: true

- type: dropdown
id: component
attributes:
label: Component
description: Which cuda-python component does this apply to?
multiple: false
options:
- cuda.bindings
- cuda.core
- General cuda-python
- Infrastructure
- Not sure
validations:
required: true

- type: textarea
id: description
attributes:
label: Describe the bug
description: A clear and concise description of what problem you are running into.
placeholder: "Attempting to compile a program via `cuda.core.experimental.Program.compile` throws a `ValueError`."
validations:
required: true

- type: textarea
id: reproduction
attributes:
label: How to Reproduce
description: Steps used to reproduce the bug.
placeholder: |
0. Construct a `cuda.core.experimental.Program` instance
1. Call the `.compile(...)` method of the instance
2. The call throws a `ValueError` with the following:
```
ValueError: Unsupported target_type="..." (supported_target_types=('ptx', 'cubin', 'ltoir'))
```
validations:
required: true

- type: textarea
id: expected-behavior
attributes:
label: Expected behavior
description: A clear and concise description of what you expected to happen.
placeholder: "Using `cuda.core.experimental.Program.compile(...)` should run successfully and not throw a `ValueError`"
validations:
required: true

- type: markdown
attributes:
value: '# System information'

- type: input
id: operating-system
attributes:
label: Operating System
description:
If applicable, the OS version where this bug occurs.
placeholder: Ubuntu Linux 20.04
validations:
required: false

- type: textarea
id: nvidia-smi-output
attributes:
label: nvidia-smi output
description: If applicable, the output from running the `nvidia-smi` command.
placeholder: |
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 495.29.05 Driver Version: 495.29.05 CUDA Version: 11.5 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:41:00.0 On | N/A |
| 0% 25C P8 8W / 320W | 491MiB / 10015MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
validations:
required: false

40 changes: 40 additions & 0 deletions .github/ISSUE_TEMPLATE/doc_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Documentation Request
description: Suggest an idea to improve cuda-python
title: '[DOC]: '
labels: ['doc']

body:
- type: checkboxes
id: check-duplicates
attributes:
label: Is this a duplicate?
description: Check for duplicate issues.
options:
- label: I confirmed there appear to be no [duplicate issues](https://github.com/NVIDIA/cuda-python/issues) for this bug and that I agree to the [Code of Conduct](CODE_OF_CONDUCT.md)
required: true

- type: dropdown
id: new_or_correction
attributes:
label: Is this for new documentation, or an update to existing docs?
options:
- New
- Update
validations:
required: true

- type: textarea
id: problem
attributes:
label: Describe the incorrect/future/missing documentation
placeholder: "Example: A code snippet mentions function foo(args) but I cannot find any documentation on it."
validations:
required: true

- type: textarea
id: search_locs
attributes:
label: If this is a correction, please provide a link to the incorrect documentation. If this is a new documentation request, please link to where you have looked.
placeholder: |
https://nvidia.github.io/cuda-python/latest/

66 changes: 66 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: Feature Request
description: Suggest an idea to improve cuda-python
title: '[FEA]: '
labels: ['feature request']
body:
- type: checkboxes
id: check-duplicates
attributes:
label: Is this a duplicate?
description: Check for duplicate issues.
options:
- label: I confirmed there appear to be no [duplicate issues](https://github.com/NVIDIA/cuda-python/issues) for this request and that I agree to the [Code of Conduct](CODE_OF_CONDUCT.md)

- type: dropdown
id: area
attributes:
label: Area
description: What area does this request apply to?
multiple: false
options:
- cuda.bindings
- cuda.core
- General cuda-python
- Infrastructure
- Not sure
validations:
required: true

- type: textarea
id: description
attributes:
label: Is your feature request related to a problem? Please describe.
description: A clear and concise description of what the problem is, e.g., "I would like to be able to..."
placeholder: I would like to be able to use the equivalent of `cuda.core.experimental.Program.compile(...)` to compile my code to PTX.
validations:
required: true

- type: textarea
id: proposed-solution
attributes:
label: Describe the solution you'd like
description: A clear and concise description of what you want to happen.
placeholder: |
Support a `ptx` target_type in the `cuda.core.experimental.Program.compile(...)` function.
validations:
required: true

- type: textarea
id: alternatives
attributes:
label: Describe alternatives you've considered
description:
If applicable, please add a clear and concise description of any alternative solutions or features you've
considered.
placeholder: The alternatives to using `cuda.core.experimental.Program.compile(...)` are unappealing. They usually involve using lower level bindings to something like nvRTC or invoking the nvcc executable.
validations:
required: false

- type: textarea
id: additional-context
attributes:
label: Additional context
description: Add any other context about the request here.
placeholder: This would be helpful to have a more productive development cycle in working at the intersection of CUDA and Python for my project.
validations:
required: false
14 changes: 14 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
## Description

<!-- Every PR should have a corresponding issue that describes and motivates the work done in the PR -->
closes <!-- Link issue here -->

<!-- Provide a standalone description of changes in this PR. -->

<!-- Note: The pull request title will be included in the CHANGELOG. -->

## Checklist
<!-- TODO: - [ ] I am familiar with the [Contributing Guidelines](). -->
- [ ] New or existing tests cover these changes.
- [ ] The documentation is up to date with these changes.