Skip to content

Conversation

@littlewu2508
Copy link

Closes: #102

Signed-off-by: YiyangWu [email protected]

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 <[email protected]>
@LtdJorge
Copy link
Contributor

LtdJorge commented Aug 5, 2024

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.

LtdJorge added a commit to LtdJorge/rocm_smi_lib that referenced this pull request Aug 5, 2024
… as kernel built-in. Fixes ROCm#102 and is an updated version of ROCm#104
@LtdJorge
Copy link
Contributor

LtdJorge commented Aug 5, 2024

I opened #189 to address what @keryell mentioned. The new PR also does away with driverInitialized being a string, checking its length and then returning a bool. driverInitialized is now a bool and is returned directly.

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 <[email protected]>
Reviewed-by: Galantsev, Dmitrii <[email protected]>
rocm-ci pushed a commit that referenced this pull request Nov 6, 2024
… as kernel built-in. Fixes #102 and is an updated version of #104

Change-Id: Icb3abe820bc67035b822358a1c04bd09a7c22b6b
Signed-off-by: Galantsev, Dmitrii <[email protected]>
Reviewed-by: Galantsev, Dmitrii <[email protected]>
jayhawk-commits pushed a commit to ROCm/rocm-systems that referenced this pull request Aug 8, 2025
… 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 <[email protected]>
Reviewed-by: Galantsev, Dmitrii <[email protected]>


[ROCm/rocm_smi_lib commit: 35c1d00]
jamescoxshannahhector18 added a commit to jamescoxshannahhector18/rocm_smi_lib that referenced this pull request Oct 10, 2025
… 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 <[email protected]>
Reviewed-by: Galantsev, Dmitrii <[email protected]>
otashow added a commit to otashow/rocm_smi_lib that referenced this pull request Oct 12, 2025
… 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 <[email protected]>
Reviewed-by: Galantsev, Dmitrii <[email protected]>
ammallya pushed a commit that referenced this pull request Oct 28, 2025
… as kernel built-in. Fixes #102 and is an updated version of #104

Change-Id: Icb3abe820bc67035b822358a1c04bd09a7c22b6b
Signed-off-by: Galantsev, Dmitrii <[email protected]>
Reviewed-by: Galantsev, Dmitrii <[email protected]>


[ROCm/rocm_smi_lib commit: 35c1d00]
ammallya pushed a commit to ROCm/rocm-systems that referenced this pull request Nov 18, 2025
… 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 <[email protected]>
Reviewed-by: Galantsev, Dmitrii <[email protected]>


[ROCm/amdsmi commit: 172a3e2]
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

3 participants