We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In cuda::memory::virtual::set_access_mode(), we were allocating:
cuda::memory::virtual::set_access_mode()
auto descriptors = new CUmemAccessDesc[devices.size()];
... without releasing. Instead, let's use an std::unique_ptr.
std::unique_ptr
The text was updated successfully, but these errors were encountered:
Fixes #450: Avoiding memory leak in `cuda::memory::virtual::set_acces…
3c6fdf4
…s_mode()` * Now using an `std::unique_ptr` rather than a raw `new`.
b0c4d5a
e07329d
004bcdd
1bf87fc
9a9ef06
eyalroz
No branches or pull requests
In
cuda::memory::virtual::set_access_mode()
, we were allocating:... without releasing. Instead, let's use an
std::unique_ptr
.The text was updated successfully, but these errors were encountered: