52 Commity

Autor SHA1 Zpráva Datum
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
systems-assistant[bot] 774cb67314 SWDEV-489106 - Hip Tests for Linker APIs (#578)
1) Test linking of SPIRV bundled and unbundled code object in runtime
2) Negative Param test for hipLinkAddData API

Change-Id: I7c8167f6d862f5b23f9532f69b6da4fc50e96dcd

Co-authored-by: Rahul Manocha <rmanocha@amd.com>
2025-10-06 08:34:33 -07:00
marandje 3a37389f6a SWDEV-547554 - Resolve memory leaks in hiprtc tests (#967) 2025-09-12 18:12:15 +02: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
Sang, Tao 178d6036f5 SWDEV-537473 - Fix missing KERNELS_PATH (#273)
[ROCm/hip-tests commit: c4284d50c5]
2025-06-11 19:44:36 +05:30
Belton-Schure, Aidan a81c743078 SWDEV-482125 - fix Unit_Rtc_MathFunctions_header (#270)
[ROCm/hip-tests commit: 6fbcc0726f]
2025-06-10 22:52:50 +05:30
Hernandez, Gerardo 5d5fa6fc2a SWDEV-420237 - Add tests for reduce sync operations (#102)
[ROCm/hip-tests commit: 001affc6ae]
2025-05-14 11:57:05 +01:00
Ioannis Assiouras 6d77b4b783 SWDEV-517040 - Prevent segfault in Unit_hiprtc_includepath if can't open saxpy.h
Change-Id: Ie26857fe5dc16c8053b67b145d88588ce209281c


[ROCm/hip-tests commit: bae567a560]
2025-03-03 19:34:37 -05:00
Marko Arandjelovic fe9860bd47 SWDEV-485763 - Fix memory leaks in various unit tests
Fix memory leaks by adding missing destroy calls for
events, streams, and graphs at the end of tests.

Ensure that every test case executes destroy calls,
regardless of whether it passes or fails.

Change-Id: I814e35c528d90ed2abb34d77377f1a7fd3f1f11c


[ROCm/hip-tests commit: 9cffda4ebb]
2024-12-10 10:25:08 -05: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
Sebastian Luzynski 94389a73d5 SWDEV-441598 - Add tests for hiprtcLinkDestroy
Signed-off-by: Sebastian Luzynski <Sebastian.Luzynski@amd.com>
Change-Id: Icb73543a72eaf1a0ee59b702c6f4bf5be7cbeb36


[ROCm/hip-tests commit: eec4fec7d4]
2024-10-18 04:06:31 -04:00
Julia Jiang 13c5e7a3e4 SWDEV-472723 - Correct file format and remove trailing spaces
Change-Id: Ie40c763e9391fa36d6c890cd0a171659a1502a83


[ROCm/hip-tests commit: 5d042c80fa]
2024-08-01 15:17:39 -04:00
SrinivasaRao 274601814c SWDEV-409793 - [catch2][dtest] Expanding the hipRTC coveage for the header hip_bfloat16.h
Change-Id: I92b62f05276f58bb8ad4afec9e03180de3b43e71


[ROCm/hip-tests commit: 59471ab86b]
2024-07-16 14:49:23 -04:00
Sebastian Luzynski 2ca5a8e73c SWDEV-465141 - Fix Unit_RTC_LinkAddFile_Negative test failure
This test was failing due to the incorrect return vaulue assumption.

Signed-off-by: Sebastian Luzynski <Sebastian.Luzynski@amd.com>
Change-Id: I88a18665a3be221157134f0855a814dba013e293


[ROCm/hip-tests commit: 1b5f5b05bc]
2024-07-15 11:48:46 -04:00
Sebastian Luzynski 18dea076f2 SWDEV-452864 - disable Unit_hiprtc_stdheaders test
Signed-off-by: Sebastian Luzynski <Sebastian.Luzynski@amd.com>
Change-Id: Iee312683dcd83104f330214d4246bef08517000f


[ROCm/hip-tests commit: 612fbfcf0b]
2024-07-11 05:07:08 -04:00
Satyanvesh Dittakavi ca85d70421 SWDEV-458637 - Adds test for bitcode compilation with undefined function
Change-Id: Ic94d2a4a99ce6993a9a11e74192e13c90a99598e


[ROCm/hip-tests commit: 8417e0b442]
2024-07-01 12:22:47 -04:00
poojajs 92a9ba163e SWDEV-394940 Enabling basic testcases with HIPRTC apis for supported compiler options & also with combination of compiler options
Change-Id: If762335c9258fa6b0a49d53c54c0508fb7987056


[ROCm/hip-tests commit: 72f2f3187b]
2024-05-29 02:44:17 -04:00
Sameer Sahasrabuddhe ec1f43cd05 SWDEV-453422: introduce warp sync tests
The following builtins are tested:

  - __all_sync, __any_sync, __ballot_sync and __activemask
  - __match_any_sync and __match_all_sync
  - __shfl_sync, __shfl_up_sync, __shfl_down_sync, and __shfl_xor_sync

The tests for shfl (all variants) were manually validated on a CUDA setup.

NOTE:

  - Unit_hipVoteSync_All temporarily disabled on Windows (SWDEV-452308).
  - All new tests temporarily disabled on CUDA (SWDEV-453145).

Change-Id: I84b205a88aa24219d199c760793e2f19f0cf8f13


[ROCm/hip-tests commit: 53f0a9bd01]
2024-05-03 08:58:23 -04:00
Sebastian Luzynski 53fa7d6d30 SWDEV-441602 - Add tests for hiprtcLinkAddFile
Signed-off-by: Sebastian Luzynski <Sebastian.Luzynski@amd.com>
Change-Id: Iae148c3c908e18247624937512908dbb3cbc460c


[ROCm/hip-tests commit: 586f8ad143]
2024-04-29 03:31:02 -04:00
Rakesh Roy 03d0117d87 SWDEV-1 - Skip tests hanging/failing in Windows PSDB
- Device side memory allocation & printf testcases are hanging because pcie atomics is disabled in recent builds
- Few Coalesced Group testcases also hanging
- Unit_Thread_Block_Getters_Positive_Basic testcase is failing randomly

Change-Id: Ie53515db05c41e879248bb02655a74f0c296aa5f


[ROCm/hip-tests commit: 9de3979083]
2024-04-13 23:18:26 -04:00
SrinivasaRao 19a19e773f SWDEV-436870 - [catch2][dtest] Test cases to verify the data type of ptrdiff_t
Change-Id: Ie477f7201c0bd2db5f1f200eec326c91d0c98c28


[ROCm/hip-tests commit: 51f3451577]
2024-04-03 11:54:25 -04:00
Branislav Brzak 35c7d3e1c6 SWDEV-448163 - Fix Doxygen warnings
Change-Id: If72e312461a72920b6a482009c9aef4cf92f2e1b


[ROCm/hip-tests commit: 6c23e25c86]
2024-03-25 05:18:34 -04:00
Lakhan singh Thakur 90f5e7bf0c SWDEV-379212 - Adding Tests for hiprtcGetLoweredName() api for templated kernels
Change-Id: I45f092bb260dcd60709e79cbd7babfd2d9982858


[ROCm/hip-tests commit: 5f3c4b9ca1]
2024-03-19 11:54:57 -04:00
SrinivasaRao c11875d803 SWDEV-437084 - [catch2][dtest] Test cases covering all the data types and functions defined inside amd_hip_complex.h with hipRTC
Change-Id: I945375643ad3da6c1e45706897c5c6ceee639da5


[ROCm/hip-tests commit: bcf6730196]
2024-03-19 11:42:32 -04:00
mbhiutra 59ef1abbcf SWDEV-412880 - [catch2][dtest] Adding test cases for functions defined inside hip_vector_types.h, hip_fp16.h, texture_types.h and math_functions.h
Change-Id: I5427898303babc1f1f0dc4b15921e9f1cd52c4ad


[ROCm/hip-tests commit: 8d8db1f1bf]
2024-02-13 00:33:10 -05:00
mbhiutra aecf96918f SWDEV-415965 - [catch2][dtest] Added test for hip Math Constants
Change-Id: I6fbfc88d9e8d7708d7323a7708b03a7f5998db41


[ROCm/hip-tests commit: 51b354a25f]
2023-11-24 06:00:01 -05:00
Jatin Chaudhary 143ef3f742 SWDEV-431399 - fix first set of memory leaks in tests
Change-Id: I73254b2f17df69726110070ebb457df14d647f27


[ROCm/hip-tests commit: 96cf008176]
2023-11-17 06:23:49 -05:00
Satyanvesh Dittakavi faf506016b SWDEV-419480 - Add hipRTC test which includes standard headers
Change-Id: Ieea60a16eaea2446a1a8e0f890ad7ecba39a8d10


[ROCm/hip-tests commit: a3509a54cf]
2023-11-06 09:06:34 -05:00
Satyanvesh Dittakavi f891b700ab SWDEV-421415 - Add hipRTC test with device-side malloc
Change-Id: Ia1c3f2ab703432915bda0c62cae584349e535463


[ROCm/hip-tests commit: 50e3514a82]
2023-11-01 21:50:00 -04:00
Jatin Chaudhary bf319a8e48 SWDEV-425943 - Fix failures seen when compiling with a new compiler
Change-Id: I0dc0ceaaf852d96231f08d47ec4ca61d95cc5fec


[ROCm/hip-tests commit: 493e5d2cd7]
2023-11-01 04:53:43 -04:00
Satyanvesh Dittakavi b284d005b9 SWDEV-395996 - Enable the disabled hiprtc tests
Change-Id: Id0b12f11c298f7488cd95e92916574388e9b1356


[ROCm/hip-tests commit: 949cb688dd]
2023-10-12 12:11:35 -04:00
Satyanvesh Dittakavi 039a0b615a Fix issues related to -Werror in hip tests (#396)
* Fix issues related to -Werror
* Correct the skipped tests

[ROCm/hip-tests commit: 605d5eee5d]
2023-08-19 21:38:59 +05:30
ROCm CI Service Account 4b3be1ade7 SWDEV-1 - Enable hiprtc test includepath and copy its dependent files to bin directory (#374)
Change-Id: I7171bd343cdccc02f55bcb1b891f589c5fe2acaa

[ROCm/hip-tests commit: ec88eca484]
2023-08-14 21:19:44 +05:30
ROCm CI Service Account 5f143dbf22 SWDEV-394940 - [catch2][dtest] Adding basic testcases with HIPRTC apis for supported compiler options & also with combination of compiler options (#327)
Change-Id: Ie393e91afe195387152b588780e3109f21d1ad94

[ROCm/hip-tests commit: 58b55f9544]
2023-08-14 21:17:40 +05:30
ROCm CI Service Account dfe9034cab SWDEV-384714 - Add RTC test for half data type warp shfl functions (#202)
Change-Id: I7cbf6932c928974236df2a49c7b5dee863da72ed

[ROCm/hip-tests commit: 08fa8258ec]
2023-08-14 20:47:53 +05:30
ROCm CI Service Account d3b771c91d SWDEV-385161 - Deprecate usage of env vars in HIP samples and tests (#363)
* SWDEV-385161 - Deprecate usage of env vars in HIP samples and tests env vars such as HIP_PATH, ROCM_PATH, HIP_COMPILER, HIP_RUNTIME, HSA_PATH etc are removed.

Change-Id: I280e20b291cfb14675846aae72d97fa5b3ad567d

[ROCm/hip-tests commit: 34976df246]
2023-08-14 12:06:14 +05:30
ROCm CI Service Account a2ead92795 SWDEV-366314 - Test for hip_bfloat16 using hiprtc (#77)
Change-Id: I919b1386c4812c160f39c8cffa4ac3403c959d99

[ROCm/hip-tests commit: 6a1564a4b2]
2023-06-28 09:46:12 +05:30
ROCm CI Service Account e42f621831 SWDEV-368280 - Add Unit_hipStreamCaptureExtModuleLaunchKernel (#105)
For stream capture test of hipExtModuleLaunchKernel.
SWDEV-372824 - Add Unit_hipStreamCaptureRtc
For stream capture test based on RTC

Change-Id: I96ef1395f75189ad751ca637f5c3273d280e849a

[ROCm/hip-tests commit: fd758200e5]
2023-06-21 15:56:36 +05:30
ROCm CI Service Account 4cf63839d1 SWDEV-384013 - Add HIPRTC_JIT_IR_TO_ISA_OPT_EXT tests (#301)
Change-Id: I57f3349a8e9ae1754f2823c7c143d6475ab6caac

[ROCm/hip-tests commit: af4826551c]
2023-06-19 09:39:34 -07:00
ROCm CI Service Account 440621fe3d SWDEV-339488 - Catch2 test for hipRTC include path (#2898)
* SWDEV-339488 - Catch2 test for hipRTC include path

Change-Id: I1f5502d1ea72ac4133f79207f2d60f86b934cf36

[ROCm/hip-tests commit: 0e309ebc9e]
2022-09-26 07:39:45 +05:30
ROCm CI Service Account 568c361802 SWDEV-353807 - Fixes multiple catch issues (#2912)
- enforcing c++17 for all tests
- Warning as error: ignoring return value

Change-Id: I3d171540403f74222e631d1a8e393386461c9729


[ROCm/hip-tests commit: d0aaed906d]
2022-08-30 16:53:21 -07:00
ROCm CI Service Account 59f2767475 SWDEV-341360 - Add Catch2 loweredname hipRTC test (#2801)
Change-Id: Ibe8736951af491e48dee77644bbd0475d326c152

[ROCm/hip-tests commit: 9be55a6379]
2022-07-19 19:27:14 +05:30
ROCm CI Service Account 3c22e4b289 SWDEV-1 - [catch2][dtest] Add functional test for hiprtc (#2689)
Change-Id: I204b060fc00bb81f14f7bb296d4ff5cd7be9804a

[ROCm/hip-tests commit: 486fd01d0c]
2022-06-03 08:32:33 +05:30
ROCm CI Service Account 3e2aaf7ec6 SWDEV-308763 - Update hiprtc tests to link with hiprtc lib (#2575)
hiprtc is made into a separate lib and hence tests should link with it explicitly during compilation
Also, updates the hiprtc programming guide

Change-Id: Ie1f9d7250d4a8622b77ef92938fc0decbaeb72f9

[ROCm/hip-tests commit: 7d45f699fc]
2022-04-01 09:02:20 +05:30
ROCm CI Service Account f7036fe809 SWDEV-321656 - [catch2][dtest] Add hiprtc test for warp size (#2578)
Change-Id: I1a6ac42e17d78544722c429b230b93d0c0ec257c

[ROCm/hip-tests commit: 6f32803b25]
2022-04-01 09:01:44 +05:30
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
Jatin Chaudhary f30b3035ef SWDEV-297217 - Add test for overriding user options (#2386)
Change-Id: If4c2cad9ef3359ca8d98814864fbe0b9b8e4a4ab

[ROCm/hip-tests commit: 4df3d1af47]
2021-11-25 15:09:18 +05:30
Jatin Chaudhary 4c31bfcc61 SWDEV-289409 - Add hiprtc tests
Change-Id: Ib26527b704aed32ae3f3ed38bf6e2fd412462c8e


[ROCm/hip-tests commit: 46fb008ba6]
2021-07-22 00:34:53 -04:00
Jatin Chaudhary 47bb851c82 SWDEV-283267 - Add rtc document and remove hip header from tests
Change-Id: I43a23384ab70128ccd7f41204f796105576cd604


[ROCm/hip-tests commit: 9965325cc6]
2021-07-14 11:00:38 -04:00