Let's get the ball rolling with blazing fast CUDA kernels!
To simply run genmetaballs:
pixi installFor development, make sure Mesa is installed and then set up hooks.
sudo apt install mesa-common-dev
pixi install
pixi run dev-setup # set-up hooksThe dev-setup task sets up pre-commit git hooks:
- Pre-commit: Formats and lints code before each commit
- Pre-push: Runs all tests before pushes
C++/CUDA tests are configured using Google Test (powered by ctest). Run them with:
pixi run ctestPython tests are configured using pytest. Run them with:
pixi run pytestTo run both C++/CUDA and Python tests together:
pixi run testAll commands work on both C++/CUDA and Python files automatically.
Format all files:
pixi run formatLint all files:
pixi run lintAuto-fix linting issues and format files:
pixi run fixThese commands are automatically run by the pre-commit hooks when you commit code.