code: def fit(self, X, y, queue=None):
      if queue is not None and queue.sycl_device.is_gpu:
          return super()._fit(X, y, queue=queue)
      else:
          raise ValueError(
              "SPMD version of kNN is not implemented for "
              "CPU. Consider running on it on GPU."
          )
  
imports: from abc import ABC
  from onedal.neighbors import KNeighborsClassifier
  from onedal.neighbors import KNeighborsRegressor
  from ..._device_offload import support_usm_ndarray
  from ...common._spmd_policy import _get_spmd_policy
label_desc: Use image node_id 1 for calling the KNeighborsRegressor obj's underlying member method code with example usage: obj.fit(X, y, queue) and returns: super