        buffer: {
          type: 'storage',
          hasDynamicOffset: true,
        },
      },
    ],
  });

  const pipelineLayout = device.createPipelineLayout({
    bindGroupLayouts: [ bindGroupLayout ],
  });

  const pipeline = device.createComputePipeline({
    label: 'add elements compute pipeline',
    layout: pipelineLayout,
    compute: {
      module,
    },
  });

  const input = new Float32Array(64 * 3);
  input.set([1, 3, 5]);
  input.set([11, 12, 13], 64);

  // create a buffer on the GPU