Mercurial > hg > qm-vamp-plugins
annotate build/linux/amd64/atlas/atlas_zr1.h @ 230:e713abed48e5
Spelling
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Fri, 24 May 2019 11:41:51 +0100 |
parents | ddea89113517 |
children |
rev | line source |
---|---|
c@64 | 1 #ifndef ATLAS_ZR1_H |
c@64 | 2 #define ATLAS_ZR1_H |
c@64 | 3 |
c@64 | 4 #define ATL_L1r1elts 2048 |
c@64 | 5 #define ATL_r1MU 16 |
c@64 | 6 #define ATL_r1NU 1 |
c@64 | 7 |
c@64 | 8 #define ATL_GetPartR1(A_, lda_, mb_, nb_) \ |
c@64 | 9 { \ |
c@64 | 10 (mb_) = (ATL_L1r1elts - (ATL_r1NU+ATL_r1NU)) / (ATL_r1NU+ATL_r1NU+1); \ |
c@64 | 11 if ((mb_) > ATL_r1MU) (mb_) = ATL_r1MU*((mb_)/ATL_r1MU); \ |
c@64 | 12 else (mb_) = ATL_r1MU; \ |
c@64 | 13 (nb_) = ATL_r1NU; \ |
c@64 | 14 } |
c@64 | 15 |
c@64 | 16 #endif |