You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the CUDA.CUBLAS.nrm2 wrapper function fails, when the length of the array is greater than supported by Int32.
This also causes the LinearAlgebra.norm implementation to fail causing an error with the following signature: "InexactError: trunc(Int32, 4294967296)".
For me, appending the nrm2 wrapper definition to include the 64 bit variants of the nrm2 functions, namely cublasDnrm2_v2_64, cublasSnrm2_v2_64, cublasDznrm2_v2_64, cublasScnrm2_v2_64, presents the best solution.
The text was updated successfully, but these errors were encountered:
Currently, the CUDA.CUBLAS.nrm2 wrapper function fails, when the length of the array is greater than supported by Int32.
This also causes the LinearAlgebra.norm implementation to fail causing an error with the following signature: "InexactError: trunc(Int32, 4294967296)".
For me, appending the nrm2 wrapper definition to include the 64 bit variants of the nrm2 functions, namely cublasDnrm2_v2_64, cublasSnrm2_v2_64, cublasDznrm2_v2_64, cublasScnrm2_v2_64, presents the best solution.
The text was updated successfully, but these errors were encountered: