function triad(a::Array{Float32, 1}, b::Array{Float32, 1}, scalar::Float32, c::Array{Float32, 1})
    local i::Int32
    local n::Int32
    n = length(a)
    Threads.@threads for i ∈ 1:n
        c[i] = a[i] + scalar * b[i]
    end
end

