mirror of
https://github.com/RRZE-HPC/OSACA.git
synced 2026-01-05 10:40:06 +01:00
14 lines
202 B
C
14 lines
202 B
C
|
|
void daxpy(int N){
|
|
void dummy(double*, double*);
|
|
double a[N], b[N];
|
|
double s;
|
|
|
|
//STARTLOOP
|
|
for(int i=0; i<N; ++i)
|
|
a[i] = a[i] + s * b[i];
|
|
|
|
dummy(&a[1], &b[1]);
|
|
}
|
|
|