6.1.1.3.1 : Le fichier header

Écrivons le fichier sgemm_vectorize.h :



1
2
3
4
5
6
7
8
9
#ifndef __SGEMM_VECTORIZE_H__
#define __SGEMM_VECTORIZE_H__


void sgemm_vectorize(float* __restrict__ pmatOut, const float* __restrict__ pmatX, const float* __restrict__ pmatY, long unsigned int size);



#endif


Le fichier sgemm_vectorize.h complet :

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/***************************************
	Auteur : Pierre Aubert
	Mail : pierre.aubert@lapp.in2p3.fr
	Licence : CeCILL-C
****************************************/

#ifndef __SGEMM_VECTORIZE_H__
#define __SGEMM_VECTORIZE_H__


void sgemm_vectorize(float* __restrict__ pmatOut, const float* __restrict__ pmatX, const float* __restrict__ pmatY, long unsigned int size);



#endif


Vous pouvez le télécharger ici.