You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sharding in reactant requires you to specify how the data is s
85
+
Sharding in reactant requires you to specify how the data is sharded across devices on a mesh. We start by specifying the mesh [`Sharding.Mesh`](@ref) which is a collection of the devices reshaped into an N-D grid. Additionally, we can specify names
86
86
87
87
<!-- TODO describe how arrays are the "global data arrays, even though data is itself only stored on relevant device and computation is performed only devices with the required data (effectively showing under the hood how execution occurs) -->
88
88
89
-
<!-- TODO simple case that demonstrates send/recv within (e.g. a simple neighbor add) -->
90
-
91
89
<!-- TODO make a simple conway's game of life, or heat equation using sharding simulation example to show how a ``typical MPI'' simulation can be written using sharding. -->
92
90
93
91
## Simple 1-Dimensional Heat Equation
@@ -187,11 +185,22 @@ end
187
185
@jitsimulate(data, 100)
188
186
```
189
187
188
+
189
+
## Devices
190
+
191
+
You can query the available devices that Reactant can access as follows:
192
+
```
193
+
TODO
194
+
```
195
+
196
+
You can inspect the type of the device, as well as its properties.
197
+
198
+
One nice feature about how Reactant's handling of multiple devices is that you don't need to s handles sharding is that
190
199
:::
191
200
192
-
<!-- TODO describe generation of distributed array by concatenating local-worker data -->
201
+
## Generating Distributed Data by Concatenating Local-Worker Data
193
202
194
-
<!-- TODO more complex tutorial describing replicated -->
0 commit comments