44 Commity

Autor SHA1 Zpráva Datum
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
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
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
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 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
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
Jatin Chaudhary 8079f81851 SWDEV-379007 - fp8 tests
Change-Id: I528a8fc53c3145b5322d5d4892499faec71f7684


[ROCm/hip-tests commit: 99995b9f72]
2024-05-03 09:09:31 -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
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 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 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
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 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
ROCm CI Service Account d5c78a909c SWDEV-353807 - deviceLib test when build/execution nodes are different (#2905)
Change-Id: I9dd831bbf87999cb3ea65c91b7e86679198357d3


[ROCm/hip-tests commit: ba5a0b9af5]
2022-08-30 12:27:28 -07:00
Maneesh Gupta a11615beec Win: disable compiling unsupported test
[ROCm/hip-tests commit: e47d977614]
2022-08-08 10:37:21 +05:30
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
ROCm CI Service Account 7253d79db9 SWDEV-327563 - Windows: enable skipped devicelib, event, stream tests (#2668)
Change-Id: Iebc9766f71f20148d2d4b6e08de7745111393a97


[ROCm/hip-tests commit: 824d79cd50]
2022-05-06 11:04:10 -07:00
Maneesh Gupta d9783ca993 SWDEV-327563 - Windows: enable deviceLib catch tests (#2642)
Change-Id: I10094c31d0f51c311618ecdc193e7411316d00ef

[ROCm/hip-tests commit: cd6fb63981]
2022-04-21 14:34:17 +05:30
ROCm CI Service Account 3dae157ab5 SWDEV-293806 - Added tests for unsafeAtomicAdd and builtin APIs (#2597)
Added tests for unsafeAtomicAdd and Builtin APIs for coherent/non-coherent memory with RTC and without RTC

Change-Id: I8b243ac82d0f14a38f6b5553107066248aafb41d

[ROCm/hip-tests commit: 34bcf0398f]
2022-03-31 21:33:17 +05:30
ROCm CI Service Account bab195cec6 SWDEV-293806 - Added tests for AtomicAdd with and without unsafeAtomics flag (#2603)
Added tests for AtomicAdd API for coherent/non-coherent memory with and without unsafeAtomics flags

Change-Id: I1937d7e936ac062b8d93feb59a50a6dd8ae9feca

[ROCm/hip-tests commit: 48332d0396]
2022-03-31 10:35:00 +05:30
ROCm CI Service Account 7c618d9165 SWDEV-314080 - Tested All hipMemcpy**() apis with hipStreamPerThread stream obj (#2496)
Change-Id: I8f429eb0cc3be2e4d62c76ccb8c1510c56a1e143

[ROCm/hip-tests commit: a13fafa05c]
2022-02-24 18:58:04 +05:30
agunashe 01240ce9ce SWDEV-273235 - catch2 windows build (#2422)
Change-Id: I331c6c2525a65746e2d0799ec8dc2f608af1176a

[ROCm/hip-tests commit: 3ccd6ec300]
2021-11-26 11:52:46 +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 b25444d97b SWDEV-296918 - Adding unsafe atomics test for gfx90a (#2331)
Change-Id: I3936e0b30e15aff154bdab3efe3f6da2ccce3578

[ROCm/hip-tests commit: 731a353e74]
2021-09-06 12:21:38 +05:30
cjatin f9a0c3a0d6 SWDEV-289409 - Batch 2 of device tests
Change-Id: I3976b5565bf040e77196ca797afb3f71f0e81d6c


[ROCm/hip-tests commit: 2498b5ebe4]
2021-07-06 02:42:14 -04:00
cjatin 3d223b1631 SWDEV-289409 - Add first batch of device tests, add new exe, helper functions and update test Guidelines
Change-Id: I71929caf44725ba2cab7a6f0224bc37b9d04bcbb


[ROCm/hip-tests commit: 068e1f5043]
2021-06-23 00:51:50 -07: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