-
Notifications
You must be signed in to change notification settings - Fork 52
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
littlewu2508
wants to merge
1
commit into
ROCm:develop
Choose a base branch
from
littlewu2508:detectamdgpu
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
keryell
requested changes
May 27, 2022
There was a problem hiding this 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.
littlewu2508
force-pushed
the
detectamdgpu
branch
from
January 1, 2024 09:33
dc2a4b5
to
f95cde2
Compare
littlewu2508
requested review from
dmitrii-galantsev,
charis-poag-amd and
oliveiradan
as code owners
January 1, 2024 09:33
In case amdgpu is builtin Closes: ROCm#102 Signed-off-by: YiyangWu <xgreenlandforwyy@gmail.com>
littlewu2508
force-pushed
the
detectamdgpu
branch
from
January 1, 2024 09:57
f95cde2
to
fe96886
Compare
Could this be reconsidered? I had to patch my rocm-smi because I'm building amdgpu into the kernel, but it works fine without that. |
rocm-ci
pushed a commit
to ROCm/amdsmi
that referenced
this pull request
Nov 6, 2024
… as kernel built-in. Fixes ROCm/rocm_smi_lib#102 and is an updated version of ROCm/rocm_smi_lib#104 Change-Id: Icb3abe820bc67035b822358a1c04bd09a7c22b6b Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com> Reviewed-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes: #102
Signed-off-by: YiyangWu xgreenlandforwyy@gmail.com