Error with gpuArray. My code works on two computers but not a 3rd! "The data no longer exists" but it does!
Afficher commentaires plus anciens
I am doing some beamforming on GPU and it doesn't work on my newly installed computer. This code works on my workstation with a GTX 2080Ti, my laptop with an RTX A2000, but it wont run on my lab computer also with a GTX 2080Ti. This computer is a totally fresh install. The only thing that isn't new is the graphics card. I'm reusing the old one while a GTX4080 ships.
Here is the error from a smaller section of the command:
interp1(RcvData_gpu, delay_ind_gpu);
Error using gpuArray/interp1
The data no longer exists on the device.
But in the same moment i can test if those vars existOnGPU and I get true for both.
K>> existsOnGPU(RcvData_gpu)
existsOnGPU(delay_ind_gpu)
ans =
logical
1
ans =
logical
1
What gives? Any ideas?
Thanks in advance!
5 commentaires
Walter Roberson
le 3 Fév 2023
I wonder if somehow it is running out of memory?
Daniel
le 3 Fév 2023
Andrea Picciau
le 6 Fév 2023
Hey Daniel! Can you please post a bit more of what comes before that interp1 call?
Daniel
le 7 Fév 2023
Oli Tissot
le 20 Fév 2023
Hi Daniel,
Thank you for reporting! I would like to reproduce the issue on my side to understand what is going on but some variables are not defined in your code snippet: x_gpu, Array_Positions_gpu, etc. What I need is some script that exhibit the issue and that I can reproduce on my side (everything must be defined there). Would it be it possible for you to get that and post it here for me? Then I could investigate the issue.
Cheers,
Oli
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Logical dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!