Commit Graph

73 Commits

Author SHA1 Message Date
dependabot[bot] 28f872a2f9 Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4.1.7.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4.1.7)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-13 14:04:10 +02:00
Cosmin Ștefan Ciocan 801584cceb Merge pull request #35 from andreinechaev/feature/readme-import-notebook-kaggle
Add README.md with GIF describing steps to import an example notebook…
2024-06-23 18:09:04 +02:00
Cosmin Ștefan Ciocan 97d8889238 Add README.md with GIF describing steps to import an example notebook in Kaggle from GitHub 2024-06-08 22:01:43 +00:00
Cosmin Ștefan Ciocan 0b60c3637e Merge pull request #34 from andreinechaev/feature/first-example-notebooks
Add example notebooks for compiling with opencv and an adaptation of a CUDA training series
2024-06-03 18:57:11 +02:00
Cosmin Ștefan Ciocan 1b238ff107 Create separate files for blur kernel and the error handling macro to make the main function more readable 2024-06-02 09:13:56 +00:00
Cosmin Ștefan Ciocan e15f41d213 Add example notebooks for compiling with opencv and an adaptation of a CUDA training series 2024-05-19 12:45:58 +00:00
Cosmin Ștefan Ciocan 326b0a57a8 Remove duplicated compiler args from magics.rst 2024-05-04 08:47:07 +02:00
Cosmin Ștefan Ciocan 5741c52254 Setup Kaggle environment on extension load (#31)
* Automatically setup kaggle environment https://github.com/andreinechaev/nvcc4jupyter/issues/29

* Update package lists before installing cuda toolkit
v1.2.1
2024-04-03 17:23:33 +02:00
Cosmin Ștefan Ciocan 4664a4ef47 Update __init__.py
Bump version to 1.2.0
v1.2.0
2024-03-20 12:13:23 +01:00
Cosmin Ștefan Ciocan 0bddf6a6e6 Add option to choose between NSYS and NCU profilers (#28)
* Add option to give nvcc extra arguments

* Add test for nvcc options that changes c++ dialect from c++17 to c++14

* Add make and the english language pack to devcontainer to be able to build the documentation

* Update documentation config to automatically import the current version of the package

* Document new --compiler-args argument

* Improve tests coverage by testing for bad arguments and the error output during a failed compilation

* Add IPython to docs requirements to allow the __version__ import for readthedocs env

* Change devcontainer base image to have the latest CUDA toolkit

* Mock the nsight compute tool with a bash script

* Add test to compile with opencv

* Add new page to documentation that contains a new notebook that explains compiling with external libraries

* Add autodocstring vscode extension to devcontainer

* Add function that modifies the default profiler/compiler arguments to allow reusing them in multiple magic command calls

* Update pylint exceptions

* Update contributing instructions

* Change version from 1.0.3 to 1.1.0 due to adding features in a backward-compatible manner

* Install latest CUDA toolkit on the test runner to pass the OpenCV compilation test

* Install opencv in test runner and update code coverage install

* Add CUDA bin to PATH in test and coverage runners

* Add cuda bin to path variable in .bashrc

* Update way to set environment variable PATH in github action

* Change devcontainer base image back to ubuntu:22.04 to match the environment from the test runner

* Add option to choose between NSYS and NCU profilers

* Add tests for choosing the profiler

* Add isort config to help it find local modules so they are not considered 3rd party libraries

* Replace experimental-string-processing black formatter config with enable-unstable-feature as it was removed in version 24.1.0

* Search for profiling tools executable paths when they are required

* Install dev dependencies in editable mode

* Add documentation for using Nsight Systems instead of the default Nsight Compute profiling tool

* Fix cuda typo

* Mention Nsight Systems in README.md
2024-03-20 11:42:27 +01:00
Cosmin Ștefan Ciocan 781ff5b76b Feature: Passing arguments to NVCC compiler (#26)
* Add option to give nvcc extra arguments

* Add test for nvcc options that changes c++ dialect from c++17 to c++14

* Add make and the english language pack to devcontainer to be able to build the documentation

* Update documentation config to automatically import the current version of the package

* Document new --compiler-args argument

* Improve tests coverage by testing for bad arguments and the error output during a failed compilation

* Add IPython to docs requirements to allow the __version__ import for readthedocs env

* Change devcontainer base image to have the latest CUDA toolkit

* Mock the nsight compute tool with a bash script

* Add test to compile with opencv

* Add new page to documentation that contains a new notebook that explains compiling with external libraries

* Add autodocstring vscode extension to devcontainer

* Add function that modifies the default profiler/compiler arguments to allow reusing them in multiple magic command calls

* Update pylint exceptions

* Update contributing instructions

* Change version from 1.0.3 to 1.1.0 due to adding features in a backward-compatible manner

* Install latest CUDA toolkit on the test runner to pass the OpenCV compilation test

* Install opencv in test runner and update code coverage install

* Add CUDA bin to PATH in test and coverage runners

* Add cuda bin to path variable in .bashrc

* Update way to set environment variable PATH in github action

* Change devcontainer base image back to ubuntu:22.04 to match the environment from the test runner
v1.1.0
2024-02-12 17:29:26 +01:00
Cosmin Ștefan Ciocan 5cd225851b Merge pull request #24 from andreinechaev/docs/readme-badge-rename
Change "cosminc98" to "andreinechaev" in badge URLs
2024-01-23 16:14:31 +01:00
Cosmin Ștefan Ciocan eb594cf225 Change "cosminc98" to "andreinechaev" in badge URLs 2024-01-23 14:43:12 +01:00
Cosmin Ștefan Ciocan f5a85b160e Merge pull request #23 from cosminc98/master
Major rewrite that merges the two plugin versions, adds tests, CI/CD pipeline
2024-01-23 14:35:32 +01:00
Cosmin Ștefan Ciocan e392fc382b Create devcontainer for quick dev setups 2024-01-13 00:46:30 +00:00
Cosmin Ciocan 0601610905 Change to version 1.0.3 2024-01-12 19:00:22 +01:00
Cosmin Ciocan ed0e3a721c Add code quality badges to README.md 2024-01-12 18:59:30 +01:00
Cosmin Ciocan 4521763395 Add github workflow to check pre-commit hooks on modified files on pull requests 2024-01-12 18:47:49 +01:00
Cosmin Ciocan df7fc2ebeb Add github workflow to check pre-commit hooks on all files on master branch 2024-01-12 18:44:03 +01:00
Cosmin Ciocan 063fe0015c Add bandit pre-commit hook to check for security issues 2024-01-12 18:33:43 +01:00
Cosmin Ciocan be6b7a01d6 Add pylint pre-commit hook 2024-01-12 18:12:49 +01:00
Cosmin Ciocan 182e3519ad Move flake8 config from toml to .flake8 as flake8 does not play nice with pyproject.toml and add pre-commit hook for flake8 2024-01-12 17:45:37 +01:00
Cosmin Ciocan ee68b4025b Add README.md instructions for developers 2024-01-12 16:56:49 +01:00
Cosmin Ciocan ef642e3480 Add newlines at the end of the files from pre-commit hook 2024-01-12 16:51:51 +01:00
Cosmin Ciocan 2eae513950 Add dev optional dependency 2024-01-12 16:50:26 +01:00
Cosmin Ciocan c38fb54216 Add pre-commit hook with black config 2024-01-12 16:41:41 +01:00
Cosmin Ciocan 6352f21c04 Update version to 1.0.2 2024-01-12 16:05:38 +01:00
Cosmin Ciocan ece222d3db Update README.md with usage and documentation links 2024-01-12 16:04:39 +01:00
Cosmin Ciocan dff5b2753e Remove help from parser arguments and instead provide links in the parser description to documentation to avoid duplicate text 2024-01-12 15:53:17 +01:00
Cosmin Ciocan 0714d3af19 Fix missing double quote 2024-01-12 15:44:15 +01:00
Cosmin Ciocan 01bef596ca Change daily downloads to monthly downloads in README.md badge 2024-01-12 15:41:58 +01:00
Cosmin Ciocan 4d059df78d Update metadata in pyproject.toml 2024-01-12 15:41:17 +01:00
Cosmin Ciocan ad020e1231 Add MIT license 2024-01-12 15:40:48 +01:00
Cosmin Ciocan 3cf0d60d1a Move project description from usage page to home page 2024-01-12 15:27:05 +01:00
Cosmin Ciocan 55423ce07a Update conf.py path in readthedocs config 2024-01-12 15:17:34 +01:00
Cosmin Ciocan 5bfd81a553 Change python 3.12 to 3.10 in readthedocs config 2024-01-12 15:14:44 +01:00
Cosmin Ciocan 1ca949d803 Add readthedocs config and sphinx documentation 2024-01-12 14:47:30 +01:00
Cosmin Ciocan 6150ae5713 Fix table of contents 2024-01-05 20:46:24 +01:00
Cosmin Ciocan c6ab2dce20 Update version to 1.0.1 2024-01-05 15:59:15 +01:00
Cosmin Ciocan 6a02223f96 Update readme to include useful badges 2024-01-05 15:58:34 +01:00
Cosmin Ciocan 8b88c5dc34 Add code coverage job in testing workflow 2024-01-05 15:17:55 +01:00
Cosmin Ciocan b6c38ea55a Add python tested versions in pyproject.toml 2024-01-05 14:46:55 +01:00
Cosmin Ciocan 3a0d40dab9 Add load_ipython_extension function to package root 2024-01-05 14:15:22 +01:00
Cosmin Ciocan 6db8bf2b52 Add pypi publishing workflow 2024-01-05 13:41:29 +01:00
Cosmin Ciocan 4ade0eac9f Change test versions to match newest IPython and add sudo to mkdir 2024-01-02 15:41:39 +01:00
Cosmin Ciocan d70fe0f5e2 Create a directory to bypass a profiler error to be able to test with host code only 2024-01-02 15:35:42 +01:00
Cosmin Ciocan 5f1bc88625 Add sudo to apt commands 2024-01-02 15:27:46 +01:00
Cosmin Ciocan f467060bcf Install nvidia toolkit for testing 2024-01-02 15:26:46 +01:00
Cosmin Ciocan 8ae5483629 Add testing github workflow 2024-01-02 15:24:41 +01:00
Cosmin Ciocan fbffb60960 Rename test file 2024-01-02 11:34:27 +01:00