code: def _get_ptx_file(path, prefix):
      if "RAPIDS_NO_INITIALIZE" in os.environ:
          # cc=60 ptx is always built
          cc = int(os.environ.get("STRINGS_UDF_CC", "60"))
      else:
          from numba import cuda
  
          dev = cuda.get_current_device()
  
          # Load the highest compute capability file available that is less than
          # the current device's.
          cc = int("".join(str(x) for x in dev.compute_capability))
      files = glob.glob(os.path.join(path, f"{prefix}*.ptx"))
      if len(files) == 0:
          raise RuntimeError(f"Missing PTX files for cc={cc}")
      regular_sms = []
  
      for f in files:
          file_name = os.path.basename(f)
          sm_number = file_name.rstrip(".ptx").lstrip(prefix)
          if sm_number.endswith("a"):
              processed_sm_number = int(sm_number.rstrip("a"))
              if processed_sm_number == cc:
                  return f
          else:
              regular_sms.append((int(sm_number), f))
  
      regular_result = None
  
      if regular_sms:
          regular_result = _get_best_ptx_file(regular_sms, cc)
  
      if regular_result is None:
          raise RuntimeError(
              "This cuDF installation is missing the necessary PTX "
              f"files that are <={cc}."
          )
      else:
          return regular_result[1]
  
file_path: cudf/python/cudf/cudf/utils/_numba.py
imports: import glob
  import os
  import sys
  import warnings
  from numba import config
label_desc: Use image node_id 2 for calling a global function with example usage: _get_ptx_file(path, prefix) and returns: regular_result, f