Skip to content
Merged
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions docs/src/api-dagger/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ addprocs!
rmprocs!
```

## Distributed Package Selection Functions
```@docs
set_distributed_package!
```

## DTask Execution Environment Functions

These functions are used within the function called by a `DTask`.
Expand Down
18 changes: 18 additions & 0 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,24 @@ data on disk to be specified as desired.

-----

## Quickstart: Distributed Package Selection

Dagger.jl can use either the built-in `Distributed` package or the `DistributedNext` package for distributed operations. You can set your preference using the `Dagger.set_distributed_package!` function.

### Setting the Distributed Package

To set your preferred distributed package (e.g., to `DistributedNext`):

```julia
Dagger.set_distributed_package!("DistributedNext")
```

This will set a preference that persists across Julia sessions. Remember that **you need to restart your Julia session** for this change to take effect.

For more details, see [`Dagger.set_distributed_package!`](@ref).

-----

## Quickstart: Distributed Arrays

Dagger's `DArray` type represents a distributed array, where a single large
Expand Down
Loading