annotate build/linux/amd64/atlas/atlas_cmvN.h @ 102:a861016f4811
* fix obvious memory leak
author |
Chris Cannam <c.cannam@qmul.ac.uk> |
date |
Tue, 12 May 2009 10:34:54 +0000 |
parents |
ddea89113517 |
children |
|
rev |
line source |
c@64
|
1 #ifndef ATLAS_MVN_H
|
c@64
|
2 #define ATLAS_MVN_H
|
c@64
|
3
|
c@64
|
4 #include "atlas_misc.h"
|
c@64
|
5
|
c@64
|
6 #define ATL_mvNMU 32
|
c@64
|
7 #define ATL_mvNNU 1
|
c@64
|
8 #ifndef ATL_L1mvelts
|
c@64
|
9 #define ATL_L1mvelts ((3*ATL_L1elts)>>2)
|
c@64
|
10 #endif
|
c@64
|
11 #define ATL_AXPYMV
|
c@64
|
12
|
c@64
|
13 #define ATL_GetPartMVN(A_, lda_, mb_, nb_) \
|
c@64
|
14 { \
|
c@64
|
15 *(mb_) = (ATL_L1mvelts - (ATL_mvNNU<<1)) / ((ATL_mvNNU<<1)+1); \
|
c@64
|
16 if (*(mb_) > ATL_mvNMU) *(mb_) = ATL_mvNMU*( *(mb_)/ATL_mvNMU ); \
|
c@64
|
17 else *(mb_) = ATL_mvNMU; \
|
c@64
|
18 *(nb_) = ATL_mvNNU; \
|
c@64
|
19 }
|
c@64
|
20
|
c@64
|
21 #endif
|