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
-**ARMV9SME**: any ARMV9 cpu with SVE and SME extensions
192
197
193
198
#### PPC/PPC64
194
199
@@ -249,9 +254,15 @@ e.g.:
249
254
```
250
255
The old-style TARGET=LOONGSON3R5 is still supported
251
256
257
+
#### WASM
258
+
Not a cpu target in the strict sense, but portable WebAssembly for browser-based applications and the like. See emscripten.org for the compiler and related information
259
+
260
+
-**WASM128_GENERIC**: Optimized SGEMM,DGEMM, DAXPY, SSUM/DSUM, SDOT/DDOT and SROT/DROT
261
+
262
+
252
263
### Support for multiple targets in a single library
253
264
254
-
OpenBLAS can be built for multiple targets with runtime detection of the target cpu by specifiying`DYNAMIC_ARCH=1` in Makefile.rule, on the gmake command line or as `-DDYNAMIC_ARCH=TRUE` in cmake.
265
+
OpenBLAS can be built for multiple targets with runtime detection of the target cpu by specifying`DYNAMIC_ARCH=1` in Makefile.rule, on the gmake command line or as `-DDYNAMIC_ARCH=TRUE` in cmake.
255
266
256
267
For **x86_64**, the list of targets this activates contains Prescott, Core2, Nehalem, Barcelona, Sandybridge, Bulldozer, Piledriver, Steamroller, Excavator, Haswell, Zen, SkylakeX, Cooper Lake, Sapphire Rapids. For cpu generations not included in this list, the corresponding older model is used. If you also specify `DYNAMIC_OLDER=1`, specific support for Penryn, Dunnington, Opteron, Opteron/SSE3, Bobcat, Atom and Nano is added. Finally there is an option `DYNAMIC_LIST` that allows to specify an individual list of targets to include instead of the default.
257
268
@@ -277,23 +288,29 @@ Please note that it is not possible to combine support for different architectur
277
288
### Supported OS
278
289
279
290
-**GNU/Linux**
280
-
-**MinGW or Visual Studio (CMake)/Windows**: Please read <https://github.com/xianyi/OpenBLAS/wiki/How-to-use-OpenBLAS-in-Microsoft-Visual-Studio>.
281
-
-**Darwin/macOS/OSX/iOS**: Experimental. Although GotoBLAS2 already supports Darwin, we are not OSX/iOS experts.
291
+
-**MinGW or Visual Studio (CMake)/Windows**: Please read <https://github.com/OpenMathLib/OpenBLAS/docs/nstall.md#visual-studio-native-windows-abi>.
292
+
-**Darwin/macOS/OSX/iOS**: Already supported on PPC and x86 by the original GotoBLAS, now also on ARM64 but we are not OSX/iOS experts.
282
293
-**FreeBSD**: Supported by the community. We don't actively test the library on this OS.
283
294
-**OpenBSD**: Supported by the community. We don't actively test the library on this OS.
284
295
-**NetBSD**: Supported by the community. We don't actively test the library on this OS.
285
296
-**DragonFly BSD**: Supported by the community. We don't actively test the library on this OS.
286
-
-**Android**: Supported by the community. Please read <https://github.com/xianyi/OpenBLAS/wiki/How-to-build-OpenBLAS-for-Android>.
287
-
-**AIX**: Supported on PPC up to POWER10
297
+
-**Android**: Supported by the community. Please read <https://github.com/OpenMathLib/OpenBLAS/docs/install.md#android>.
298
+
-**AIX**: Supported on PPC up to POWER10 but testing is increasingly problematic due to lack of publicly available systems
288
299
-**Haiku**: Supported by the community. We don't actively test the library on this OS.
289
300
-**SunOS**: Supported by the community. We don't actively test the library on this OS.
290
-
-**Cortex-M**: Supported by the community. Please read <https://github.com/xianyi/OpenBLAS/wiki/How-to-use-OpenBLAS-on-Cortex-M>.
301
+
-**Cortex-M**: Supported by the community. Please read <https://github.com/OpenMathLib/OpenBLAS/docs/install.md#cortex-m>.
291
302
292
303
## Usage
293
304
294
305
Statically link with `libopenblas.a` or dynamically link with `-lopenblas` if OpenBLAS was
295
306
compiled as a shared library.
296
307
308
+
### Considerations for using the library from Java
309
+
310
+
The default stack size of only 1MB may be too small, especially if you built OpenBLAS to support larger matrix sizes than provided for by the default settings. Use the -Xss option to request a larger stack size if you encounter problems.
311
+
312
+
When a Windows build of OpenBLAS was created using the MINGW gfortran (for the LAPACK parts), the java application may hang on startup due to a deadlock between the gfortran runtime library initialization and any pipes created by a Win11/SBT/Play Framework environment. Use -Djdk.console=jdk.internal.le to work around this.
313
+
297
314
### Setting the number of threads using environment variables
298
315
299
316
Environment variables are used to specify a maximum number of threads.
0 commit comments