code: def write_timings(timings: typing.Sequence[MatmulTiming]) -> None:
      """Write matmul timing data to CSV output."""
      with open(_OUTPUT_FILE.value, "a") as f:
          writer = csv.writer(f)
          for d in timings:
              writer.writerow(
                  [
                      d.dims.M,
                      d.dims.N,
                      d.dims.K,
                      d.dims.quantized_lhs,
                      d.tiling.BLOCK_M,
                      d.tiling.BLOCK_N,
                      d.tiling.BLOCK_K,
                      d.tiling.SPLIT_K,
                      d.tiling.num_stages,
                      d.tiling.num_warps,
                      d.min_time_ms,
                  ]
              )
  
imports: import concurrent.futures
  import csv
  import itertools
  import logging
  import os
  import random
  import sys
  import time
  import typing
  from absl import app
  from absl import flags
  from matmul_lib import benchmark_matmul
  from matmul_lib import generate_tiling_configs
  from matmul_lib import MatmulSize
  from matmul_lib import MatmulTiming
  from matmul_lib import parse_int_list
  from matmul_lib import parse_layout_list
  from matmul_lib import QuantizedInputType
  import numpy
  import torch
  import tqdm
  from tqdm.contrib.logging import logging_redirect_tqdm
label_desc: Use image node_id 3 for calling a global function with example usage: write_timings(timings) without return types