view build/linux/amd64/atlas/atlas_cr1.h @ 130:c655fa61884f

* Solaris build fixes
author Chris Cannam <c.cannam@qmul.ac.uk>
date Mon, 14 Sep 2009 13:01:57 +0000
parents ddea89113517
children
line wrap: on
line source
#ifndef ATLAS_CR1_H
#define ATLAS_CR1_H

#define ATL_L1r1elts 3809
#define ATL_r1MU 16
#define ATL_r1NU 1

#define ATL_GetPartR1(A_, lda_, mb_, nb_) \
{ \
   (mb_) = (ATL_L1r1elts - (ATL_r1NU+ATL_r1NU)) / (ATL_r1NU+ATL_r1NU+1); \
   if ((mb_) > ATL_r1MU) (mb_) = ATL_r1MU*((mb_)/ATL_r1MU); \
   else (mb_) = ATL_r1MU; \
   (nb_) = ATL_r1NU; \
}

#endif