Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- float[] getVector(float**** polinom, int latura, int nrCoef, int nrPolinom)
- {
- int lungimeVec = nrCoef * latura * latura ;
- float getVec[lungimeVec] __attribute__((aligned(128));
- int contor = 0 ,j,k,l;
- for(j = 0; j < nrCoef; j++){
- for(k = 0; k < latura; k++){
- for(l = 0; l < latura; l++){
- getVec[contor++] = polinom[nrPolinom][j][k][l];
- }
- }
- }
- return getVec;
- }
- {
- int main()
- float values1[100] __attribute__((aligned(128)));
- values1 = getVector(polinom, latura, vectorDeCoef[1], 1);
- }
Add Comment
Please, Sign In to add comment