@@ -178,26 +178,40 @@ self: super:
178178 <para>
179179 <link
180180 xlink:href="https://software.intel.com/en-us/mkl">Intel
181− MKL</link> (only works on x86 architecture, unfree)
181+ MKL</link> (only works on the x86_64 architecture, unfree)
182182 </para>
183183 <para>
184184 The Nixpkgs attribute is <literal>mkl</literal>.
185185 </para>
186186 </listitem>
187+ <listitem>
188+ <para>
189+ <link
190+ xlink:href="https://developer.amd.com/amd-aocl/blas-library/">AMD
191+ BLIS/LIBFLAME</link> (optimized for modern AMD x86_64 CPUs)
192+ </para>
193+ <para>
194+ The AMD BLIS library, with attribute <literal>amd-blis</literal>,
195+ provides a BLAS implementation. The complementary AMD LIBFLAME
196+ library, with attribute <literal>amd-libflame</literal>, provides
197+ a LAPACK implementation.
198+ </para>
199+ </listitem>
187200 </itemizedlist>
188201 <para>
189202 Introduced in <link
190203 xlink:href="https://github.com/NixOS/nixpkgs/pull/83888">PR
191− #83888</link>, we are able to override the ‘blas’ and ‘lapack’
192− packages to use different implementations, through the
193− ‘blasProvider’ and ‘lapackProvider’ argument. This can be used
204+ #83888</link>, we are able to override the <literal>blas</literal>
205+ and <literal>lapack</literal> packages to use different implementations,
206+ through the <literal>blasProvider</literal> and
207+ <literal>lapackProvider</literal> argument. This can be used
194208 to select a different provider. BLAS providers will have
195209 symlinks in <literal>$out/lib/libblas.so.3</literal> and
196210 <literal>$out/lib/libcblas.so.3</literal> to their respective
197211 BLAS libraries. Likewise, LAPACK providers will have symlinks
198212 in <literal>$out/lib/liblapack.so.3</literal> and
199213 <literal>$out/lib/liblapacke.so.3</literal> to their respective
200− LAPCK libraries. For example, Intel MKL is both a BLAS and
214+ LAPACK libraries. For example, Intel MKL is both a BLAS and
201215 LAPACK provider. An overlay can be created to use Intel MKL
202216 that looks like:
203217 </para>
@@ -216,8 +230,9 @@ self: super:
216230 <para>
217231 This overlay uses Intel’s MKL library for both BLAS and LAPACK
218232 interfaces. Note that the same can be accomplished at runtime
219− using <literal>LD_LIBRARY_PATH</literal> of libblas.so.3 and
220− liblapack.so.3. For instance:
233+ using <literal>LD_LIBRARY_PATH</literal> of
234+ <literal>libblas.so.3</literal> and
235+ <literal>liblapack.so.3</literal>. For instance:
221236 </para>
222237 <programlisting>
223238$ LD_LIBRARY_PATH=$(nix-build -A mkl)/lib:$LD_LIBRARY_PATH nix-shell -p octave --run octave