Error with gpuArray. My code works on two computers but not a 3rd! "The data no longer exists" but it does!
Ältere Kommentare anzeigen
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 Kommentare
Walter Roberson
am 3 Feb. 2023
I wonder if somehow it is running out of memory?
Daniel
am 3 Feb. 2023
Andrea Picciau
am 6 Feb. 2023
Hey Daniel! Can you please post a bit more of what comes before that interp1 call?
Daniel
am 7 Feb. 2023
Oli Tissot
am 20 Feb. 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
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Logical finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!