Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add openCL conda instructions #89

Closed
Closed
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
16 changes: 16 additions & 0 deletions docs/installation.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,24 @@
# Installation

## Conda

It is advisable but not required that you install Napari Lattice packages inside a conda environment.
This is because conda makes it much easier to install system complex dependencies.

First, you should work out which version of OpenCL you need:
* Macs with GPUs should use `ocl_icd_wrapper_apple`
* Linux systems with GPUs should use `ocl-icd-system`
* All other systems should use `pocl`

Then you can create a suitable environment, *replacing `pocl` with the appropriate package as necessary*:
```bash
conda install -c conda-forge 'python==3.11.*' pocl
```

Finally, you can proceed with the next step.

## Pip

To install the core package, which includes the Python library and command line interface:

```bash
Expand Down
Loading