Révision 298 ETSN/MySteps_1_openacc.c

MySteps_1_openacc.c (revision 298)
11 11

  
12 12
#define MYFLOAT float
13 13

  
14
/* #pragma acc routine */
15
/* MYFLOAT MySillyFunction(MYFLOAT x) */
16
/* { */
17
/*     return(pow(sqrt(log(exp(atanh(tanh(asinh(sinh(acosh(cosh(atan(tan(asin(sin(acos(cos(x))))))))))))))),2));  */
18
/* } */
19

  
20 14
void MySum(MYFLOAT *res, MYFLOAT *a, MYFLOAT *b, int size)
21 15
{
22 16
  for (uint i=0; i<size;i++) 

Formats disponibles : Unified diff