Ashutosh Mishra
d89689c978
Standardizing Package name
...
Enables standards compliant package naming for debian and rpm
Signed-off-by: Ashutosh Mishra <ashutosh.mishra@amd.com >
Change-Id: I38af7b31f0c17d0c38ea7c2eb143770e7f1d74b2
[ROCm/rocminfo commit: e7b43b970f ]
2020-10-24 10:08:00 +05:30
Ashutosh Mishra
59b2c3308d
Adapting to latest HSA changes
...
JIRA : SWDEV-234471
With this change rocminfo exe shall be created using using hsa-runtime64::hsa-runtime64 which
internally decides whether static or shared libs based on its cmake build options
S. Keely:
Update patch to use find_package for rocr dependency.
Removed deadcode now supported by find_package.
Removed "hsa/" prefix from include statements since find_package
points to the target (ie rocr) include directory.
Removed typedef on structs due to new clang-11 warning.
Adapting to the comments : Removed PATHS for hsa find_package
Change-Id: I1ec65cdbce3085e44f1839da196eb4ae5c9ff30d
[ROCm/rocminfo commit: 605b3a5105 ]
2020-07-09 18:38:46 +05:30
Matt Arsenault
c41682dc99
Refer explicitly to python3 in shebang line
...
On Ubuntu 20.04, there is no more python or python2. Currently I get
this: /usr/bin/env: ‘python’: No such file or directory
Change-Id: Ib310b8aa7c1bd62973ef3cc8bcaf571831ad4435
[ROCm/rocminfo commit: 5d6be5b808 ]
2020-05-04 09:40:11 -04:00
Chris Freehill
2ca29819a6
Correct spelling of output message
...
Change-Id: Id7789e622ea76cc53c3be719798c3c1f90ede6e2
[ROCm/rocminfo commit: 7624cc1008 ]
2020-05-01 13:22:50 -04:00
Matt Arsenault
de4494c3ed
Change check for /dev/kfd permissions
...
On newer kernels, it seems the group was changed from "video" to
"render". The check for video group misled me for quite some time, so
relax this check. Rather than specifically checking for video group
ownership, first see if /dev/kfd can be open as read-write. Then
diagnose whether the user belongs to the group that owns it, rather
than hardcoding the video group.
Change-Id: I9e65427363e9a5cdba802e09cee2f40fb80520ed
[ROCm/rocminfo commit: cd4b7cea85 ]
2020-05-01 10:14:21 -04:00
Chris Freehill
aa4f01d778
Fix rocm_agent_enumerator on RHEL
...
This fixes SWDEV-231760
Change-Id: If704c8ff76548e10ddbda1b5c1ad0c28df7ab6f0
[ROCm/rocminfo commit: 373d8abdec ]
2020-04-16 16:39:51 -05:00
Ramesh Errabolu
3419887e38
Extend rocminfo to print UUID of ROCm devices
...
Change-Id: I258962046e6d05dda91a8c48af646e50500b2d53
[ROCm/rocminfo commit: a1b4a580fc ]
2020-04-13 20:42:43 -05:00
Chris Freehill
7d36b45731
Fix ennumerator id parser.
...
Fixes SWDEV-226018
Change-Id: I14144cdd316c19fe29dcd70b406a52aac8a741cd
[ROCm/rocminfo commit: 70ebe13a89 ]
2020-03-06 19:50:35 -05:00
Wilfried Holzke
86e8ee885c
Added documentation for the new env var.
...
Change-Id: I0407a5dd36e91a1ea205ce4dda9a7fca906e1266
[ROCm/rocminfo commit: a134847069 ]
2019-12-16 10:38:47 -06:00
Wilfried Holzke
3960cc7d49
Added env var to set target.lst
...
Change-Id: Ie6aefba6ef79360e65d4a64a6be1ec50e59b5741
[ROCm/rocminfo commit: 12736c6fd8 ]
2019-12-16 10:37:33 -06:00
Chris Freehill
8eeb8d3e5f
Fix for running rocminfo on wider variety of CPUs
...
Change-Id: I7acc46d2fec97ae1026643f79e59dd632444ce2e
[ROCm/rocminfo commit: 9b0cd9e428 ]
2019-12-09 14:59:57 -06:00
Chris Freehill
3f0aab31d5
Update README to include instruction to fetch git tags
...
Also, slight reformatting.
Change-Id: I7c35343556e48cadccd266b41465fb5ea04ace29
[ROCm/rocminfo commit: 831f3ab124 ]
2019-12-09 14:51:53 -06:00
Chris Freehill
7be9165a61
Require >= CMake3.5 instead of 2.8
...
Change-Id: I5e0045fad2ecc028c2dcb9fd78805dfb42a9e2ed
[ROCm/rocminfo commit: 2afaae2fbe ]
2019-12-09 11:57:09 -06:00
Craig Andrews
7b18eda121
Install to standard locations using GNUInstallDirs
...
Change-Id: I6bafae15d2a0dfb70389673e03b6f72737786501
[ROCm/rocminfo commit: f1181e0569 ]
2019-08-22 23:02:30 -05:00
Chris Freehill
48e4985f5b
Update versioning to new uniform standards
...
Change-Id: I93eb3170fedeee98caf7b3fd8f63a8c0fef5fd78
[ROCm/rocminfo commit: 9842beb770 ]
2019-08-22 12:01:49 -05:00
Craig Andrews
96fdd37b2c
Use CACHE variables, allow overriding ROCR_LIB_DIR/ROCR_INC_DIR
...
CACHE variables allow for variables to be documented, and
ROCR_LIB_DIR/ROCR_INC_DIR should be overridable as they'll
have different values on different Linux distributions.
Change-Id: I0bba633c184df2da55bdbe6aabbd53346d098b83
[ROCm/rocminfo commit: 04dc08664e ]
2019-08-22 08:02:31 -05:00
Craig Andrews
a013e37c8f
Messages indicating fatal errors should be fatal
...
Change-Id: Ib071d3f6ed216c817daa637fc784680ef9d123f8
[ROCm/rocminfo commit: 9f5349806a ]
2019-08-21 22:28:54 -05:00
Wilfried Holzke
ead25aa1a5
Fixed sizeof(err_val) to return the number of characters in the array
...
Change-Id: I7e4f04d10b2f9cc9dbed2431e53b5ebc540acf56
[ROCm/rocminfo commit: 6f140e5391 ]
2019-08-21 16:12:55 -05:00
Chris Freehill
2fe33cf4e3
Correct check for video group membership
...
* Continue with rocminfo even if video and kfd check fail.
* Color code informational lines (white) and warnings (red)
Change-Id: I739034c932fffca0924abc93ae9a929664a3e182
[ROCm/rocminfo commit: 141592e4f3 ]
2019-07-15 23:14:12 -05:00
Chris Freehill
4e9009867d
Undo previous commit of github CMakeLists.txt file
...
Change-Id: Ic650b913377112bff6c25176d9446311f33f6c78
[ROCm/rocminfo commit: 43f664436d ]
2019-06-22 16:29:42 -05:00
Ramesh Errabolu
58744a20cc
Improve error message reporting ( #13 )
...
[ROCm/rocminfo commit: 84039ef53f ]
2019-06-19 13:44:12 -05:00
Chris Freehill
c4697c80d9
Add some missing HSA info. fields
...
[ROCm/rocminfo commit: 7b98323823 ]
2019-06-19 13:44:12 -05:00
Chris Freehill
b2f3beb991
Add hex representation of some values to output
...
[ROCm/rocminfo commit: ad54c50aba ]
2019-06-19 13:44:12 -05:00
Siu Chi Chan
c00f8b5fc7
change naming from Dim[n] to (x,y,z)
...
print out the max grid/group size before the "per Dimension" info
[ROCm/rocminfo commit: 6ccaea7580 ]
2019-06-19 13:44:12 -05:00
Siu Chi Chan
a22679c24d
fix incorrect tyep casting for workgroup_max_dim and grid_max_dim
...
[ROCm/rocminfo commit: 590f612fd5 ]
2019-06-19 13:44:12 -05:00
Anthony Cowley
2eaa5dcc5d
cmake: fix typo in ROCR_LIB_DIR detection
...
[ROCm/rocminfo commit: ca841958af ]
2019-06-19 13:44:12 -05:00
justxi
a8c29f0c97
Add files via upload
...
[ROCm/rocminfo commit: cfbbb52395 ]
2019-06-19 13:44:12 -05:00
James Edwards
d01a68b591
Update CMakeLists.txt
...
[ROCm/rocminfo commit: 26378662db ]
2019-06-19 13:44:12 -05:00
James Edwards
baeb3b5e81
Update README.md
...
[ROCm/rocminfo commit: 8c81b1146f ]
2019-06-19 13:44:12 -05:00
James Edwards
cccd9ba701
Update README.md
...
[ROCm/rocminfo commit: 99adf5d85f ]
2019-06-19 13:44:12 -05:00
James Adrian Edwards
a9efd9a64a
Add dependencies and support for rocm-cmake style packaging.
...
[ROCm/rocminfo commit: a8dc4b3e37 ]
2019-06-19 13:44:12 -05:00
James Edwards
26958f006f
Add install and packaging to CMakeList.txt file.
...
[ROCm/rocminfo commit: f99ef9da4f ]
2018-02-28 16:57:14 -06:00
Gregory Stoner
dcdd16c795
Update rocm_agent_enumerator
...
[ROCm/rocminfo commit: fd277f36c0 ]
2017-12-23 13:09:02 -06:00
Gregory Stoner
149c34aedb
Update rocm_agent_enumerator
...
[ROCm/rocminfo commit: 57a7080ebb ]
2017-12-23 13:01:11 -06:00
Gregory Stoner
adfa1699c0
Add support for RX580
...
[ROCm/rocminfo commit: f5334a2ba3 ]
2017-12-23 13:00:37 -06:00
Wen-Heng (Jack) Chung
0692bd5ad6
Merge pull request #1 from RadeonOpenCompute/feature_rocm_agent_enumerator
...
Initial commit to introduce rocm_agent_enumerator into rocminfo
[ROCm/rocminfo commit: ac4c043ba4 ]
2017-11-13 10:39:41 -06:00
Wen-Heng (Jack) Chung
45415e7112
Improve error handling logic
...
[ROCm/rocminfo commit: 6d1234484a ]
2017-11-09 13:20:45 -06:00
Wen-Heng (Jack) Chung
ec9e027988
Initial commit to introduce rocm_agent_enumerator into rocminfo
...
This is a python port of rocm_agent_enumerator, which is used by HIP/HCC to
determine available AMDGPU targets on a system.
Its previous implementation was written in C++ which makes it somewhat hard to
deploy onto different distros / architectures. A python port should remove such
issue.
[ROCm/rocminfo commit: 8b018900f6 ]
2017-11-09 12:33:53 -06:00
Chris Freehill
ed06944d90
Add README.md and License.txt
...
Change-Id: I02b43a10f4f88a73c7e4e63221bec32d0d1d5bf6
[ROCm/rocminfo commit: 0da670409f ]
2017-11-08 11:12:00 -06:00
Chris Freehill
0c0b9582cb
Add README.md
...
Change-Id: I02b43a10f4f88a73c7e4e63221bec32d0d1d5bf6
[ROCm/rocminfo commit: 6b014b2496 ]
2017-11-08 08:05:08 -06:00
Chris Freehill
1b86c30dfa
Rename to rocminfo
...
Change-Id: Ifd0ba9aaa4078dc2771e15bb254ba1c4ec2acf1e
[ROCm/rocminfo commit: 5c6e06c80f ]
2017-11-03 14:04:51 -05:00