Skip to content

Fix memory leaks during SVD failures, and process info code

Ryan Curtin requested to merge rcurtin/bandicoot-code:cuda-svd-cleanup into unstable

This just handles a TODO that was outstanding: cuSolver returns a status code on the device in case of failure, and it wasn't being processed. This MR just processes it and gives better output if the SVD fails. (Where here "better" means we at least say that it failed, and then regurgitate whatever the cuSolver documentation says about these error codes.)

I also fixed a memory leak, where some things weren't being freed if the SVD fails.

Merge request reports