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

Check /sys/module/amdgpu for ROCk instead of lsmod #104

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

littlewu2508
Copy link

Closes: #102

Signed-off-by: YiyangWu xgreenlandforwyy@gmail.com

Copy link

@keryell keryell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the simplification.
But then I think you could just use Python code to test for the file existence instead of forking a shell.

In case amdgpu is builtin

Closes: ROCm#102

Signed-off-by: YiyangWu <xgreenlandforwyy@gmail.com>
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 this pull request may close these issues.

driverInitialized check not valid
2 participants