The command which would print warnings on some
platform. Redirect both stdout and stderr to
/dev/null while running the command.
Signed-off-by: Jiadong Zhu <Jiadong.Zhu@amd.com>
Change-Id: Ibc377681a31a14a3e306ab4fcb14d8d0c853fa86
[ROCm/rocminfo commit: d1efacb47f]
Specifying root-level pipelines for triggers, to allow engineering or specific-release pipelines to be made for the components/repos with the same name.
Change-Id: I10f55ea490e61251a0c959e5e0ba2faba3d690fb
[ROCm/rocminfo commit: 29dfe7d0fc]
python3, glibc, libgcc/libgcc_s1, libstdc++/libstdc++6 added to the RPM package dependency list
python3, libc6, libgcc-s1, libstdc++6 added to the DEB package dependency list
Change-Id: I4843b1431c0d0edf1b0df1e12c82adb4ff53c8cd
[ROCm/rocminfo commit: 1f4752295e]
Package name will have suffix static-dev/devel
rocminfo static package will depend on hsa static package
Change-Id: I3e72b19403c10e74199067f2c725ed4a007ab150
[ROCm/rocminfo commit: 5e4f64e786]
This includes detecting the running environment,
skipping kfd dependency check if in wsl platform
and disabling unavailable information on wsl.
V2: Use wslinfo to detect the environment.
V3: Add back some queries for wsl, as the not_supported
value shall be returned from hsa_runtime.
Signed-off-by: Jiadong Zhu <Jiadong.Zhu@amd.com>
Suggested-by: Tianci Yin <tianci.yin@amd.com>
Change-Id: I686d551c795cb5c5532591623022856f59512205
[ROCm/rocminfo commit: 049ab55393]
Makes all re.compile function calls use raw string to prevent Syntax warning in future, if backslash escape characters are used in regular expressions
https: //github.com/ROCm/rocminfo/pull/66
Suggested-by: Author: Yiyang Wu <xgreenlandforwyy@gmail.com
Change-Id: I6c7aaf016c588bb2ae5a0f979da7d423a78d6ec3
[ROCm/rocminfo commit: e1716642ff]
-m64 only applies to x86-64, it's more reasonable to enable it only on x86_64 host.
It fixes build on some other platforms as well.
Provided by user r-value on github
https: //github.com/RadeonOpenCompute/rocminfo/pull/63
Change-Id: I9c1c40d3fa39b0a61d28041fe4998b5e1ad0cdcd
[ROCm/rocminfo commit: 17de0f9097]
In Python3, unescaped backslashes in regular expressions are deprecated, and these were generating SyntaxWarnings.
Patch submitted by (Tianao Ge <getianao@gmail.com>) on github:
https://github.com/ROCm/rocminfo/pull/55
Change-Id: Icbcf2803291add5b5f3971ac9901a8927d23f225
[ROCm/rocminfo commit: 429baf04fb]
Removing this definition as this should already be defined by compiler.
This is causing compile errors on newer versions of llvm because the
macro is being redefined.
Change-Id: I3bf03617970d4b76dabce36ed980523673afadc5
[ROCm/rocminfo commit: c8db38ede2]
Add query to check whether DMAbuf export is supported on this system
Change-Id: I28caa87b67135d67ffcc94695e4656e7b691d259
[ROCm/rocminfo commit: 2d34dc31f2]
Currently, rocminfo will fail when executed inside a docker container
due to being unable to lsmod inside docker. This has impacts on
rocprofiler use.
Fix this behavior by querying initstate of the amdgpu module from
/sys/module/amdgpu instead. If initstate is marked "live" everything if
fine - error out with either "not loaded" (initstate file does not
exist) or "not live" (initstate file does not contain "live" string).
Change-Id: I6f2e9655942fd4cf840fd3f56b7d69e893fa84d7
[ROCm/rocminfo commit: 94b4b3f0a6]