StructuredBuffer<float> input_buffer;
RWStructuredBuffer<float> output_buffer;

[shader("compute")]
[numthreads(32,1,1)]
void main(uint3 thread_id : SV_DispatchThreadID)
{
    output_buffer[thread_id.x] = 2.0 * input_buffer[thread_id.x];
}