code: def set_intersection(
      env, exec_policy, first1, last1, first2, last2, result, comp=None
  ):
      """Constructs a sorted range that is the set intersection of sorted inputs."""
      # TODO(asi1024): Typecheck for Comparable.
      _assert_exec_policy_type(exec_policy)
      _assert_same_type(first1, last1)
      _assert_same_type(first2, last2)
      _assert_pointer_type(result)
      args = [exec_policy, first1, last1, first2, last2, result]
      if comp is not None:
          raise NotImplementedError("comp option is not supported")
      params = ", ".join([a.code for a in args])
      return _Data(f"thrust::set_intersection({params})", result.ctype)
  
imports: from cupyx.jit import _internal_types
  from cupyx.jit import _cuda_types
  from cupyx.jit._internal_types import Data
label_desc: Use image node_id 39 for calling a global function with example usage: set_intersection(env, exec_policy, first1, last1, first2, last2, result, comp) and returns: _Data