view build/linux/amd64/atlas/atlas_sr1.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 source
#ifndef ATLAS_SR1_H
#define ATLAS_SR1_H

#define ATL_L1r1elts 7127
#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