-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #228 from NVIDIA/ksimpson/update_nvjitlink_test
update the nvjitlink bindings test
- Loading branch information
Showing
6 changed files
with
147 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,43 @@ | ||
# `cuda.core`: (experimental) pythonic CUDA module | ||
|
||
Currently under active development. To build from source, just do: | ||
Currently under active developmen; see [the documentation](https://nvidia.github.io/cuda-python/cuda-core/latest/) for more details. | ||
|
||
## Installing | ||
|
||
TO build from source, just do: | ||
```shell | ||
$ git clone https://github.com/NVIDIA/cuda-python | ||
$ cd cuda-python/cuda_core # move to the directory where this README locates | ||
$ pip install . | ||
``` | ||
For now `cuda-python` is a required dependency. | ||
|
||
## Developing | ||
|
||
We use `pre-commit` to manage various tools to help development and ensure consistency. | ||
```shell | ||
pip install pre-commit | ||
``` | ||
|
||
### Code linting | ||
|
||
Run this command before checking in the code changes | ||
```shell | ||
pre-commit run -a --show-diff-on-failure | ||
``` | ||
to ensure the code formatting is in line of the requirements (as listed in [`pyproject.toml`](./pyproject.toml)). | ||
|
||
### Code signing | ||
|
||
This repository implements a security check to prevent the CI system from running untrusted code. A part of the | ||
security check consists of checking if the git commits are signed. See | ||
[here](https://docs.gha-runners.nvidia.com/apps/copy-pr-bot/faqs/#why-did-i-receive-a-comment-that-my-pull-request-requires-additional-validation) | ||
and | ||
[here](https://docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verification) | ||
for more details, including how to sign your commits. | ||
|
||
## Testing | ||
|
||
To run these tests: | ||
* `python -m pytest tests/` against local builds | ||
* `pytest tests/` against installed packages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters