annotate build/linux/amd64/atlas/atlas_cmvT.h @ 114:496e6d6eb413

* Add "coarse" option
author Chris Cannam <c.cannam@qmul.ac.uk>
date Thu, 21 May 2009 16:40:24 +0000
parents ddea89113517
children
rev   line source
c@64 1 #ifndef ATLAS_MVT_H
c@64 2 #define ATLAS_MVT_H
c@64 3
c@64 4 #include "atlas_misc.h"
c@64 5
c@64 6 #define ATL_mvTMU 2
c@64 7 #define ATL_mvTNU 8
c@64 8 #ifndef ATL_L1mvelts
c@64 9 #define ATL_L1mvelts ((3*ATL_L1elts)>>2)
c@64 10 #endif
c@64 11 #ifndef ATL_mvNNU
c@64 12 #include "atlas_cmvN.h"
c@64 13 #endif
c@64 14
c@64 15 #define ATL_GetPartMVT(A_, lda_, mb_, nb_) \
c@64 16 { \
c@64 17 *(mb_) = (ATL_L1mvelts - (ATL_mvTMU<<1)) / ((ATL_mvTMU<<1)+1); \
c@64 18 if (*(mb_) > ATL_mvTNU) *(mb_) = (*(mb_)/ATL_mvTNU)*ATL_mvTNU; \
c@64 19 else (*mb_) = ATL_mvTNU; \
c@64 20 *(nb_) = ATL_mvTMU; \
c@64 21 }
c@64 22
c@64 23 #endif