diff build/linux/amd64/atlas/atlas_smvT.h @ 64:ddea89113517

* ATLAS libraries compiled for AMD64 (on Intel Core 2 Duo MacBook)
author Chris Cannam <c.cannam@qmul.ac.uk>
date Wed, 13 Feb 2008 13:44:40 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/build/linux/amd64/atlas/atlas_smvT.h	Wed Feb 13 13:44:40 2008 +0000
@@ -0,0 +1,23 @@
+#ifndef ATLAS_MVT_H
+#define ATLAS_MVT_H
+
+#include "atlas_misc.h"
+
+#define ATL_mvTMU 2
+#define ATL_mvTNU 16
+#ifndef ATL_L1mvelts
+   #define ATL_L1mvelts ((3*ATL_L1elts)>>2)
+#endif
+#ifndef ATL_mvNNU
+   #include "atlas_smvN.h"
+#endif
+
+#define ATL_GetPartMVT(A_, lda_, mb_, nb_) \
+{ \
+   *(mb_) = (ATL_L1mvelts - (ATL_mvTMU<<1)) / ((ATL_mvTMU<<1)+1); \
+   if (*(mb_) > ATL_mvTNU) *(mb_) = (*(mb_)/ATL_mvTNU)*ATL_mvTNU; \
+   else (*mb_) = ATL_mvTNU; \
+   *(nb_) = ATL_mvTMU; \
+}
+
+#endif