71 Коммитов

Автор SHA1 Сообщение Дата
Shadi Dashmiz 96f6b6e251 SWDEV-571304 : Fix the constructor for __half (#2240)
- comply with cuda

- Fix usecase for constexpr

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
2025-12-17 11:15:20 -05:00
Rahul Manocha af5c453551 hip-tests: Enable standalone test targets with cmake (#2189)
Co-authored-by: Rahul Manocha <rmanocha@amd.com>
2025-12-09 11:07:42 -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
AidanBeltonS 0580e2053c SWDEV-533546, SWDEV-540027 - Add e8m0 conversions and testing (#987)
* SWDEV-533546 - Add conversion functions for e8m0

* SWDEV-533546 - remove whitespace

* Add testing

* Update based on feedback

* Copilot suggestions

---------

Co-authored-by: systems-assistant[bot] <systems-assistant[bot]@users.noreply.github.com>
2025-11-24 09:14:03 +00:00
amilanov-amd 738bf16008 [hip-tests] Tag multigpu tests with Catch2 tags (#1315) 2025-11-14 13:00:30 +01:00
systems-assistant[bot] 4e9acd492d SWDEV-487647 - Add HIP tests for Dynamic Alloca (#569)
Co-authored-by: Pravin Jagtap <Pravin.Jagtap@amd.com>
Co-authored-by: Aaditya <Aaditya.AlokDeshpande@amd.com>
Co-authored-by: Arsenault, Matthew <Matthew.Arsenault@amd.com>
2025-09-10 13:25:41 +05:30
Julia Jiang d130c986fc SWDEV-553028 - Adding Coptright in files for HIP-tests (#829) 2025-09-05 16:44:28 -04:00
vstojilj 12ad8421bb SWDEV-549700 - Add missing destroy calls (#755) 2025-09-04 17:21:32 +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
Deshpande, Chinmay Diwakar 1ada481219 SWDEV-532676 - Fix hipcc flags for catch tests (#191)
Co-authored-by: Chinmay Deshpande <chdeshpa@amd.com>

[ROCm/hip-tests commit: 1c366ee950]
2025-06-24 21:42:11 -07:00
Chaudhary, Jatin Jaikishan 6ca3502d42 SWDEV-470698 - remove duplicate tests (#316)
Change-Id: Icedf0bd442f9a983fc590b7fde1a0e888472b65a

[ROCm/hip-tests commit: 409b47fec6]
2025-06-23 19:52:44 +05:30
Venkatesh, Anavena 6735af957a Test cases for Fp4 and fp6 coversion apis (#169)
[ROCm/hip-tests commit: 6e2c871652]
2025-06-10 21:29:06 +05:30
Belton-Schure, Aidan c8a720088f SWDEV-527851 SWDEV-527890 SWDEV-529456 - Update vector types test (#172)
* Update vector types test

* update MakeVector to be host+device function

* Add regression testing

* Add tests for subscript operator

Change-Id: Ifac85aaa6cd6d6bd96c4239414e38f284e2a2d54

* Fix unused vars

Change-Id: I6bc2da76dbf962db5d75ea5a84bf16b66f8ba6ba

---------

Co-authored-by: Aidan Belton <abeltons@amd.com>

[ROCm/hip-tests commit: ef6c95f6ce]
2025-05-29 21:38:20 +05:30
Brzak, Branislav ee0e2af0e1 SWDEV-516564 - SWDEV-512817 - Remove mentions of gfx940 and gfx941 (#30)
[ROCm/hip-tests commit: 902988494e]
2025-03-19 15:42:18 +01:00
taosang2 f2ab8e53cc SWDEV-501963 - Add missing codes for gfx950
Change-Id: I6b3c6bf54c61cffd44cd6f17b75998f751b75724


[ROCm/hip-tests commit: 1a7df073ba]
2025-03-05 08:18:22 -05:00
Jatin Chaudhary b5c5d67f7a SWDEV-501779 - add host tests for fp16
Change-Id: I47a117bb6fbfe1d5c7262238b97d9fccf7d4222c


[ROCm/hip-tests commit: 84a460d96b]
2025-01-31 04:24:12 -05:00
Jatin Chaudhary d9482cf69c SWDEV-486137 - Add tests for *hadd*
Change-Id: I60839bce25ac57947bda1eab9c49941c53ace7cd


[ROCm/hip-tests commit: 7bb49582db]
2024-12-10 04:32:45 -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
Rahul Manocha f74c5c4972 SWDEV-468039 - Add Catch Test for fp8 OCP type conversions
Change-Id: I2648909483b8dc32fcd720c18608c5ca32399045


[ROCm/hip-tests commit: e3e662b52b]
2024-09-25 12:00:52 -04:00
Jatin Chaudhary d28d65607a SWDEV-411880 - Fix test device malloc
Unit_deviceAllocation_Malloc_ComplexDataType

Change-Id: I8d5c3a9c63e74ffc90ddf6b89729603236a88fcf


[ROCm/hip-tests commit: f62e3df454]
2024-09-24 14:45:40 -04:00
Jatin Chaudhary cfe170e4bd SWDEV-466747 - add shfl tests and increase test coverage
Change-Id: Ifd3edb5620fcbd3c3bbd88a0a1280eaac98e0487


[ROCm/hip-tests commit: c96c60c49c]
2024-08-26 13:27:57 -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
Rahul Manocha 37b1ec0333 [SWDEV-468039] - Remove fp8 catch test source from cmake
Change-Id: Ibf8c95b11187d16da5594921aac8c467f91994f0


[ROCm/hip-tests commit: 331410fcb8]
2024-07-23 11:35:08 -04:00
Ioannis Assiouras 1a525cb854 SWDEV-464648 - code and comment cleanups
Change-Id: I10b462078fa9eed73372d81dff92d7278731f736


[ROCm/hip-tests commit: 38f67d4a0b]
2024-06-12 00:34:10 -04:00
Jatin Chaudhary 8079f81851 SWDEV-379007 - fp8 tests
Change-Id: I528a8fc53c3145b5322d5d4892499faec71f7684


[ROCm/hip-tests commit: 99995b9f72]
2024-05-03 09:09:31 -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
Jatin Chaudhary 37c2adf0a1 SWDEV-379007 - fix __hip_bfloat16 tests
Change-Id: I9d3c9ec440c818ce72fe3b09bd06a5d888e4ac25


[ROCm/hip-tests commit: 9d06a7c40a]
2024-04-09 05:32:22 -04:00
Ajay 3f986eceb2 SWDEV-441112 - fix hip-tests catch build on nvidia platform
hip/hip_runtime.h path was not used correctly in some tests

Change-Id: I1a3f5fba352273ce366404f398bb5c2f7d6f283f


[ROCm/hip-tests commit: 1d9aadbf92]
2024-01-17 11:34:53 -05:00
Jatin Chaudhary bae9739c15 SWDEV-411156 - Add basic tests for fp16
Recreation of github PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/384

Change-Id: Ie4f00ebd198c8689d34757a3c27aaddb85d15370


[ROCm/hip-tests commit: 51c5b7b612]
2023-11-22 20:58:37 +05:30
Tao Sang aa4aaec7fb SWDEV-428198 - Improve vector operator test
Add back hipVectorTypesDeviceTest.cc
Rename hipVectorTypes.cc as hipVectorTypesHost.cc
Fix some bugs in compiling.
Related to SWDEV-426270 as well.

Change-Id: I95af838136b114d776423442253e8c742a8d69e5


[ROCm/hip-tests commit: d26d5cf992]
2023-11-17 06:19:20 -05:00
Pravin Jagtap 410e83c482 SWDEV-420786 [catch2] Added tests for global atomics.
Change-Id: Ic708e056e3a8ba8c440479539b73c5ce5fe8fe1b


[ROCm/hip-tests commit: 8ba1245414]
2023-11-08 23:07:41 -04:00
kjayapra-amd feaa0bbe43 SWDEV-420149 - Fixing unsafe atomics change for targets other than gfx90a.
Change-Id: Ifa26fd1c51505c5e86e121233c8352e3bde846ea


[ROCm/hip-tests commit: a363fa2833]
2023-09-27 12:20:05 -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 feb18300fb SWDEV-380340 - [catch2][dtest] DeviceLib tests migrated from direct to catch2 (#225)
Change-Id: Ie2ec1c7dabdfedbe0bd36fd2525df7dc9d9ba2e5

[ROCm/hip-tests commit: 3447a59895]
2023-08-14 20:52:26 +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 011b44b482 SWDEV-393910 - Port gfx940 changes to mainline. (#321)
Change-Id: I77e70bcb15fbd38b1c79c1f68b7e483b2b3e0daf

[ROCm/hip-tests commit: d33ccb3569]
2023-06-29 08:57:51 +05:30
ROCm CI Service Account 24c863712a SWDEV-395559 - Test to check __half2_raw can be initialized without designator. (#268)
Change-Id: I6dc15074c77b19791babc85c4b32eaa9c1c808d5

[ROCm/hip-tests commit: 71bab0ef2f]
2023-06-21 15:59:17 +05:30
ROCm CI Service Account 033af77612 SWDEV-367537 - Add tests for bfloat16 (#305)
Change-Id: I5a7fabd4416f765a37ac5dab8e8229f8d1a2afda


[ROCm/hip-tests commit: 2c2d1b749d]
2023-06-19 09:37:30 -07:00
ROCm CI Service Account 10ebf61211 SWDEV-357797 - enabling devicelib tests on Windows (#148)
Change-Id: Ic60e2f77fd2dcba0e0e00a58e1a22a1f28fede5c


[ROCm/hip-tests commit: cef4ed8196]
2023-03-14 16:27:52 -07:00
Maneesh Gupta 76bf03c9c7 SWDEV-1 - Fix warnings while building tests (#201)
Change-Id: I7faf3446f8c9dafbbfc6bab4c6c1b756f0e4219d

[ROCm/hip-tests commit: ac4267e21e]
2023-03-14 21:42:20 +05:30
ROCm CI Service Account 90d3cd808e SWDEV-379358 - [catch2][dtest] DeviceLib tests migrated from direct to catch2 (#185)
Change-Id: Ie69bb0189574e8e9e411aa946b27751efd99f322

[ROCm/hip-tests commit: d1212bb9ab]
2023-03-06 16:57:51 +05:30
ROCm CI Service Account 301b4dc4d3 SWDEV-364628 - [catch2][dtest] Test cases added for atomicInc and atomicDec (#121)
Change-Id: I2820423db6d588a6b638aeb30b965154843f877c

[ROCm/hip-tests commit: 5ef26cc476]
2023-02-06 12:07:40 -08:00
ROCm CI Service Account 1f271bf22e SWDEV-366060 - Adding tests for __hmax/hmin device functions (#125)
Change-Id: I4a34f15168bdedaaaaa247faa7a3e7fce34f89d5


[ROCm/hip-tests commit: a76956607c]
2023-01-26 08:20:05 -08:00
ROCm CI Service Account c1ff2f385c SWDEV-241672 - Catch2 dtest migration of hipMathFunctions.cpp having pow tests (#2595)
* SWDEV-241672 - Catch2 dtest migration of hipMathFunctions.cpp having pow tests

Change-Id: I13961461398439534dd5dfd91d9dcd5fbb8ca124

[ROCm/hip-tests commit: e18406066e]
2022-11-30 15:27:07 +05:30
ROCm CI Service Account 90d7c48ed3 SWDEV-345571 - Fix template parameter redefines default argument (#3101)
Change-Id: I1f22f0dd17831d31d9119e878f698312f29ce036


[ROCm/hip-tests commit: 5af8d1f92a]
2022-11-28 16:45:34 -08:00
ROCm CI Service Account fb413549aa SWDEV-327563 - deviceLib build fix for nvidia (#3072)
Change-Id: Ic66242caa21f9ba6f41255d84a3fd3e54b481b46

[ROCm/hip-tests commit: 88160dc42d]
2022-11-28 14:03:31 +05:30
ROCm CI Service Account ab58ccf21a SWDEV-346579 - atomics test cases for non MI2xx/MI3xx (#3060)
Replace the internal __builtin__ functions with external APIs

Change-Id: Ia3cf37af004b5b9a4833b18a8771a8864772beb4


[ROCm/hip-tests commit: 6a40a263a2]
2022-11-16 14:01:05 -08:00
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 723f0c9f5c SWDEV-353807 - Fix deviceLib tests build when build/execution node is same (#2933)
Change-Id: I4eccc4b6dce755cd49e8eff6df6393d2a8c552f5

[ROCm/hip-tests commit: 0f7572b4c9]
2022-09-12 11:53:15 +05:30