-
Notifications
You must be signed in to change notification settings - Fork 6
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 #99 from clEsperanto/test_new_backend_cuda_ocl
update backend
- Loading branch information
Showing
108 changed files
with
13,093 additions
and
7,233 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,7 @@ jobs: | |
- name: Set up conda ${{ matrix.python-version }} | ||
uses: conda-incubator/[email protected] | ||
with: | ||
miniconda-version: "latest" | ||
auto-update-conda: true | ||
activate-environment: test | ||
python-version: ${{ matrix.python-version }} | ||
|
@@ -43,14 +44,18 @@ jobs: | |
shell: bash -l {0} | ||
run: pip install scikit-build pytest pytest-cov pytest-benchmark | ||
|
||
# - name: Install cuda | ||
# shell: bash -l {0} | ||
# run: conda install -y cudatoolkit | ||
|
||
- name: Install pocl | ||
shell: bash -l {0} | ||
run: conda install -y pocl | ||
run: conda install -y pocl | ||
|
||
- name: Compile | ||
shell: bash -l {0} | ||
run: | | ||
pip install . -vvv | ||
pip install . -vvv --config-settings=cmake.define.CMAKE_PREFIX_PATH=$CONDA_PREFIX | ||
- name: Tests | ||
shell: bash -l {0} | ||
|
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 |
---|---|---|
|
@@ -23,7 +23,7 @@ jobs: | |
uses: actions/checkout@v3 | ||
|
||
- name: Build wheels | ||
uses: pypa/cibuildwheel@v2.12.3 | ||
uses: pypa/cibuildwheel@v2.14.1 | ||
env: | ||
CIBW_ARCHS_MACOS: x86_64 arm64 | ||
|
||
|
@@ -63,7 +63,7 @@ jobs: | |
name: artifact | ||
path: dist | ||
|
||
- uses: pypa/[email protected].6 | ||
- uses: pypa/[email protected].8 | ||
with: | ||
password: ${{ secrets.PYPI_API_TOKEN }} | ||
skip_existing: true | ||
|
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 |
---|---|---|
|
@@ -6,6 +6,9 @@ __pycache__/ | |
# C extensions | ||
*.so | ||
|
||
# Mac OS X | ||
.DS_Store | ||
|
||
# IDE | ||
.vscode | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,79 @@ | ||
include .github/dependabot.yml | ||
include .github/workflows/build_and_test.yml | ||
include .github/workflows/pages.yml | ||
include .github/workflows/wheels.yml | ||
include .gitignore | ||
include CMakeLists.txt | ||
include LICENSE | ||
include MANIFEST.in | ||
include README.md | ||
include benchmarking/benchmark_basic_operations.ipynb | ||
include benchmarking/benchmark_gaussian.ipynb | ||
include benchmarking/benchmark_histogram.ipynb | ||
include benchmarking/benchmark_mini_pipeline.ipynb | ||
include benchmarking/benchmark_otsu.ipynb | ||
include benchmarking/benchmarking_tribolium_workflow.ipynb | ||
include demos/add_image_and_scalar.cl | ||
include demos/cell_segmentation.ipynb | ||
include demos/explore_API.ipynb | ||
include demos/find_local_maxima.ipynb | ||
include demos/image_API.ipynb | ||
include demos/image_filtering.ipynb | ||
include demos/images/cell_segmentation.png | ||
include demos/images/explore_API.png | ||
include demos/images/find_local_maxima.png | ||
include demos/images/image_filtering.png | ||
include demos/images/labeled_blobs.png | ||
include demos/images/multi-gpu.png | ||
include demos/images/tribolium3d_segmentation.png | ||
include demos/multi_gpu_demo.ipynb | ||
include demos/process_blobs.ipynb | ||
include demos/process_tribolium.ipynb | ||
include demos/run_custom_kernel.ipynb | ||
include developer_docs/API_demo.ipynb | ||
include docs/Makefile | ||
include docs/README.rst | ||
include docs/make.bat | ||
include docs/source/api.rst | ||
include docs/source/conf.py | ||
include docs/source/index.rst | ||
include docs/source/install.rst | ||
include docs/source/usage.rst | ||
include pyclesperanto/__init__.py | ||
include pyclesperanto/_array.py | ||
include pyclesperanto/_core.py | ||
include pyclesperanto/_decorators.py | ||
include pyclesperanto/_functionalities.py | ||
include pyclesperanto/_memory.py | ||
include pyclesperanto/_operators.py | ||
include pyclesperanto/_tier1.py | ||
include pyclesperanto/_tier2.py | ||
include pyclesperanto/_tier3.py | ||
include pyclesperanto/_tier4.py | ||
include pyclesperanto/_tier5.py | ||
include pyclesperanto/_version.py | ||
include pyproject.toml | ||
include scripts/build-opencl-linux.sh | ||
include scripts/build-opencl-macos.sh | ||
include scripts/build-opencl-windows.sh | ||
include scripts/pyclesperanto_autogen_tier_script.ipynb | ||
include setup.py | ||
include tests/test_core.py | ||
include tests/test_import.py | ||
include tests/test_tier1.py | ||
include tests/test_tier2.py | ||
include tests/test_tier3.py | ||
include tests/test_tier4.py | ||
include tests/test_tier5.py | ||
include tests/test_tier6.py | ||
include wrapper/array_.cpp | ||
include wrapper/core_.cpp | ||
include wrapper/pycle_wrapper.cpp | ||
include wrapper/pycle_wrapper.hpp | ||
include wrapper/tier1_.cpp | ||
include wrapper/tier2_.cpp | ||
include wrapper/tier3_.cpp | ||
include wrapper/tier4_.cpp | ||
include wrapper/tier5_.cpp | ||
include wrapper/types_.cpp | ||
exclude MANIFEST.in |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Demos | ||
|
||
This is a collection of notebooks and scripts that demonstrate how to use 'pyclesperanto' for image processing and analysis. They are here to show various use cases and to help you get started. | ||
|
||
These are note exaustives and we are happy to add more. Please get in touch if you have a demo that you would like to share. | ||
|
||
### pre-requisites | ||
|
||
To run these demos, you need to have 'pyclesperanto' installed. If you don't have it yet, please follow the instructions [here](../README.md) or read the documentation [here](https://clesperanto.github.io/pyclesperanto_prototype/). | ||
|
||
Most of the demos also require [scikit-image](https://scikit-image.org/) and [jupyter](https://jupyter.org/), which you can install via pip: | ||
|
||
```bash | ||
pip install scikit-image jupyterlab | ||
``` | ||
|
||
or conda: | ||
|
||
```bash | ||
conda install scikit-image jupyterlab | ||
``` | ||
|
||
# Warning | ||
|
||
These demos are not meant to be used for benchmarking. They are meant to be easy to understand and to get you started. Several costly operations are done on purpose to make the code easier to understand. If you want to use pyclesperanto in production, please read the documentation and don't hesitate to get in touch with us to get help with optimizing your code. |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
Oops, something went wrong.