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

Is it possible to close /dev/kfd from high-level interface? #123

Open
ghostplant opened this issue Feb 12, 2022 · 1 comment
Open

Is it possible to close /dev/kfd from high-level interface? #123

ghostplant opened this issue Feb 12, 2022 · 1 comment

Comments

@ghostplant
Copy link

This is an example of the code:

hipSetDevice(0);
hipLaunchKernel(...);
hipDeviceReset();

// Do other CPU things that is no longer related to GPU
...
...

We want something like hipDeviceReset to close any fd/mmap connections with /dev/kfd & /dev/dri/xxxxx. How is it possible?

@ppanchad-amd
Copy link

@ghostplant Apologies for the lack of response. Do you still need assistance with this ticket? If not, please close the ticket. Thanks!

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

No branches or pull requests

2 participants