76333 کامیت‌ها
مولف SHA1 پیام تاریخ
Maisam Arif 5ad17006b2 Updated Fan speed function calls
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: Ie4d6af3a05d6a408a94ce22268addd547ad5b688
2023-09-24 18:05:13 -04:00
Maisam Arif 3e9e014c10 Updated Fan speed function calls
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: Ie4d6af3a05d6a408a94ce22268addd547ad5b688


[ROCm/amdsmi commit: 5ad17006b2]
2023-09-24 18:05:13 -04:00
Maisam Arif ddc63694bc Moved clock locked under applicable clock
Change-Id: Ie47b20d0d367a198d6978a5dc571811938cfd02f
Signed-off-by: Maisam Arif <maisarif@amd.com>
2023-09-24 03:15:20 -05:00
Maisam Arif 8f9b8b4f16 Moved clock locked under applicable clock
Change-Id: Ie47b20d0d367a198d6978a5dc571811938cfd02f
Signed-off-by: Maisam Arif <maisarif@amd.com>


[ROCm/amdsmi commit: ddc63694bc]
2023-09-24 03:15:20 -05:00
Maisam Arif f82063d19f Updated metric --usage labels & error handling
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: Ie376785deeae2df562962c18f4395db87025181b
2023-09-24 01:36:05 -04:00
Maisam Arif d8cdba3803 Updated metric --usage labels & error handling
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: Ie376785deeae2df562962c18f4395db87025181b


[ROCm/amdsmi commit: f82063d19f]
2023-09-24 01:36:05 -04:00
Maisam Arif e079032d0e Added pcie bandwith to metric --pcie
Change-Id: I12d070ca8e4ad0606d5d2c843cdffdcd83007350
Signed-off-by: Maisam Arif <maisarif@amd.com>
2023-09-24 00:12:57 -04:00
Maisam Arif f0ccdf7265 Added pcie bandwith to metric --pcie
Change-Id: I12d070ca8e4ad0606d5d2c843cdffdcd83007350
Signed-off-by: Maisam Arif <maisarif@amd.com>


[ROCm/amdsmi commit: e079032d0e]
2023-09-24 00:12:57 -04:00
Maisam Arif 901b9e8331 Moved replay count under metric --pcie
Change-Id: I86564af04526df9b1a8cdae14da39450d924805d
Signed-off-by: Maisam Arif <maisarif@amd.com>
2023-09-23 23:12:20 -05:00
Maisam Arif 7463a84bd6 Moved replay count under metric --pcie
Change-Id: I86564af04526df9b1a8cdae14da39450d924805d
Signed-off-by: Maisam Arif <maisarif@amd.com>


[ROCm/amdsmi commit: 901b9e8331]
2023-09-23 23:12:20 -05:00
Maisam Arif 6d0adab4fd Added is_clock_locked placeholder
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: Ia8750b4233bf37c4eab81b7815fd9aaebe3f1ca3
2023-09-23 23:01:58 -05:00
Maisam Arif a904b6503e Added is_clock_locked placeholder
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: Ia8750b4233bf37c4eab81b7815fd9aaebe3f1ca3


[ROCm/amdsmi commit: 6d0adab4fd]
2023-09-23 23:01:58 -05:00
Maisam Arif 7b28fdf9c5 Corrected voltage output to N/A in metric --power
Change-Id: I0e8da0821196602842d35841470e36b91ba31ce3
Signed-off-by: Maisam Arif <maisarif@amd.com>
2023-09-23 23:57:22 -04:00
Maisam Arif af1a2049a9 Corrected voltage output to N/A in metric --power
Change-Id: I0e8da0821196602842d35841470e36b91ba31ce3
Signed-off-by: Maisam Arif <maisarif@amd.com>


