30 Commity

Autor SHA1 Wiadomość Data
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
Danylo Lytovchenko 2ff2316227 Adjust clang format to the new versions, revert broken macro layout (#714) 2025-08-22 17:23:22 +02:00
Danylo Lytovchenko f7338717ae SWDEV-470698 - fix formatting, add format check workflow (#657) 2025-08-20 19:58:06 +05:30
Dittakavi, Satyanvesh 104cc15010 SWDEV-418904 - Link the hiprtc tests with hiprtc library explicitly (#201)
[ROCm/hip-tests commit: a837598032]
2025-05-26 18:42:10 +05:30
Branislav Brzak 35c7d3e1c6 SWDEV-448163 - Fix Doxygen warnings
Change-Id: If72e312461a72920b6a482009c9aef4cf92f2e1b


[ROCm/hip-tests commit: 6c23e25c86]
2024-03-25 05:18:34 -04:00
Rupam Chetia a4e764fb69 SWDEV-396085 - [catch2][dtest] Adding stress test case for hipHostRegister() to test SVM feature
Change-Id: I4a38086bb736a596114e9f42ecfe6cfb0bc968b8


[ROCm/hip-tests commit: ae62b51e00]
2024-01-23 22:38:09 -05:00
taosang2 e070627ea7 SWDEV-364236 - Add layered texture object tests
Add layered array and texture object tests for all
types.

Change-Id: Ifb4d085a526c1ff7d1b7afe528c194d536b99db8


[ROCm/hip-tests commit: a79d6f8361]
2023-11-17 16:16:08 -05:00
kjayapra-amd 60e4e28d57 SWDEV-407994 - Adding stress test for hipModuleLoadData and hipModuleUnload code path.
Change-Id: I0b7e991ebb69699f6d285b0d3a08ea072fdfb5df


[ROCm/hip-tests commit: 895a844980]
2023-11-01 21:50:44 -04:00
ROCm CI Service Account 7e6f301b4e SWDEV-383372 - [catch2][dtest] Adding corner and stress tests for hipHostMalloc(). (#208)
Change-Id: I2308059e50a951a1e70de4f90fef9e2c76af21f1

[ROCm/hip-tests commit: 0b56a9d38c]
2023-08-14 20:50:29 +05:30
ROCm CI Service Account be8a0d7d2c SWDEV-389689 - Rework oversubscription test to use threads instead of process. Also consider system memory when oversubscribing (#317)
Change-Id: If063552e9e2815f07e944259237310f6fef37ad5

[ROCm/hip-tests commit: 329a350ec0]
2023-06-28 12:47:48 +05:30
ROCm CI Service Account 429f98452b SWDEV-327563 - stress tests executable name change (#183)
Helps to differentiate functional tests vs stress tests

Change-Id: I6269fc58f21c9d4e8a71268006b8da926f0ddbe0

[ROCm/hip-tests commit: 4f9ba54fb1]
2023-03-06 16:57:04 +05:30
Rahul Garg ca57f979a0 Catch2 standalone exe (#129)
* SWDEV-359379 - catch2: Standalone single exe per file

-workaround for rsp file issue.
-Creates single exe per file
-tests detection is still during execution time and NOT compile time

Change-Id: Iddfb83d57b2d767212f3d9307a276b7d572da6cd

* SWDEV-359379 - Update CMakeList

* Update Catch.cmake

* Temporarily disable failing tests


[ROCm/hip-tests commit: 961245e9f4]
2023-01-19 14:09:14 -08:00
ROCm CI Service Account ee95d39a40 SWDEV-361383 - Fixing compilation issue for stress test files under catch2 framework (#2998)
Change-Id: I4253a6cdb2c10bcb0021f869b7b3c4f1acd28787

[ROCm/hip-tests commit: 339a51dcaf]
2022-10-19 16:52:24 +05:30
Paulius Velesko 65a428aaff Catch2 Test Fixes (#2961)
* test fixes

* address PR comment

* PR comment fixing Nvidia pass

* add additional kernel launch checks

* pr comments


[ROCm/hip-tests commit: da453211ed]
2022-09-30 15:07:25 -07:00
ROCm CI Service Account aa5f494517 SWDEV-312831 - Adding device side malloc/new tests (#2635)
Following tests are added in this patch
1) Functional Tests
2) Stress Tests
3) Multiprocess Tests

Change-Id: Ifd2310fe8f5d555a9af9b87c296fdf6dd4a0a552

[ROCm/hip-tests commit: de0eb21023]
2022-08-05 16:21:15 +05:30
Jatin Chaudhary 1b16c4a295 Add tests for multi stream usage scenarios (#2608)
[ROCm/hip-tests commit: 80055d6147]
2022-06-20 16:21:13 +05:30
ROCm CI Service Account bebf1a2bc9 SWDEV-339657 - Update catch codes with correct coordinates (#2735)
Change-Id: I8ca78d770a742bf6c2abede494759caa923fcc19


[ROCm/hip-tests commit: d31aca651d]
2022-06-15 10:58:10 -07:00
Jatin Chaudhary a9f5e0bd3d Add missing tests for hipHostMalloc (#2566)
[ROCm/hip-tests commit: 8b291f071a]
2022-06-10 21:16:23 +05:30
Jatin Chaudhary 904cc67751 Add/Improve hipMalloc Tests (#2607)
[ROCm/hip-tests commit: 80e87eb23e]
2022-05-25 14:04:07 +05:30
agunashe 1828535524 SWDEV-1 - hip tests: Moving ctest file generation to execution phase (#2522)
Earlier ctest file creation was taking place during build time.
Due to cmake framework issue the file creation had issues,
which in turn failed the test build.
This change moves this logic to the execution phase
and gets rid of the unwanted dependency during build time

Change-Id: Ifbf7e325f1b15a8be12e76560a6d339bc76705ee

[ROCm/hip-tests commit: 4872e70674]
2022-02-28 09:26:33 -08:00
lthakur 48716289bd SWDEV-298757 - Moving Unit_hipMemPrefetchAsyncOneToAll into stress/memory directory (#2460)
[ROCm/hip-tests commit: e108ed9cbf]
2022-02-25 19:39:30 +05:30
lthakur 6e31b0e176 SWDEV-298757 - Moved long running tests into stress category. (#2461)
[ROCm/hip-tests commit: 460a07f338]
2022-02-23 11:58:08 -08:00
agunashe 82957e3458 SWDEV-273235 - Linux: catch2 shared lib to executable (#2421)
Change-Id: I17101e39fd05eb35c087ebdf3cb005d428d9f206

[ROCm/hip-tests commit: f90c5d218c]
2021-11-26 11:02:29 +05:30
lthakur 0ef5bb1917 SWDEV-298757 - Adding stress test for hipMallocManaged() api (#2397)
Change-Id: Ie5d016bec9c939c3af60c1476a79d7685e774ced

[ROCm/hip-tests commit: 0863a2e813]
2021-11-25 15:10:56 +05:30
Maneesh Gupta 4d8ff0e321 Revert "SWDEV-289405 - [catch2][dtest][module] Migration of Module files to CATCH2 framework (#2351)" (#2354)
This reverts commit 595ec1b4bb.

[ROCm/hip-tests commit: 1d15e18e30]
2021-09-20 10:47:52 +05:30
dkrottap 595ec1b4bb SWDEV-289405 - [catch2][dtest][module] Migration of Module files to CATCH2 framework (#2351)
Migrated all module related files to CATCH2 framework and optimized to
have single module kernel file

Change-Id: I39aa28ef22c1b2f4d0014ca32b59b9c645b725dc

[ROCm/hip-tests commit: 4e1a3ff850]
2021-09-17 11:39:36 +05:30
DURGESH KROTTAPALLI 3961c18919 SWDEV-292393 - [catch2][dtest] Tests for hipMemcpy related apis.
Migrated all hipMemcpy related APIs to CATCH2 framework by optmizing
the code and moving the stress related tests to stress folder.

Change-Id: Id47669b49304c35d1a68fabdaaf3f6e3ab0428a5


[ROCm/hip-tests commit: 18591bc68f]
2021-07-31 00:48:43 +05:30
Rahul Garg 97de29b390 SWDEV-293742 - Update copyright year
Change-Id: I4248b2cebd3de056f9d5d417e0697da22fb964ef


[ROCm/hip-tests commit: c54d09a028]
2021-07-23 07:13:33 -04:00
Rupam Chetia d90a8fd966 SWDEV-230423 - [dtest] Adding Stress tests.
http://ontrack-internal.amd.com/browse/SWDEV-230423

1. Moving stress folder from hip/test/src to hip/test.
2. Adding Stream stress tests.
   These stress tests create multiple streams and launches kernel on them
   in multiple combinations for 100000 iterations. These tests will test
   the stability of streams created using hipStreamCreate, hipStreamCreateWithPriority
   and hipStreamCreateWithFlags.
3. Adding printf stress tests using simple kernels.
4. Adding printf stress tests using a complex kernel.

Change-Id: Idcd26707fb9504ab8dbe6cebcbb32ade61bf1483


[ROCm/hip-tests commit: f699e87bd2]
2021-07-14 04:40:30 -04:00
cjatin abab64b35a SWDEV-277697 - Adding Infra and dependent libs: Catch2 and json parser, for new HIP Testing framework
Change-Id: Iedfa041ec9acc13eeb631ff67e1677e2fe29463d


[ROCm/hip-tests commit: be6809d8d1]
2021-05-19 00:47:00 -04:00