Buffersize overflows for cusolver's QR decomposition

I believe I have tracked down a bug in my code that is causing CUDA error at CUSOLVER_STATUS_INVALID_VALUE errors in cusolverDnSgeqrf/cusolverDnSorgqr calls. The buffersize being returned from cusolverDnSorgqr_bufferSize is overflowing for large matrices. I have attached a reproducer: test_buffersize.cu.txt (1.1 KB). It gives the following output:

buffer sizes (53482398x81 matrix): 973512944 bytes (0.906655 GB), 37139968 bytes (0.034589 GB)
buffer sizes (26741199x81 matrix): 486822416 bytes (0.453389 GB), -2128897152 bytes (-1.982690 GB)
buffer sizes (13370599x81 matrix): 243476880 bytes (0.226756 GB), 1083051552 bytes (1.008670 GB)
buffer sizes (6685299x81 matrix): 121805168 bytes (0.113440 GB), 541542272 bytes (0.504351 GB)
buffer sizes (3342649x81 matrix): 60969312 bytes (0.056782 GB), 270787616 bytes (0.252191 GB)
buffer sizes (1671324x81 matrix): 30550592 bytes (0.028452 GB), 135410272 bytes (0.126111 GB)
buffer sizes (835662x81 matrix): 15340976 bytes (0.014287 GB), 67721664 bytes (0.063071 GB)
buffer sizes (417831x81 matrix): 7736960 bytes (0.007206 GB), 33877344 bytes (0.031551 GB)
buffer sizes (208915x81 matrix): 3934944 bytes (0.003665 GB), 16955168 bytes (0.015791 GB)
buffer sizes (104457x81 matrix): 2033408 bytes (0.001894 GB), 8494048 bytes (0.007911 GB)
buffer sizes (52228x81 matrix): 1082112 bytes (0.001008 GB), 4263520 bytes (0.003971 GB)
buffer sizes (26114x81 matrix): 607264 bytes (0.000566 GB), 2148288 bytes (0.002001 GB)
buffer sizes (13057x81 matrix): 196608 bytes (0.000183 GB), 1090656 bytes (0.001016 GB)
buffer sizes (6528x81 matrix): 196608 bytes (0.000183 GB), 561792 bytes (0.000523 GB)
buffer sizes (3264x81 matrix): 196608 bytes (0.000183 GB), 297408 bytes (0.000277 GB)
buffer sizes (1632x81 matrix): 196608 bytes (0.000183 GB), 165216 bytes (0.000154 GB)
buffer sizes (816x81 matrix): 196608 bytes (0.000183 GB), 99136 bytes (0.000092 GB)
buffer sizes (408x81 matrix): 196608 bytes (0.000183 GB), 66080 bytes (0.000062 GB)
buffer sizes (204x81 matrix): 196608 bytes (0.000183 GB), 49568 bytes (0.000046 GB)
buffer sizes (102x81 matrix): 196608 bytes (0.000183 GB), 41312 bytes (0.000038 GB)

As you can see reading from the bottom to the top, the second buffersize for orgqr doubles as I double the number of rows in the matrix until it reaches the 26741199x81.

Is there a way to pass in a larger datatype, i.e. int64_t to cusolver functions?