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
Copy file name to clipboardExpand all lines: README.md
+33Lines changed: 33 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -141,3 +141,36 @@ Currently only a subset of the Array API is covered by sharpy
141
141
-`sharpy.spmd.gather` gathers the distributed array and forms a single, local and contiguous copy of the data as a numpy array
142
142
-`sharpy.spmd.get_locals` return the local part of the distributed array as a numpy array
143
143
- sharpy allows providing a fallback array implementation. By setting SHARPY_FALLBACK to a python package it will call that package if a given function is not provided by sharpy. It will pass sharpy arrays as (gathered) numpy-arrays.
144
+
145
+
## Environment variables
146
+
147
+
### Compile time variables
148
+
149
+
Required to compile `sharpy`:
150
+
151
+
-`MLIRROOT`: Set path to MLIR install root.
152
+
-`IMEXROOT`: Set path to Intel MLIR Extensions install root.
153
+
154
+
### Optional runtime variables
155
+
156
+
-`SHARPY_VERBOSE`: Set verbosity level. Accepted values 0-4, default 0.
157
+
-`SHARPY_FALLBACK`: Python package to call in case a function is not found in `sharpy`. For example, setting `SHARPY_FALLBACK=numpy` means that calling `sharpy.linalg.norm` would call `numpy.linalg.norm` for the entire (gathered) array.
158
+
-`SHARPY_PASSES`: Set MLIR pass pipeline. To see current pipeline run with `SHARPY_VERBOSE=1`.
159
+
-`SHARPY_FORCE_DIST`: Force code generation in distributed mode even if executed on a single process.
160
+
-`SHARPY_USE_CACHE`: Use in-memory JIT compile cache. Default 1.
0 commit comments