Error with gpuArray. My code works on two computers but not a 3rd! "The data no longer exists" but it does!
7 views (last 30 days)
Show older comments
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 Comments
Oli Tissot
on 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
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Beamforming in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!