This program takes input array and a add scalar
and writes the result of adding them to a new output array.
The value of this example is that input and output arrays
may have different memory layouts. One may contain vector data
and the other may contain scalars.