code: def append_nvcc_threads(nvcc_extra_args: List[str]) -> List[str]:
      """
      This function appends the threads flag to your nvcc args.
  
      Returns:
          The nvcc compilation flags including the threads flag.
      """
      from torch.utils.cpp_extension import CUDA_HOME
  
      bare_metal_major, bare_metal_minor = get_cuda_bare_metal_version(
          CUDA_HOME
      )
      if int(bare_metal_major) >= 11 and int(bare_metal_minor) >= 2:
          return nvcc_extra_args + ["--threads", "4"]
      return nvcc_extra_args
  
file_path: ColossalAI/colossalai/kernel/op_builder/utils.py
imports: import os
  import re
  import subprocess
  import warnings
  from typing import List
label_desc: Use image node_id 10 for calling a global function with example usage: append_nvcc_threads(nvcc_extra_args) and returns: nvcc_extra_args, unknown