code: def point_generator_device():
      def generator(n):
          coords = cp.random.random(n * 2, dtype="f8")
          return cuspatial.GeoSeries.from_points_xy(coords)
  
      return generator
  
imports: import cupy
  import geopandas
  import numpy
  import pandas
  import pytest
  import pytest_cases
  from numba import cuda
  from shapely.geometry import LineString, MultiLineString, MultiPoint, MultiPolygon, Point, Polygon
  import cudf
  import cuspatial
label_desc: Use image node_id 14 for calling a global function with example usage: point_generator_device() and returns: generator, cuspatial