Rev | Line | |
---|
[97] | 1 | #ifndef ATLAS_MVT_H |
---|
| 2 | #define ATLAS_MVT_H |
---|
| 3 | |
---|
| 4 | #include "atlas_misc.h" |
---|
| 5 | |
---|
| 6 | #define ATL_mvTMU 2 |
---|
| 7 | #define ATL_mvTNU 16 |
---|
| 8 | #ifndef ATL_L1mvelts |
---|
| 9 | #define ATL_L1mvelts ((3*ATL_L1elts)>>2) |
---|
| 10 | #endif |
---|
| 11 | #ifndef ATL_mvNNU |
---|
| 12 | #include "atlas_smvN.h" |
---|
| 13 | #endif |
---|
| 14 | |
---|
| 15 | #define ATL_GetPartMVT(A_, lda_, mb_, nb_) \ |
---|
| 16 | { \ |
---|
| 17 | *(mb_) = (ATL_L1mvelts - (ATL_mvTMU<<1)) / ((ATL_mvTMU<<1)+1); \ |
---|
| 18 | if (*(mb_) > ATL_mvTNU) *(mb_) = (*(mb_)/ATL_mvTNU)*ATL_mvTNU; \ |
---|
| 19 | else (*mb_) = ATL_mvTNU; \ |
---|
| 20 | *(nb_) = ATL_mvTMU; \ |
---|
| 21 | } |
---|
| 22 | |
---|
| 23 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.