2019-10-20 13:14:30 +02:00
<section xmlns= "http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xml:id="dlib">
2019-10-30 11:03:55 +01:00
<title > DLib</title>
2019-10-20 13:14:30 +02:00
2019-10-30 11:03:55 +01:00
<para >
<link xlink:href= "http://dlib.net/" > DLib</link> is a modern, C++-based toolkit which provides several machine learning algorithms.
</para>
2019-10-20 13:14:30 +02:00
2019-10-30 11:03:55 +01:00
<section xml:id= "compiling-without-avx-support" >
<title > Compiling without AVX support</title>
2019-10-20 13:14:30 +02:00
2019-10-30 11:03:55 +01:00
<para >
Especially older CPUs don't support <link xlink:href= "https://en.wikipedia.org/wiki/Advanced_Vector_Extensions" > AVX</link> (<abbrev > Advanced Vector Extensions</abbrev> ) instructions that are used by DLib to optimize their algorithms.
</para>
2019-10-20 13:14:30 +02:00
2019-10-30 11:03:55 +01:00
<para >
On the affected hardware errors like <literal > Illegal instruction</literal> will occur. In those cases AVX support needs to be disabled:
2019-10-20 13:14:30 +02:00
<programlisting > self: super: {
dlib = super.dlib.override { avxSupport = false; };
}</programlisting>
2019-10-30 11:03:55 +01:00
</para>
</section>
</section>