See the discussion starting https://github.com/NVIDIA/cuda-python/pull/470#issuecomment-2690826121.