31 İşleme

Yazar SHA1 Mesaj Tarih
Fábio Mestre 7794ac9ac6 [hip-tests] Fix Float16 accuracy tests (#2178)
Tests were relying on floats for calculating ulp values when validating the output. This is not correct given that the calculations are done using Float16. The fix is to update the test framework to use fp16 ulp instead.
2026-01-16 13:25:11 +00: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
amilanov-amd da9bb4efae 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
2025-11-26 10:34:05 +01:00
marandje 1ccc0ce2e4 SWDEV-555299 - Fix and enable Unit_Device_modf_modff_Negative_RTC (#1012) 2025-11-03 21:08:09 +01: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
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 4ecda67e71 [SWDEV-438556][SWDEV-451686] - Enable Negative Param hip tests
Change-Id: I7c602ca0109864aac9d18feb31ae90f2a0ef4d36


[ROCm/hip-tests commit: 839b3b21d1]
2024-04-22 13:00:22 -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
Rakesh Roy 8fc1292bc2 SWDEV-1 - Merge github PRs to amd-staging
Change-Id: I2944a63ddc2eec8dc1403d9790ffffbaec343385


[ROCm/hip-tests commit: 57bc68acb1]
2024-03-06 00:12:20 +05:30
Mirza Halilčević 4a1caf16ea EXSWHTEC-354 - Implement additional tests for integer intrinsics #430
Change-Id: Icd155c2d2121bd9d25e7ac6ece9599553956457c


[ROCm/hip-tests commit: 147601aff2]
2024-02-27 23:16:47 +05:30
Nives Vukovic 860ee5fed7 EXSWHTEC-335 - Implement tests for half precision type to/from float casting intrinsics #418
Change-Id: I7fa0c5d0683f9c633f126ebe241f925155dd0e7d


[ROCm/hip-tests commit: 84c48e0e3c]
2024-02-27 23:10:49 +05:30
Nives Vukovic 7513711fe1 EXSWHTEC-332 - Implement tests for half precision type to/from integer casting intrinsics #417
Change-Id: Icee61126274f49f3af362e35c435a9d764378f93


[ROCm/hip-tests commit: f5c3cdaaeb]
2024-02-27 23:09:38 +05:30
Nives Vukovic 5f6bd7d09f EXSWHTEC-331 - Implement tests for half-precision comparison functions #411
Change-Id: I378ec4922dc5d3807d5418d690972708549ec764


[ROCm/hip-tests commit: b9ea146b28]
2024-02-27 23:08:55 +05:30
Mirza Halilcevic 9bd163fed0 EXSWHTEC-329 - Implement tests for half-precision arithmetic functions #410
Change-Id: I754e1aa8a84d775340b9037edb90e75431849bb0


[ROCm/hip-tests commit: 6ae8cb9e7c]
2024-02-27 23:03:42 +05:30
Mirza Halilcevic 5112132e83 EXSWHTEC-330 - Implement tests for half-precision math functions #386
Change-Id: Iaa704c728aa430e701cd02c0175fbdeb9da686b0


[ROCm/hip-tests commit: a464ed491b]
2024-02-27 23:02:58 +05:30
Mirza Halilcevic ec34ea376b EXSWHTEC-335 - Introduce float16 support to numerical accuracy test base #409
Change-Id: I2b8ba06b4a078b72469615d2e075d18d58de9652


[ROCm/hip-tests commit: 6b9857cf17]
2024-02-27 22:55:49 +05:30
Nives Vukovic d339e17a53 EXSWHTEC-338 - Implement tests for half2 type casting intrinsics #422
Change-Id: I5492fa7d54573d45bfdb9320e74ccc6ca7640d2d


[ROCm/hip-tests commit: 50031b5c44]
2024-02-26 22:23:34 +05:30
Nives Vukovic 6855fc32cb EXSWHTEC-311 - Implement tests for integer type casting intrinsics #285
Change-Id: I6e6bee38dad6948d46ba2ce0d5d2e3b27c150d35


[ROCm/hip-tests commit: f9cf87fe60]
2024-02-26 12:38:43 +05:30
Nives Vukovic 78e93759c3 EXSWHTEC-310 - Implement tests for float type casting intrinsics #284
Change-Id: Ia5e5362d81c2570f1ff7e112ab1df5e0f7c68f05


[ROCm/hip-tests commit: bff6c461ee]
2024-02-26 12:38:18 +05:30
Nives Vukovic e15f64fa3b EXSWHTEC-305 - Implement tests for double type casting intrinsics #283
Change-Id: Iacf67376949eed4a84f7e9e95bb51fd31b5ec6a4


[ROCm/hip-tests commit: 59d6807cdb]
2024-02-26 12:30:46 +05:30
Nives Vukovic 946c18172c EXSWHTEC-288 - Implement tests for special-purpose device math function #235
Change-Id: Ifa601f462a5291ef6454240191d10e245eef8d7c


[ROCm/hip-tests commit: ce167afa87]
2024-02-26 12:29:35 +05:30
Nives Vukovic ccfb8b3ff5 EXSWHTEC-286 - Implement tests for log device math functions #230
Change-Id: I642a9d865fcc30d7b303b0d4dd05fcd723a59015


[ROCm/hip-tests commit: 95a75cf00f]
2024-02-26 12:29:19 +05:30
Nives Vukovic 8f9f3e61d2 EXSWHTEC-285 - Implement tests for exponential and power device math functions #229
Change-Id: I34ad7ee92960500bcd14dfd7d230ca8f8f77c172


[ROCm/hip-tests commit: 87d601411b]
2024-02-26 12:29:02 +05:30
Nives Vukovic 1ca4fdc6f7 EXSWHTEC-284 - Implement tests for square/cube root device math functions #228
Change-Id: Ic19a440337cf3724f476c464125977b9b30b023e


[ROCm/hip-tests commit: 46ada25730]
2024-02-26 12:28:43 +05:30
Mirza Halilcevic e4b44cc413 EXSWHTEC-291 - Implement tests for floating-point and integer math intrinsics #227
Change-Id: I55a3cbf5ce15cd93a280af295b88c28e51246148


[ROCm/hip-tests commit: 1729154341]
2024-02-26 12:28:11 +05:30
Mirza Halilcevic 5bf1d946ed EXSWHTEC-283 - Introduce base implementations for numerical accuracy tests #260
Change-Id: I9cf71b420b7fc73fcd9df162b963fda73878cacb


[ROCm/hip-tests commit: b0622f51e2]
2024-02-23 20:46:18 +05:30
Dino Music 35e66b0327 EXSWHTEC-289 - Implement tests for remainder and rounding device math functions #234
Change-Id: I8413cfeb0cbf32e2e8369c5b1527c9794a595688


[ROCm/hip-tests commit: 111497351d]
2024-02-23 20:46:17 +05:30
Dino Music e3774e0215 EXSWHTEC-290 - Implement tests for misc device math functions #232
Change-Id: Iab3d16bf9e0ae30ad6d7488a5fbbc7326c3befb7


[ROCm/hip-tests commit: 34b25ab7ac]
2024-02-23 20:46:16 +05:30
Dino Music e06f1302bf EXSWHTEC-287 - Implement tests for trigonometric device math functions #231
Change-Id: I44188fa2f60f2492e05596464c914b8c739be482


[ROCm/hip-tests commit: 36620358e6]
2024-02-23 20:46:15 +05:30
Mirza Halilčević db33e97368 EXSWHTEC-283 - Introduce build dependencies for numerical accuracy tests #233
Change-Id: I5381beb47347c24a161113b986fa7f252057ffdb


[ROCm/hip-tests commit: 122403f464]
2024-02-23 20:46:11 +05:30