Previous Bibliothèque de calcul |
Parent Bibliothèque de calcul |
Outline | Next La source vectorized_propagation.cpp |
Écrivons le fichier vectorized_propagation.h :
1 2 |
#ifndef __VECTORIZED_PROPAGATION_H__ #define __VECTORIZED_PROPAGATION_H__ |
1 |
#include <iostream>
|
1 2 3 4 |
void grayscott_propagation(float * __restrict__ poutMatU, float * __restrict__ poutMatV, const float * __restrict__ pmatU, const float * __restrict__ pmatV, long nbRow, long nbCol, const float * matDeltaSquare, long nbStencilRow, long nbStencilCol, float diffudionRateU, float diffusionRateV, float feedRate, float killRate, float dt); |
1 |
#endif
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
/*************************************** Auteur : Pierre Aubert Mail : aubertp7@gmail.com Licence : CeCILL-C ****************************************/ #ifndef __VECTORIZED_PROPAGATION_H__ #define __VECTORIZED_PROPAGATION_H__ #include <iostream> void grayscott_propagation(float * __restrict__ poutMatU, float * __restrict__ poutMatV, const float * __restrict__ pmatU, const float * __restrict__ pmatV, long nbRow, long nbCol, const float * matDeltaSquare, long nbStencilRow, long nbStencilCol, float diffudionRateU, float diffusionRateV, float feedRate, float killRate, float dt); #endif |
Previous Bibliothèque de calcul |
Parent Bibliothèque de calcul |
Outline | Next La source vectorized_propagation.cpp |