Grafico dei commit

74 Commit

Autore SHA1 Messaggio Data
Mario Limonciello b958ce88c2 Run pre-commit's whitespace related hooks on projects/rocm-core (#2127)
In order for pre-commit to be useful, everything needs to meet a common
baseline.

Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
2025-12-07 12:29:38 -06:00
solaiys 3466ec5458 Added PCIE Atomic Operations enable check. (#1746)
* Added PCIE Atomic Operations enable check.

Tests if atomic operations are enabled for GPU devices.
Displays the Atomic routing capability via Link capability and status.

Signed-off-by: Saravanan Solaiyappan <saravanan.solaiyappan@amd.com>
2025-11-25 14:29:30 +05:30
nunnikri 45528ea3fc SWDEV-559329 : Added missing hash value needed for module file (#1431) 2025-10-23 12:05:41 -07:00
solaiys eab103d4ed [RDHC] Update rocm-core package scripts to include rdhc script (#1482)
* Add rdhc script in to rocm-core package
  * Create the rdhc symlink within the package itself.
  * rdhc tool support is not enabled for windows.

  * [RDHC] Check if the required pip pkgs are present and warn .
     rdhc checks the required pip packages are present or not.
     if not warns the user and exits gracefully.

Signed-off-by: Saravanan Solaiyappan <saravanan.solaiyappan@amd.com>
2025-10-22 19:54:40 +05:30
arvindcheru 285061f05b Enhance ROCM-Core for Windows (#1467)
* Enhance Code for support for Windows cpp build
* Updated ROCM-Core README build steps
* File copyright Headers Updated
2025-10-21 23:04:23 -04:00
Scott Todd 473025ab7d Revert "Update rocm-core package to include rdhc script (#1375)" (#1464)
This reverts commit d348797017.
2025-10-21 07:29:27 -07:00
solaiys d348797017 Update rocm-core package to include rdhc script (#1375)
* Add rdhc script in to rocm-core package
* Create the rdhc symlink within the package itself.
* Removed hard-coding of rocm-core name, used CORE_TARGET instead.
* [RDHC] Check if the required pip pkgs are present and warn .
   rdhc checks the required pip packages are present or not.
   if not warns the user and exits gracefully.

Signed-off-by: Saravanan Solaiyappan <saravanan.solaiyappan@amd.com>
2025-10-17 10:34:00 +05:30
Ashutosh Mishra 221807b69d Fixing tool erros (#1416)
Tools running for sanity checks are
detecting buffer overrun which is
not the case. Still getting rid of
function which is causing the issue
removed and making the code more robust
 using defensive programming so that
any tool is not able to detect issues
hereafter. Fixed comments, corrected
typos and added a new return type
which is required as per refactoring

Signed-off-by: Ashutosh Mishra <ashutosh.mishra@amd.com>
2025-10-17 09:10:18 +05:30
solaiys 8912930840 [rocm-core] Adding a tool for ROCM Deployment Health Check (#958)
* Adding a tool for ROCM Deployment Health Check

rdhc.py - This simple tool will check for the rocm
installation and its readiness on the current system and its working status.
Check the README file for more info.

Signed-off-by: Saravanan Solaiyappan <saravanan.solaiyappan@amd.com>
2025-09-24 22:43:42 +05:30
Marius Brehler 01828d1375 Force gzip to overwrite an existing changelog (#665)
If a compressed changelog exists from a previous build, reconfiguring
the project fails with
```
[rocm-core configure] CMake Error at utils.cmake:213 (message):
[rocm-core configure]   Failed to compress: gzip:
[rocm-core configure]   /home/ben/src/TheRock/build/base/rocm-core/build/DEBIAN/changelog.Debian.gz
[rocm-core configure]   already exists; not overwritten
```

Add `-f` to force overwriting.
2025-09-11 16:34:37 -07:00
Joseph Macaranas dd1a2dbf8a Fix LICENSE path for opencl build (#939) 2025-09-10 17:54:22 -04:00
nunnikri b6ffa43226 SWDEV-553044 : Adding missing copyright header in rocm-core (#875)
SWDEV-553044 : Adding missing copyright header in rocm-core
2025-09-10 10:10:16 -07:00
Joseph Macaranas 696881ae82 LICENSE clean up (#919)
- Clean up and standardization of MIT licenses after discussion with legal team.
- Update README.md with blurb for top-level files.
- MIT License explicitly mentioned for relevant projects.
- Removal of years.
- Copyright attribution should be to `Advanced Micro Devices, Inc.` and not `AMD ROCm(TM) Software`
- Removal of `All rights reserved.`
- Reduce line width of the text for readability.
- Add clear visual separators for additional licenses.
- Convert text files to markdown format for aforementioned separators.
- Update build scripts to point to renamed files.
- Fixed SMI doc references

Co-authored-by: Maisam Arif <Maisam.Arif@amd.com>
2025-09-10 12:06:14 -04:00
Ashutosh Mishra f2f7f03d61 Fix buffer overrun (#655)
Assigning a null terminator at
the end of the string wrote
past the end of the allocated
buffer. This patch corrects that.

Signed-off-by: Ashutosh Mishra <ashutosh.mishra@amd.com>
2025-08-25 09:41:25 +05:30
Nirmal Unnikrishnan dbbdeecf6b SWDEV-531400 : Adding the correct modulefile path for SLES
[ROCm/rocm-core commit: 942821090f]
2025-06-24 11:20:30 -07:00
Cheruvally, Aravindan 457ca05c6b SWDEV-538841 - Update libc dependency (#29)
[ROCm/rocm-core commit: 4819f8e6af]
2025-06-18 16:27:49 -07:00
Ramakrishnan, Ranjith 311f83e921 SWDEV-504756 - Prevent the modification of python interpreter directives (#27)
"/usr/bin/env python3" is getting converted to "/usr/libexec/platform-python" in RHEL8. Undefining __brp_mangle_shebangs will prevent the same

[ROCm/rocm-core commit: 0d7160da9a]
2025-06-18 09:27:05 -07:00
Cheruvally, Aravindan 701bbf5126 Lintian Warnings Fixes, Enhancements (#25)
* Add Lintian Warnings Fixes
* Update Review Comments, Warning Fixes


[ROCm/rocm-core commit: f774bf6276]
2025-06-01 18:48:30 -04:00
Cheruvally, Aravindan 9a03917e62 Enable Support for Lintian Override Configuration (#23)
* Update License file in deb pkg to only have debian lintian specific copyright

* Enable Support for Debian Pkg Lintian Overrides

* Enhance Lintian Override config File Name for static,asan (rocm-core)

* Update Review Comments/UT Test Fixes for Lintian Overrides

[ROCm/rocm-core commit: f6617fd89f]
2025-05-27 12:20:55 -04:00
Choudhary, Rahul df27a52348 Amd/dev/ninohila/enable palamida (#15)
removing url

[ROCm/rocm-core commit: 5d1d0d43cb]
2025-05-12 21:47:17 -07:00
Cheruvally, Aravindan 94292590aa Update License File install for ASAN (#21)
UT Fix - Update License File install for ASAN

[ROCm/rocm-core commit: fad35660c5]
2025-05-12 15:18:11 -07:00
Hila, Nino f9dd07ee75 Merge branch 'amd-mainline' into amd/dev/ninohila/enable-palamida
[ROCm/rocm-core commit: 7aaa4aad57]
2025-05-12 16:29:04 -04:00
Ashutosh Mishra 1f395fb3c4 Restoring the correct installation path
SWDEV-532187: The installation was failing
because of the same path used in all of the
packages. This patch seprates the same.

Signed-off-by: Ashutosh Mishra <ashutosh.mishra@amd.com>


[ROCm/rocm-core commit: fcd3952708]
2025-05-12 17:23:54 +05:30
Ashutosh Mishra a516138584 Adding condition for static package type
SWDEV-532030 : Static builds are failing
for mainline and release because COMP_TYPE
is empty in case of static builds.
This patch fixes the same.

Signed-off-by: Ashutosh Mishra <ashutosh.mishra@amd.com>


[ROCm/rocm-core commit: bbbb0075fc]
2025-05-12 11:45:20 +05:30
Cheruvally, Aravindan 5618f5b8fc Add Lintian Debian Packaging Configuration (#13)
*  SWDEV-531658 / SWDEV-529762
* Add Lintian Debian Packaging Configuration

* Updated Debian specific Lintian flag usage

* Updated Debian Pkg Extended Description usage

* Updated Debian Package ChangeLog

* Update Review Comments

* Update Review Comments - Renamed debian to DEBIAN folder

* Review Comment Update - Extended Description to use common across deb/rpm

* Update Review Comments - Change Log Test Updated

* Review Comment Update - remove duplicate & enhanced deb copyright header

* Update Change Log for the release

[ROCm/rocm-core commit: 461a5e1554]
2025-05-07 15:48:46 -07:00
Ramakrishnan, Ranjith bbd2edcca3 Remove the backward compatibility code for file reorganization (#14)
Remove the backward compatibilty code for file reorganization

File reorg backward compatibility support is no longer required

[ROCm/rocm-core commit: 33d87ba25d]
2025-05-06 08:43:03 -07:00
Hila, Nino e23ecf9197 Add palamida.yml
[ROCm/rocm-core commit: a7e3823768]
2025-05-05 16:27:44 -04:00
Cheruvally, Aravindan 4215053152 Re Enable SWDEV-521313 Streamline Version Management (#10)
Revert "Revert "SWDEV-521313 - Streamline Version Management: Retain Only version-roc…""

This reverts commit c48c9dac80.

[ROCm/rocm-core commit: de37842d6a]
2025-04-30 18:56:11 -04:00
Cheruvally, Aravindan 9d3c82bc22 Update Pre/Post File Permissions to 0755 (#12)
[ROCm/rocm-core commit: 0578cf70ef]
2025-04-29 15:49:53 -04:00
Choudhary, Rahul 05b8837d4e Create palamida.yml to enable Palamida scan
[ROCm/rocm-core commit: e3cf8dc4a3]
2025-04-22 15:44:14 -07:00
Hila, Nino a080571adc Add palamida.yml
[ROCm/rocm-core commit: 7de7ec43bb]
2025-04-22 12:00:55 -04:00
Choudhary, Rahul f3e0c78214 Update rocm_ci_caller.yml enabling !verify and re-test trigger
[ROCm/rocm-core commit: bb4889b787]
2025-04-04 11:18:48 -07:00
Cheruvally, Aravindan c48c9dac80 Revert "SWDEV-521313 - Streamline Version Management: Retain Only version-roc…"
[ROCm/rocm-core commit: 39bd62e592]
2025-04-03 11:46:00 -04:00
Jonathan Luu 6ad28c72a8 SWDEV-521313 - Streamline Version Management: Retain Only version-rocm File
[ROCm/rocm-core commit: ab95ccf1a3]
2025-04-01 16:46:04 -04:00
Mallya, Ameya Keshava 38e4d2c78b Added KWS check for amd-mainline
[ROCm/rocm-core commit: 5da6a07d56]
2025-03-28 08:38:44 -07:00
Choudhary, Rahul cc0efa8ff8 Create kws-caller.yml
[ROCm/rocm-core commit: 6e83dde455]
2025-02-18 16:48:30 -08:00
Choudhary, Rahul 920c928d46 Create rocm_ci_caller.yml and kws-caller.yml to trigger ROCM CI
[ROCm/rocm-core commit: 3e040d907c]
2025-02-18 16:47:05 -08:00
Jonathan Luu 8442a5f8e2 SWDEV-511848 - update readme
Change-Id: Icf590d17f4c1988850f0056e0ec8bc88f921b3be


[ROCm/rocm-core commit: dbab4d1afb]
2025-02-05 18:12:08 -06:00
Jonathan Luu befbc49693 SWDEV-511848 - Update package description to the correct Name and source link
Change-Id: Iee5d22ecd01a15dcfc5caff6f1ab8261d71fbb71


[ROCm/rocm-core commit: 79edda7cc8]
2025-02-04 10:48:10 -06:00
AravindanC 4063f50a56 Enable distro id based checks in rocm-core post/pre scripts
Change-Id: I1970dc3a36b8bd47d238b032afe5714c3e7f8e57


[ROCm/rocm-core commit: 61ad6381aa]
2025-02-04 10:48:10 -06:00
arvindcheru ad46bff375 Update ROCM-CORE contributing template and basics docs (#9)
* Add Contributing documentation as per template, updated Readme documentation and Update codeowners
* Moving Readme.txt to Readme.md format 
* Update Review Comments - CMAKE commands Updated, removed library dump and added API usage
* Update Review Comments - Enhanced Text descriptions, prerequisites/install prefix descriptions
* Update Review Comments - Added RPM Package Samples also and Enhanced Descriptions

[ROCm/rocm-core commit: d11f5c20d5]
2024-12-02 23:24:44 -05:00
AravindanC 6d58b23fc2 Change Log Update for 6.3 Release
Change-Id: I9e4295959e8de60600eaf93b5074dd8d3b66abc9


[ROCm/rocm-core commit: f08bbaf443]
2024-10-24 10:48:20 -05:00
Nirmal Unnikrishnan b0af2725e3 SWDEV-484091 : Correcting LIB_PATCH_VERSION
ROCM_LIBPATCH_VERSION will be set in ENV and should be using that for setting library patch version. Fixing the bug as the patch version was not taken from ENV

Change-Id: I020e48ce5169c17b916be99311623198da1cabf7


[ROCm/rocm-core commit: 58d9a05f95]
2024-10-23 16:21:23 -05:00
Ranjith Ramakrishnan 1e018ec3aa SWDEV-489527 - Create /opt/rocm softlink only for prefix paths that starts with /opt/rocm-
USE $RPM_INSTALL_PREFIX0 rather than hard coded paths in the post/pre install scripts for rpm use case

Change-Id: I56c66f0befd5502fd2a4218f0b661661259436ed


[ROCm/rocm-core commit: f2208f6452]
2024-10-23 16:21:23 -05:00
Ranjith Ramakrishnan e94b0f6f8b SWDEV-489527 - Remove hard coded paths in rocmmod
This will make rocmmod relocatable

Change-Id: Iefcdf158e975d6d757f55f8854f34d9b989002be


[ROCm/rocm-core commit: b67be0d02c]
2024-10-23 16:21:23 -05:00
AravindanC eba54673e6 Enable cmake module config/target for rocm-core
Change-Id: Icbdd6d1e0e9a865dc86b6568bf0b7f7ff35b3b5c


[ROCm/rocm-core commit: eedf4c1410]
2024-10-23 16:21:23 -05:00
AravindanC 638759087c SWDEV-342167 - Remove Hard Coded Install Permission
Change-Id: Ib8206e58f3f1772735e62c93ba8ac32e752bad83


[ROCm/rocm-core commit: 749b656cf7]
2024-10-23 16:21:23 -05:00
Nirmal Unnikrishnan 5082cf8961 SWDEV-467155 : Add llvm to RPATH search path
Change-Id: I3598d7938bd63b06fd9cf14906c4ed3e7cc52a82


[ROCm/rocm-core commit: 2cc55b27ac]
2024-09-04 13:52:49 -05:00
AravindanC 06eefbd1e2 CheryPick SWDEV-442738 - Static package generation for rocm-core
Change-Id: I8e55f4cc3e476a9b4f3d73c02bab51c70b936bcc

SWDEV-442738 - ROCM-CORE Static Package Pre/Post Script

Change-Id: Ie55ffc98dfc60d9cb01b7a6df7a5fe1a890bc771


[ROCm/rocm-core commit: be3728bd33]
2024-09-04 13:52:49 -05:00
Ranjith Ramakrishnan 862d9c7409 SWDEV-449560 - Backward compatibility support for deprected package rocm-clang-ocl
rocm-clang-ocl has been deprected from ROCm 6.1 onwards. Uprading ROCm from 6.0 to latest release will result in stale files of rocm-clang-ocl.
rocm-core will replaces/obsoletes rocm-clang-ocl package. This will ensure clean removal of the deprecated package

Change-Id: Id5c16492273d8a0dcbbd5ac797daaef96c058f5b


[ROCm/rocm-core commit: a5a437e48a]
2024-09-04 13:52:49 -05:00