Quantcast
Channel: 最近的帖子
Viewing all articles
Browse latest Browse all 23

Intel Auto-Vectorization

$
0
0

Intel C++ Composer XE 2011( -vec(Linux* OS)/Qvec(Window*OS))Auto-vectorization

Vectorization

void matvec(int size1, int size2, FTYPE a[][size2], FTYPE b[], FTYPE x[])

{

int i, j;

for (i = 0; i < size1; i++) {

b[i] = 0;

for (j = 0;j < size2; j++) {

b[i] += a[i][j] * x[j];

}

}

}


Viewing all articles
Browse latest Browse all 23

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>