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