19 Commits

Autor SHA1 Mensaje Fecha
Ajay GunaShekar 0bb5638481 Rock: hip-tests installation path to remain same for linux/windows (#2187)
* Rock: hip-tests installation path remains same for linux and windows

On theRock - installation path remains same linux/windows
share/hip/catch_tests

On internal win build - hip-tests will be installed to catch_tests
flag is passed internally which controls the path.
2025-12-12 08:45:28 -08:00
Jatin Chaudhary 8e1aee62d0 make hip-tests compileable with TheRock (#1624)
## Motivation

Resolved: SWDEV-566226

The current implementation of agents inside of rocprof-systems keeps just the minimal necessary set of information required for populating the `info_agent` table inside of rocpd database. There is a sufficient amount of data that is being left out from database, so this change should fix that and store the additional agent information as an `extdata` row inside of `info_agent` table.

## Technical Details

This PR introduces additional filed inside of `agent` structure inside which is representing the JSON formatted string of all the additional information we can acquire about particular agent. This data is processed and added during the initial fetching of agents, and afterwards pushed inside of the database.

---------

Co-authored-by: David Galiffi <David.Galiffi@amd.com>

* SWDEV-557412 - Incorporate proper chunk offset when remapping virtual memory (#1848)

* SWDEV-557412 - Incorporate proper offset when remapping virtual memory

* Fix condition to check if VMHeap allocation address matches a chunk address

* Move offset calculation outside if/else block

---------

Co-authored-by: JeniferC99 <150404595+JeniferC99@users.noreply.github.com>

* SWDEV-567852 - Clean-up hip::init() (#1948)

* SWDEV-559267 - Use CLPrint to DevLogPrintf with Log Level - detail debug. (#1160)

* SWDEV-548892 - Stop using ocml isinf wrapper (#1854)

* SWDEV-562708 - change default maximum SVM size to 256GB (#1731)

* SWDEV-503089 - Fix and enable disabled HIP tests from math group (#1319)

* SWDEV-503089 - Fix and enable disabled HIP tests from math group

* SWDEV-503089 - Move single precision reduced run to a common function

* SWDEV-548892 - Stop using ockl steadyctr function (#1882)

Directly use the builtin

* Implement PTL support (#1957)

* Implement PTL support

Signed-off-by: adapryor <Adam.pryor@amd.com>
(cherry picked from commit 45bc31292e7940a3b8fca044ef7df22047b95733)

Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>

---------

Signed-off-by: adapryor <Adam.pryor@amd.com>
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Co-authored-by: Maisam Arif <Maisam.Arif@amd.com>

* SWDEV-558080 - Add recommended granularity (#1176)

* Add recommended granularity

* Improve granularity testing

* Update based on feedback

* Fix and enable VMM tests on cuda (#1855)

* Fix and enable VMM tests on cuda

* Minor syntax fixes

---------

Co-authored-by: Rahul Manocha <rmanocha@amd.com>

* [rocprofiler-systems] Add support for ompt_callback_thread_begin (#1681)

* Add thread_begin callback

* Make OMPT callbacks that are instant have start_ts = end_ts

* SWDEV-567514: Remove default stream wait (#1977)

- when virtual map command is called

- can create deadlock

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>

* Fix flaky test Unit_hipStreamAddCallback_StrmSyncTiming (#2022)

* Review comments

* skip the 3 failing tests to merge hip-tests rocm-systems PR

---------

Signed-off-by: Bindhiya Kanangot Balakrishnan <Bindhiya.KanangotBalakrishnan@amd.com>
Signed-off-by: adapryor <Adam.pryor@amd.com>
Signed-off-by: Maisam Arif <Maisam.Arif@amd.com>
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Co-authored-by: GunaShekar <agunashe@amd.com>
Co-authored-by: agunashe <ajay.gunashekar@amd.com>
Co-authored-by: Ethan Trinh <Ethan.Trinh@amd.com>
Co-authored-by: JeniferC99 <150404595+JeniferC99@users.noreply.github.com>
Co-authored-by: Victor Zhang <111778801+victzhan@users.noreply.github.com>
Co-authored-by: German Andryeyev <56892148+gandryey@users.noreply.github.com>
Co-authored-by: usrihari123 <srihari.u@amd.com>
Co-authored-by: Bindhiya Kanangot Balakrishnan <Bindhiya.KanangotBalakrishnan@amd.com>
Co-authored-by: anujshuk-amd <anujshuk@amd.com>
Co-authored-by: itrowbri <Ian.Trowbridge@amd.com>
Co-authored-by: marantic-amd <marantic@amd.com>
Co-authored-by: David Galiffi <David.Galiffi@amd.com>
Co-authored-by: cadolphe-amd <chris.adolphe@amd.com>
Co-authored-by: Karthik Jayaprakash <54370791+kjayapra-amd@users.noreply.github.com>
Co-authored-by: Matt Arsenault <Matthew.Arsenault@amd.com>
Co-authored-by: Todd tiantuo Li <88386084+lttamd@users.noreply.github.com>
Co-authored-by: amilanov-amd <Aleksandar.Milanov@amd.com>
Co-authored-by: Adam Pryor <61172547+adam360x@users.noreply.github.com>
Co-authored-by: Maisam Arif <Maisam.Arif@amd.com>
Co-authored-by: AidanBeltonS <abeltons@amd.com>
Co-authored-by: Rahul Manocha <153310294+manocharahul@users.noreply.github.com>
Co-authored-by: Rahul Manocha <rmanocha@amd.com>
Co-authored-by: Kian Cossettini <Kian.Cossettini@amd.com>
Co-authored-by: Shadi Dashmiz <94885391+shadidashmiz@users.noreply.github.com>
Co-authored-by: Ioannis Assiouras <38722728+iassiour@users.noreply.github.com>
Co-authored-by: Ajay GunaShekar <86270081+agunashe@users.noreply.github.com>
2025-12-03 08:53:17 -08: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
Michael Xie b3dcbdaaf6 SWDEV-492356 - Install hip-test artifacts into a single folder
Change-Id: Ib2a2c021e2546c0233050f11d3dc84f2ea4ff03d


[ROCm/hip-tests commit: 72450ae7a1]
2024-11-13 18:22:32 -05:00
Aravindan Cheruvally 9e559345d2 Revert "SWDEV-342167, SWDEV-461080 - Remove Hard Coded Install Permission"
This reverts commit e495390b7f.

Reason for revert: Observing issue SWDEV-488249 due to catch test permission settings. 

Change-Id: Ifdc55e4eb3938c9bc0b9af0a4e9dc9ba366614b3


[ROCm/hip-tests commit: c2671515df]
2024-10-02 10:33:03 -04:00
Ranjith Ramakrishnan b1e16e76ea SWDEV-437189 - Provide option to enable/disable CPACK_SET_DESTDIR
The variable is set as cache, so that user can override.
But the hard coded setting is preventing override. Removed the same

Change-Id: Ica5f9074a6532f465705a8dd1a8f21c6643ef49e


[ROCm/hip-tests commit: 173abcfba0]
2024-09-23 15:46:24 -04:00
AravindanC e495390b7f SWDEV-342167, SWDEV-461080 - Remove Hard Coded Install Permission
Change-Id: Ie42cf83cc9a665715e76966378237d479202e0a7


[ROCm/hip-tests commit: 38eedf86cf]
2024-09-18 11:48:03 -04:00
Ioannis Assiouras e12fc07212 SWDEV-445669 - Made required changes to test static libs
Change-Id: I0fbcdaa9f0b9633d861300c221ac12df1772c6e9


[ROCm/hip-tests commit: 8a24059131]
2024-06-12 05:14:36 -04:00
ROCm CI Service Account 698eadf9e4 SWDEV-385308 - hip-catch packaging issues (#293)
-install location /opt/rocm-xxxx/share/hip/catch_tests
-fix permissions of catch_tests folder

Change-Id: Ibc43a7abc55672eb2d685e5ed107e4c994d27f81


[ROCm/hip-tests commit: 0db4863f86]
2023-06-05 19:28:19 -07:00
ROCm CI Service Account 2b550e6815 SWDEV-371122 - Package name corrected for hip-catch-amd (#160)
Change-Id: I8ca14f50761e8f332bc0ca096594e241077f4715


[ROCm/hip-tests commit: 66ad40972a]
2023-02-09 19:38:07 -08:00
ROCm CI Service Account d052b58ad3 SWDEV-379129 - windows hip catch packaging name fix (#144)
remove the win32 from zip file name

Change-Id: I6f3aad10b137a325240a3605984c58d9e144c9a9

[ROCm/hip-tests commit: f0aba3305f]
2023-01-30 14:43:15 +05:30
ROCm CI Service Account 1e17fc7df7 SWDEV-376488 - Avoid stripping of executables in deviceLib (#118)
Avoids packaging failure

Change-Id: I5941feb6e000664fd4afab2d430d865c21b90d72

[ROCm/hip-tests commit: f47b66b976]
2023-01-13 14:02:20 +05:30
Rahul Garg 553f5730fd SWDEV-366868 - Fix hip-catch-amd rpm installation issue
[ROCm/hip-tests commit: fa31755c58]
2022-12-14 21:44:26 +00:00
Rahul Garg 6f89047bfa SWDEV-355313 - Merge remote-tracking branch 'hip/amd-staging' into amd-staging
Change-Id: I96ef1395f75089ad701ca637f5c0273d280e849b


[ROCm/hip-tests commit: 0571115bed]
2022-12-12 20:15:49 +00:00
ROCm CI Service Account 898c728ee5 SWDEV-362930 - Fixes packging issue Windows using makefile (#3054)
Issue NMAKE : fatal error U1065: invalid option 'w'
Solution -
Windows to use Ninja but cmake needs to skip compiler test

Change-Id: I1f666254ce5188dff0897815677ce4d9faf55e4c


[ROCm/hip-tests commit: 652d142b86]
2022-11-04 15:48:13 -07:00
ROCm CI Service Account 9e3586439c SWDEV-332251 - removal of hip-catch* pkg during rocm uninstallation (#3033)
Adds rocm-core dependency

Change-Id: I749aa19bbbccb92f3ae2314d5029a1b96555e851

[ROCm/hip-tests commit: 6fed9ba2b2]
2022-10-27 20:24:33 +05:30
ROCm CI Service Account 874a78f397 SWDEV-332251 - change catch-amd package name to hip-catch-amd (#2838)
1) catch-amd package name to hip-catch-amd
2) Install to /opt/rocm/test/hip instead of $ROCM_PATH/test/hip

Change-Id: Ie466e52a609c516aa14b7fced7552f7fbd66bc3a


[ROCm/hip-tests commit: 88ae7c18f7]
2022-08-01 15:23:48 -07:00
ROCm CI Service Account 655f4dce77 SWDEV-332251 - packaging in windows and multiple arch in catchInfo.txt (#2779)
Change-Id: I627662b59de002e9042f8218478404de0aa73ea5

[ROCm/hip-tests commit: c8c0c67677]
2022-07-08 13:36:41 +05:30
ROCm CI Service Account 20844fd79d SWDEV-332251 - packaging hip catch tests (#2751)
use "make package_test" to create test packages for catch folder

Change-Id: I1dbcfc8d55bb236b1c8c160d47018d57cb9e0534


[ROCm/hip-tests commit: 261d606262]
2022-06-22 11:18:27 -07:00