[ROCm/amdsmi commit: 7b28fdf9c5]
2023-09-23 23:57:22 -04:00
Maisam Arif 4ce4b7fda1 Changed pcie_slot_type to slot_type
Change-Id: Iab63397b049bbed4e0e52357c3eff7c1bcfe9590
Signed-off-by: Maisam Arif <maisarif@amd.com>
2023-09-23 23:53:25 -04:00
Maisam Arif 476f4642f8 Changed pcie_slot_type to slot_type
Change-Id: Iab63397b049bbed4e0e52357c3eff7c1bcfe9590
Signed-off-by: Maisam Arif <maisarif@amd.com>


[ROCm/amdsmi commit: 4ce4b7fda1]
2023-09-23 23:53:25 -04:00
Maisam Arif 93c5112cdf Corrected mem_usage command
Dropped redundant fb_usage argument

Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I85d72683085270415f735e9817e359baf6b36773
2023-09-23 23:53:05 -04:00
Maisam Arif 92b0bec5e3 Corrected mem_usage command
Dropped redundant fb_usage argument

Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I85d72683085270415f735e9817e359baf6b36773


[ROCm/amdsmi commit: 93c5112cdf]
2023-09-23 23:53:05 -04:00
Maisam Arif 6dcfd4a815 Added vram info to static --vram
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I48f6875d5131440848ef6f5875c6d385fee871e3
2023-09-23 23:52:50 -04:00
Maisam Arif 79734a6b34 Added vram info to static --vram
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I48f6875d5131440848ef6f5875c6d385fee871e3


[ROCm/amdsmi commit: 6dcfd4a815]
2023-09-23 23:52:50 -04:00
Maisam Arif 79ccf1670b Added vendor_name to static --asic
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I3d52a8769e1f721c20efdf78ffb9e6813de59e10
2023-09-23 23:51:24 -04:00
Maisam Arif 5a91e9805a Added vendor_name to static --asic
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I3d52a8769e1f721c20efdf78ffb9e6813de59e10


[ROCm/amdsmi commit: 79ccf1670b]
2023-09-23 23:51:24 -04:00
Bill(Shuzhou) Liu 9fc677a261 Standard format driver date
Normalize the driver date format.

Change-Id: I2f9623e99d28217b3cc1a9b6f91cbe77ed66fac9
2023-09-23 23:46:43 -04:00
Bill(Shuzhou) Liu e6c88b74d3 Standard format driver date
Normalize the driver date format.

Change-Id: I2f9623e99d28217b3cc1a9b6f91cbe77ed66fac9


[ROCm/amdsmi commit: 9fc677a261]
2023-09-23 23:46:43 -04:00
Galantsev, Dmitrii 164efd81af SWDEV-423672 - Always compile and install gtest
This commit makes sure GTest is always compiled with rocm_smi_lib_tests.

GTest installation was inconsistent outside of AMD CI environment.
libgtest.so wouldn't get installed with rocm_smi_lib_tests if gtest
existed on the build machine. Which is undesirable when packaging.

Change-Id: I607df6c67c81480e3b6487b28f14924e8bf56ad4
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/rocm_smi_lib commit: 0c662611e9]
2023-09-23 21:10:12 -04:00
Galantsev, Dmitrii 0c662611e9 SWDEV-423672 - Always compile and install gtest
This commit makes sure GTest is always compiled with rocm_smi_lib_tests.

GTest installation was inconsistent outside of AMD CI environment.
libgtest.so wouldn't get installed with rocm_smi_lib_tests if gtest
existed on the build machine. Which is undesirable when packaging.

Change-Id: I607df6c67c81480e3b6487b28f14924e8bf56ad4
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2023-09-23 21:10:12 -04:00
Galantsev, Dmitrii ab545816ba SWDEV-423672 - Always compile and install gtest
This commit makes sure GTest is always compiled with rocm_smi_lib_tests.

GTest installation was inconsistent outside of AMD CI environment.
libgtest.so wouldn't get installed with rocm_smi_lib_tests if gtest
existed on the build machine. Which is undesirable when packaging.

Change-Id: I607df6c67c81480e3b6487b28f14924e8bf56ad4
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/amdsmi commit: 0c662611e9]
2023-09-23 21:10:12 -04:00
Maisam Arif 5aaea7a514 Change mem_actvity_acc to mem_activity_acc
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I55862d6d173fca201ad8830bf7f8961f3be9b65d
2023-09-23 14:22:33 -04:00
Maisam Arif 8d696bae79 Change mem_actvity_acc to mem_activity_acc
Signed-off-by: Maisam Arif <maisarif@amd.com>
Change-Id: I55862d6d173fca201ad8830bf7f8961f3be9b65d


[ROCm/amdsmi commit: 5aaea7a514]
2023-09-23 14:22:33 -04:00
Galantsev, Dmitrii 51a09d2b11 PY: Remove f-strings from rocm_smi.py
Change-Id: I0a422e8f66473af837460ecb2450e5be329163b0
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/rocm_smi_lib commit: 3a4e428fd5]
2023-09-23 00:12:34 -05:00
Galantsev, Dmitrii 3a4e428fd5 PY: Remove f-strings from rocm_smi.py
Change-Id: I0a422e8f66473af837460ecb2450e5be329163b0
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2023-09-23 00:12:34 -05:00
Galantsev, Dmitrii ff072106c2 PY: Remove f-strings from rocm_smi.py
Change-Id: I0a422e8f66473af837460ecb2450e5be329163b0
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/rocm_smi_lib commit: 1683245ecf]
2023-09-22 19:15:59 -05:00
Galantsev, Dmitrii 1683245ecf PY: Remove f-strings from rocm_smi.py
Change-Id: I0a422e8f66473af837460ecb2450e5be329163b0
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2023-09-22 19:15:59 -05:00
Galantsev, Dmitrii 63cc7eafbe PY: Remove f-strings from rocm_smi.py
Change-Id: I0a422e8f66473af837460ecb2450e5be329163b0
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/amdsmi commit: 1683245ecf]
2023-09-22 19:15:59 -05:00
gilbertlee-amd fa4dd9dbf0 Fixing hipcc location for CI (#47)
[ROCm/rccl-tests commit: 46375b1c52]
2023-09-22 14:38:31 -06:00
gilbertlee-amd 46375b1c52 Fixing hipcc location for CI (#47) 2023-09-22 14:38:31 -06:00
Jonathan R. Madsen d98973ffb5 Agent Implementation (#78)
* Agent Implementation

* Remove unused Findrocprofiler

* Update lib/rocprofiler/hsa/agent.{hpp,cpp}

- default AgentInfo ctor
- getNumaNode() const
- noexcept move ctors
- default initializers for member variables
- fixed clang-tidy recommentations
  - preallocate
  - static in anon namespace
- AgentInfo::setName uses strncpy and ensures that it is terminated

* Update lib/rocprofiler/rocprofiler.cpp (agent.cpp and pc_sampling.cpp)

- move public PC sampling function implementations to pc_sampling.cpp
- move public agent function implementation to agent.cpp

[ROCm/rocprofiler-sdk commit: 6fb9000fa1]
2023-09-22 11:51:21 -07:00
Jonathan R. Madsen 6fb9000fa1 Agent Implementation (#78)
* Agent Implementation

* Remove unused Findrocprofiler

* Update lib/rocprofiler/hsa/agent.{hpp,cpp}

- default AgentInfo ctor
- getNumaNode() const
- noexcept move ctors
- default initializers for member variables
- fixed clang-tidy recommentations
  - preallocate
  - static in anon namespace
- AgentInfo::setName uses strncpy and ensures that it is terminated

* Update lib/rocprofiler/rocprofiler.cpp (agent.cpp and pc_sampling.cpp)

- move public PC sampling function implementations to pc_sampling.cpp
- move public agent function implementation to agent.cpp
2023-09-22 11:51:21 -07:00
German Andryeyev 2d492a201b SWDEV-423317 - Enable GPU wait for hip sync calls
hipStreamSynchronize and hipDeviceSynchronize won't longer wait
for CPU commands in DD mode

Change-Id: I079c8bbfc34ddc6d3e2d74c92a34665877e512a5


[ROCm/clr commit: fbea58ba11]
2023-09-22 13:04:27 -04:00
German Andryeyev fbea58ba11 SWDEV-423317 - Enable GPU wait for hip sync calls
hipStreamSynchronize and hipDeviceSynchronize won't longer wait
for CPU commands in DD mode

Change-Id: I079c8bbfc34ddc6d3e2d74c92a34665877e512a5
2023-09-22 13:04:27 -04:00
Julia Jiang 2442c7565f SWDEV-405436 - Adding undocumented return values for HIP APIs
Change-Id: Ib7fc8fb9b3a7a7514bad54c4b45fbd5e6597c988


[ROCm/hip commit: 8a6491289f]
2023-09-22 13:03:09 -04:00
Julia Jiang 8a6491289f SWDEV-405436 - Adding undocumented return values for HIP APIs
Change-Id: Ib7fc8fb9b3a7a7514bad54c4b45fbd5e6597c988
2023-09-22 13:03:09 -04:00
Galantsev, Dmitrii 2589d677b0 actvity -> activity
Change-Id: Ie31d9faca2181cb2d47f7f4764b64ed8cc7f8007
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
2023-09-22 11:45:21 -05:00
Galantsev, Dmitrii 49bd046e6e actvity -> activity
Change-Id: Ie31d9faca2181cb2d47f7f4764b64ed8cc7f8007
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>


[ROCm/amdsmi commit: 2589d677b0]
2023-09-22 11:45:21 -05:00
Rakesh Roy f7276ddfb6 SWDEV-1 - Fix build errors occurred due to -Wunused-variable, -Wunused-but-set-variable, -Wunused-result
- Remove unused variables
- Validate return value of HIP APIs
- Disable failed tests in PSDB
- Use HIP_CHECK_ERROR instead of ASSERT_EQUAL

Change-Id: I9dd0792ecd8c79760b6c948388a953ac8c97b5c2


[ROCm/hip-tests commit: 632802aef8]
2023-09-22 21:41:16 +05:30
Rakesh Roy 632802aef8 SWDEV-1 - Fix build errors occurred due to -Wunused-variable, -Wunused-but-set-variable, -Wunused-result
- Remove unused variables
- Validate return value of HIP APIs
- Disable failed tests in PSDB
- Use HIP_CHECK_ERROR instead of ASSERT_EQUAL

Change-Id: I9dd0792ecd8c79760b6c948388a953ac8c97b5c2
2023-09-22 21:41:16 +05:30
Todd tiantuo Li 909a8f5345 SWDEV-422544 - change comment for hipDeviceAttributeUnifiedAddressing
Change-Id: Id901b3e850eafd7c61f6d15b13fe07ba615e078a


[ROCm/hip commit: 2d5b2da8e9]
2023-09-22 11:53:17 -04:00
Todd tiantuo Li 2d5b2da8e9 SWDEV-422544 - change comment for hipDeviceAttributeUnifiedAddressing
Change-Id: Id901b3e850eafd7c61f6d15b13fe07ba615e078a
2023-09-22 11:53:17 -04:00
vlaindic 03a63791b0 SWDEV-418738: Listing counters of all GPU agents
Using `gfxip` when listing counters on the system with multi-GPUs
all belonging to the same family results in showing counters
of the first agent multiple times.
Instead, use the agent's `name` to observe counters of all agents.

Change-Id: I7b46c0670bc7c918e2ba0357fa659df9d23379d4
2023-09-22 17:22:28 +02:00
vlaindic 581bf2cd87 SWDEV-418738: Listing counters of all GPU agents
Using `gfxip` when listing counters on the system with multi-GPUs
all belonging to the same family results in showing counters
of the first agent multiple times.
Instead, use the agent's `name` to observe counters of all agents.

Change-Id: I7b46c0670bc7c918e2ba0357fa659df9d23379d4


[ROCm/rocprofiler commit: 03a63791b0]
2023-09-22 17:22:28 +02:00