Skip to content
New issue

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

CURAND generators not destroyed #1406

Closed
Destranix opened this issue Sep 14, 2023 · 2 comments · Fixed by #1417
Closed

CURAND generators not destroyed #1406

Destranix opened this issue Sep 14, 2023 · 2 comments · Fixed by #1417

Comments

@Destranix
Copy link

Not sure if destruction is necessary, the API reference does not state that. But it has a function for destruction of generators and on my device I'm getting an a curand allocation exception after a couple of iterations of Idr solver with Cuda executor.

@yhmtsai
Copy link
Member

yhmtsai commented Sep 14, 2023

Thanks for reporting it!
I add the destroy function in the branch destroy_curand https://github.com/ginkgo-project/ginkgo/tree/destroy_curand
Could you check whether it works for you or not?

@Destranix
Copy link
Author

"Could you check whether it works for you or not?"

Curently not. Got some stressing deadline and no time to rebuild the project. But I will keep the E-Mail, so maybe in a couple of monts I can retry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants