code: def _get_cutlass_compile_options(sm, threads, use_fast_math=False):
      cutlass_root = _get_cutlass_path()
      cutlass_include = os.path.join(cutlass_root, "include")
      cutlass_util_include = os.path.join(
          cutlass_root, "tools/util/include"
      )
  
      kwargs = {}
      kwargs["cc"] = "nvcc"
      kwargs["options"] = [
          "-c",
          "-DCUTLASS_ENABLE_TENSOR_CORE_MMA=1",
          f"-gencode=arch=compute_{sm},code=[sm_{sm},compute_{sm}]",
          "-DNDEBUG",
          "-Xcompiler=-fPIC",
          "-Xcompiler=-Wconversion",
          "-Xcompiler=-fno-strict-aliasing",
          "-Xcompiler=-fvisibility=hidden",
          "-O3",
          "-std=c++17",
          f"-I{cutlass_include}",
          f"-I{cutlass_util_include}",
      ]
      if use_fast_math:
          kwargs["options"].append("-DCUTLASS_USE_TANH_FOR_SIGMOID")
      cuda_ver = get_cuda_version()
      if cuda_ver >= (11, 2):
          ncpu = multiprocessing.cpu_count() if threads < 0 else threads
          kwargs["options"].append(f"-t {ncpu}")
      return kwargs
  
imports: import logging
  import os
  import multiprocessing
  import tvm
  from tvm import relay, runtime
  from tvm._ffi.registry import register_func
  from tvm.contrib.nvcc import get_cuda_version
  from .gen_conv2d import CutlassConv2DProfiler
  from .gen_gemm import CutlassGemmProfiler
  from .library import ConvKind
label_desc: Use image node_id 3 for calling a global function with example usage: _get_cutlass_compile_options(sm, threads, use_fast_math) and returns: kwargs