-
-
Notifications
You must be signed in to change notification settings - Fork 285
Closed
Description
I use Julia Version 1.7.0 (2021-11-30) on a machine with a CUDA-enabled card.
I see that Julia keeps downloading the same artifacts over and over whenever you submit a code that invokes CUDA functionalities on the GPU.
To clarify if you submit the following code and exit Julia and come back again and submit the same code you will have to wait again for Julia to download all CUDA artifacts. However, if you repeat the command within the same session (without exiting Julia) it will not download the artifacts again. The code runs successfully eitherway.
Is this behavior intended?
using CUDA, LinearAlgebra
function cuinv(m::Matrix{T}) where T
A = CuArray(m)
B = CuArray(Matrix{T}(I(size(A,1))))
A, ipiv = CUDA.CUSOLVER.getrf!(A)
Matrix{T}(CUDA.CUSOLVER.getrs!('N', A, ipiv, B))
end
A = rand(100,100)
B = cuinv(A)
I have already posted this issue on the CUDA.jl repository and it seems that the issue is not caused by CUDA.jl.
Metadata
Metadata
Assignees
Labels
No labels