24 Коммитов

Автор SHA1 Сообщение Дата
Gerardo Hernandez 50644f5aef SWDEV-508225 remove assertions when loading fat binary (#2013)
* SWDEV-508225 - do not assert() after calling digestFatBinary() if it fails. Otherwise this causes assertions to trigger easily in systems that have an APU and a discrete GPU and the code was compiled for the discrete one

* SWDEV-508225 - fix that when using a non-existent ordinal in HIP_VISIBLE_DEVICES, getCurrentArch() would crash
2026-01-06 21:53:32 +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
Julia Jiang d130c986fc SWDEV-553028 - Adding Coptright in files for HIP-tests (#829) 2025-09-05 16:44:28 -04: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
Assiouras, Ioannis ec247739d0 SWDEV-515261 - strip newline from rocm_agent_enumerator output (#222)
[ROCm/hip-tests commit: ac7c31d49e]
2025-05-30 10:21:00 +05:30
Assiouras, Ioannis 6854570285 SWDEV-515261 - Fixed getMatchingConfigFile for heterogeneous archs (#54)
Preserve order and duplicate entries in rocm_agent_enumerator output
before filtering visible devices. This ensures alignment with
the expected indexing in HIP_VISIBLE_DEVICES.

[ROCm/hip-tests commit: 355d97fec4]
2025-05-28 16:47:22 +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
taosang2 b3d203d19b SWDEV-465162 - Support ignored error
Modified
TestContext::finalizeResults()

Added
HIP_CHECK_IGNORED_RETURN()
HIP_CHECK_ERRORS()

to supported ignored error such as hipErrorNotSupported.

Enable all mipmap tests in catch2 memory folder for linux.
The issues in the following tickets should be fixed.
SWDEV-465162, SWDEV-465163, SWDEV-465165, SWDEV-465166,
SWDEV-465168, SWDEV-465171, SWDEV-465172

Change-Id: I1146d6184582a7111a5af25b52f9e12c6a160e49


[ROCm/hip-tests commit: de9581efb6]
2024-07-16 14:44:06 -04:00
Jatin Chaudhary fac4985abc SWDEV-424156 - Add parsing of visible devices for hip-tests
Change-Id: I0b0a2b4c5aec43ad8ee346e6eaaac2b726107207


[ROCm/hip-tests commit: a4b31afab3]
2023-11-01 21:46:26 -04:00
Maneesh Gupta 57ef4d1147 SWDEV-403773 - catch configuration to auto detect and generate json per arch (#413)
Change-Id: Iad8e93157c3acc6fdecf2603fdf6d90416a3c6e4

[ROCm/hip-tests commit: 06398a85b9]
2023-09-07 17:28:49 +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
arjun-raj-kuppala a063d591ad Create jenkinsfile (#3)
[ROCm/hip-tests commit: b177875344]
2022-12-14 17:28:10 +05:30
ROCm CI Service Account e41399533b SWDEV-345188 - Windows: fix warnings while building catch (#3071)
fixes deprecated warning for 'getenv' on Windows

Change-Id: I5ecdaca451a936e843691c4611910ee338b22e46

[ROCm/hip-tests commit: d20ab63be1]
2022-11-28 20:17:09 +05:30
agunashe 90a98d2813 SWDEV-344154 - infrastructure to skip tests for different archs (#2850)
Change-Id: Id3bda440c4cd920ce18c14d06e2f2c6ab6346de3

[ROCm/hip-tests commit: 77307513ae]
2022-08-17 17:10:52 -07:00
Fábio 39cb05db47 EXSWCPHIPT-42: Changes to HIP RTC Framework implementation (#2732)
- Removed ifdef from hipTestContext class
- Fix potential race condition in hipTest::launchRTCKernel()
- Improve documentation
- Move moduleUnloading to main() instead of explicitly calling it on every test
- Fix code formating
- Fix segmentation fault caused by using catch2 macro after catch2 is destroyed

[ROCm/hip-tests commit: a0296bd614]
2022-06-28 09:00:37 +05:30
Jatin Chaudhary 595d29b186 Add HIP_CHECK_THREAD and REQUIRE_THREAD macro for multi threaded HIP API tests (#2664)
[ROCm/hip-tests commit: 4820aa0dd4]
2022-06-20 15:07:13 +05:30
Fábio 4dc1940119 EXSWCPHIPT-42 - Add HIP RTC support to the test framework (#2719)
* EXSWCPHIPT-42 - Add HIP RTC support to the test framework
* Removed ifdef from hipTestContext class

[ROCm/hip-tests commit: f04fdbd0f7]
2022-06-13 15:35:02 +05:30
agunashe 4564fd3633 SWDEV-273235 - enabling catch2 config file and graph tests (#2437)
Change-Id: Ia9ce9e4b32aaca0986b86a237ff01a030e8da4d5

[ROCm/hip-tests commit: 2e4d43deb1]
2021-12-16 10:11:13 +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
Jatin Chaudhary 4419d680c1 SWDEV-289409 - Add Infra for process isolation (#2374)
Change-Id: Iada6e5cfd38e2ba6efa14d7328e56f2260a72931

[ROCm/hip-tests commit: cce98e445a]
2021-10-06 17:26:52 +05:30
Jatin Chaudhary e19f8b2489 SWDEV-277697 - Fix issues with nvcc + catch2
Change-Id: If9be2d7d6a635964ee0abf8ffa9d948b734864f1


[ROCm/hip-tests commit: 8dc8ce17d9]
2021-06-15 12:33:20 -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