Cause of error "Caught "std::exception" Exception message is: basic_string::substr: __pos (which is 18446744073709551615) > this->size() (which is 52)"
6 次查看(过去 30 天)
显示 更早的评论
I get the following error message when using 'arrayfun()' to evaluate a function on the gpu. (I have often used this command without this error)
Caught "std::exception" Exception message is:
basic_string::substr: __pos (which is 18446744073709551615) > this->size() (which is 52)
I cannot understand the cause. Any ideas?
6 个评论
Joss Knight
2021-3-27
Unfortunately I cannot reproduce this. You might have to capture the value of the variables used in the arrayfun call in a mat-file so I can be sure of getting the exact same numbers.
This isn't the first problem we've seen on Ubuntu 20. It might be worth downgrading your GPU driver to a 455 to see if that's the problem. You can start here to search for archived drivers for your GPU.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 GPU Computing in MATLAB 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!