Skip to content

Commit 193294b

Browse files
committed
Merge amd-master into release/rocm-rel-6.1 20240515
Signed-off-by: Maisam Arif <[email protected]> Change-Id: I60104697600aec2ce7e247fa6ae945e6632f8ce7
2 parents bba3dba + c464a77 commit 193294b

File tree

19 files changed

+634
-291
lines changed

19 files changed

+634
-291
lines changed

CHANGELOG.md

Lines changed: 79 additions & 55 deletions
Large diffs are not rendered by default.

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ find_program (GIT NAMES git)
3838

3939
## Setup the package version based on git tags.
4040
set(PKG_VERSION_GIT_TAG_PREFIX "rsmi_pkg_ver")
41-
get_package_version_number("7.0.0" ${PKG_VERSION_GIT_TAG_PREFIX} GIT)
41+
get_package_version_number("7.2.0" ${PKG_VERSION_GIT_TAG_PREFIX} GIT)
4242
message("Package version: ${PKG_VERSION_STR}")
4343
set(${ROCM_SMI_LIBS_TARGET}_VERSION_MAJOR "${CPACK_PACKAGE_VERSION_MAJOR}")
4444
set(${ROCM_SMI_LIBS_TARGET}_VERSION_MINOR "${CPACK_PACKAGE_VERSION_MINOR}")

License.txt

Lines changed: 14 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,22 @@
1-
The University of Illinois/NCSA
2-
Open Source License (NCSA)
1+
MIT License
32

4-
Copyright (c) 2014-2018, Advanced Micro Devices, Inc. All rights reserved.
5-
6-
Developed by:
7-
8-
AMD Research and AMD HSA Software Development
9-
10-
Advanced Micro Devices, Inc.
11-
12-
www.amd.com
3+
Copyright (c) 2023-2024, Advanced Micro Devices, Inc. All rights reserved.
134

145
Permission is hereby granted, free of charge, to any person obtaining a copy
15-
of this software and associated documentation files (the "Software"), to
16-
deal with the Software without restriction, including without limitation
17-
the rights to use, copy, modify, merge, publish, distribute, sublicense,
18-
and/or sell copies of the Software, and to permit persons to whom the
19-
Software is furnished to do so, subject to the following conditions:
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
2011

21-
- Redistributions of source code must retain the above copyright notice,
22-
this list of conditions and the following disclaimers.
23-
- Redistributions in binary form must reproduce the above copyright
24-
notice, this list of conditions and the following disclaimers in
25-
the documentation and/or other materials provided with the distribution.
26-
- Neither the names of Advanced Micro Devices, Inc,
27-
nor the names of its contributors may be used to endorse or promote
28-
products derived from this Software without specific prior written
29-
permission.
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
3014

3115
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
3216
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
33-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
34-
THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
35-
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
36-
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
37-
DEALINGS WITH THE SOFTWARE.
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
3822

docs/python_api.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,6 @@ Functions
196196

197197
.. autofunction:: rocm_smi.showPower
198198

199-
.. autofunction:: rocm_smi.showPowerPlayTable
200-
201199
.. autofunction:: rocm_smi.showProduct
202200

203201
.. autofunction:: rocm_smi.showProfile

include/rocm_smi/kfd_ioctl.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,7 @@ enum kfd_smi_event {
553553
KFD_SMI_EVENT_THERMAL_THROTTLE = 2,
554554
KFD_SMI_EVENT_GPU_PRE_RESET = 3,
555555
KFD_SMI_EVENT_GPU_POST_RESET = 4,
556+
KFD_SMI_EVENT_RING_HANG = 5,
556557
};
557558

558559
#define KFD_SMI_EVENT_MASK_FROM_INDEX(i) (1ULL << ((i) - 1))

include/rocm_smi/rocm_smi.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,13 +311,15 @@ typedef struct {
311311
* Event notification event types
312312
*/
313313
typedef enum {
314+
RSMI_EVT_NOTIF_NONE = KFD_SMI_EVENT_NONE, //!< Unused
314315
RSMI_EVT_NOTIF_VMFAULT = KFD_SMI_EVENT_VMFAULT, //!< VM page fault
315316
RSMI_EVT_NOTIF_FIRST = RSMI_EVT_NOTIF_VMFAULT,
316317
RSMI_EVT_NOTIF_THERMAL_THROTTLE = KFD_SMI_EVENT_THERMAL_THROTTLE,
317318
RSMI_EVT_NOTIF_GPU_PRE_RESET = KFD_SMI_EVENT_GPU_PRE_RESET,
318319
RSMI_EVT_NOTIF_GPU_POST_RESET = KFD_SMI_EVENT_GPU_POST_RESET,
320+
RSMI_EVT_NOTIF_RING_HANG = KFD_SMI_EVENT_RING_HANG,
319321

320-
RSMI_EVT_NOTIF_LAST = RSMI_EVT_NOTIF_GPU_POST_RESET
322+
RSMI_EVT_NOTIF_LAST = RSMI_EVT_NOTIF_RING_HANG
321323
} rsmi_evt_notification_type_t;
322324

323325
/**

0 commit comments

Comments
 (0)