BAR Resize from cuda program userspace?

Is there an undocumented way to request a resize on the BAR for devices with resizable BAR from user space? Is the only method to provide my own kernel module and manually call pci_resize_resource?

Background info, I am writing a program that utilizes GPUDrirect RDMA to perform DMA to an RTX A6000 utilizing lazy pinning. I would like to pin Gigabytes of memory, but the default BAR is too small.