30 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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 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 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 e3a3d98d55 SWDEV-277697 - [CatchTest] Fix Documentation, Add test to AMD specific, Add HIP Macros, New Binary for multiproc tests
Change-Id: I3783caf85c694b724ed55b778220b8ef9a39f84b


[ROCm/hip-tests commit: da360c2aab]
2021-05-25 07:12:54 -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