code: def bench_distance_polygon(
      benchmark, lib, polygon_generator_device, n, align, intersects
  ):
      polygons1 = polygon_generator_device(
          int(n), 38, radius=1.0, all_concentric=True
      )
      polygons2 = polygon_generator_device(
          int(n), 38, radius=0.5, all_concentric=True
      )
      index = cudf.Index(cupy.arange(len(polygons1) - 1, -1, -1))
  
      if lib == "geopandas":
          polygons1 = polygons1.to_geopandas()
          polygons2 = polygons2.to_geopandas()
          index = index.to_pandas()
  
      polygons1.index = index
      benchmark(polygons1.distance, polygons2, align)
  
imports: import cupy
  import geopandas
  import pytest
  import cudf
  import cuspatial
label_desc: Use image node_id 23 for calling a global function with example usage: bench_distance_polygon(benchmark, lib, polygon_generator_device, n, align, intersects) without return types