mirror of
https://git.freebsd.org/ports.git
synced 2025-06-24 14:10:30 -04:00
15 lines
367 B
Text
15 lines
367 B
Text
To use Theano in multi-threaded mode, install OpenBLAS with option
|
|
OPENMP enabled, install py-numpy with OpenBLAS support and use this
|
|
minimal ~/.theanorc:
|
|
|
|
---------------------------
|
|
[global]
|
|
cxx = %%CXX%%
|
|
openmp = True
|
|
|
|
[blas]
|
|
ldflags = -lopenblasp
|
|
---------------------------
|
|
|
|
You can control the number of threads used with OMP_NUM_THREADS environment
|
|
variable.
|