make ATen/native/cuda/DistanceKernel.cu data_ptr-correct (#99327)
make ATen/native/cuda/DistanceKernel.cu data_ptr-correct
Test Plan: Rely on CI.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/99327
Approved by: https://github.com/ezyang