Explorar o código

Make sure people don't try to compile xgemm.c directly

Samuel Thibault %!s(int64=11) %!d(string=hai) anos
pai
achega
605deae422
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      examples/mult/xgemm.c

+ 4 - 0
examples/mult/xgemm.c

@@ -16,6 +16,10 @@
  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  */
 
+#ifndef TYPE
+#error "Do not compile xgemm.c directly, compile sgemm.c or dgemm.c"
+#endif
+
 #include <limits.h>
 #include <string.h>
 #include <math.h>