high-level axpy (y = alpha * x + y) wrapper for CuPtr
cublas tests
auto a = CuArray!float([3, 4, 5]); auto b = CuArray!float([1, 2, 3]); axpy(a, b, 2.0); assert(a.toHost() == [3, 4, 5]); assert(b.toHost() == [7, 10, 13]);
See Implementation
high-level axpy (y = alpha * x + y) wrapper for CuPtr