Cause of error "Caught "std::exception" Exception message is: basic_string::substr: __pos (which is 18446744073709551615) > this->size() (which is 52)"
Mostrar comentarios más antiguos
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 comentarios
Walter Roberson
el 24 de Mzo. de 2021
that number is negative one in 64 bits, and probably indicates that an allocation failed such as if you ran out of gpu memory
Joss Knight
el 24 de Mzo. de 2021
This sounds like a bug, can you provide the code to reproduce this? Thanks.
Robert Kirkby
el 24 de Mzo. de 2021
Editada: Robert Kirkby
el 24 de Mzo. de 2021
Robert Kirkby
el 25 de Mzo. de 2021
Joss Knight
el 25 de Mzo. de 2021
Thanks, I'll check it out.
Joss Knight
el 27 de Mzo. de 2021
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.
Respuestas (0)
Categorías
Más información sobre GPU Computing in MATLAB en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!