 
     for (; index < n; index += stride) {
         cuComplex c = x[incx * index];
-        float e = expf(c.x);
-        y[incy * index] = cuCmulf(alpha, make_cuComplex(e * cosf(c.y), e * sinf(c.y)));
+        float e = exp(c.x);
+        y[incy * index] = cuCmulf(alpha, make_cuComplex(e * cos(c.y), e * sin(c.y)));
     }
 }
 

    auto stride = blockDim.x * gridDim.x;

    for (; index < n; index += stride) {
        y[incy * index] = expf(x[incx * index]);
    }
}


    auto stride = blockDim.x * gridDim.x;

    for (; index < n; index += stride) {
        y[incy * index] = alpha * exp(x[incx * index]);
    }
}

