94 Коммитов

Автор SHA1 Сообщение Дата
Tao Sang 163e44d0a8 SWDEV-555889 - Support mipmap on rocr (#2082)
* SWDEV-555889 - Support mipmap on rocr

Support mipmap in hip-rt on rocr backend.
Enable all mipmap tests in Windows.
Some other minor improvement.

Add some SRD logs that will be removed finally.

* Add sampler.mipFilter to fix sampler issues on mipmap in rocr.
Fix format issues of view of leveled image and  mipmap image in blit kernel in rocr.
Enabled disabled mipmap tests.

* Rewrite view logic

* Set word4.f.PITCH = 0 for mipmap SRD on navi31 to fix unstable test issues.
Reset last error in nagative tests.

* Remove SRD dump log from hip-rt
Let Rocr mipmap log be in condition.

* minor format chang

* Exclude mipmap tests for mi200+ which don't support mipmap.
2026-01-21 09:10:29 -08:00
Julia Jiang 272f06506f SWDEV-549696 - Fix HIP catch sub-test failure for MipmappedArray (#1198)
Co-authored-by: JeniferC99 <150404595+JeniferC99@users.noreply.github.com>
2025-12-05 11:00:06 -05: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
Ethan Trinh 2042191e23 Suppress deprecated-declaration warnings (#1817)
Co-authored-by: JeniferC99 <150404595+JeniferC99@users.noreply.github.com>
2025-11-25 10:31:30 -05:00
MachineTom 3bb8c2ac50 SWDEV-564392 - Clean up image tests (#1694)
Remove unnecessary checking.
Enable all disabled tests.
Move Mipmap test files into Windows section.
2025-11-06 15:07:53 -05:00
MachineTom 3b1c0c3464 SWDEV-558845 - Support image in rocr on Windows (#1582)
Enable image build in Windows.
Remove some useless codes that fail building in Windows.
Some minor improvement.
Temporarily exclude mipmap test files.
Prevent negative tests affect some tests.
Move some catch info log codes into failed cases.
2025-11-05 09:33:41 -05:00
cadolphe-amd 458c25c3a0 SWDEV-556658 - Update Unit_TexObjectCreate_TypePitch2D_IncompleteInit to align with API (#1144) 2025-10-29 11:36:45 -04:00
systems-assistant[bot] c1926d547e SWDEV-515530 - Re-enable passing tests on NV (#605) 2025-10-27 16:32:37 +01:00
MachineTom 6a49171fa5 SWDEV-562431 - Fix Unit_hipBindTexture_Negative failure (#1523) 2025-10-24 16:25:22 -04:00
Sourabh U Betigeri 7926bd593b SWDEV-545245 - Adds new test for hipDeviceGetTExture1DLinearMaxWidth (#763) 2025-10-21 08:22:17 -07:00
vstojilj bfedf63575 SWDEV-552537 - Fix nvidia build failures (#1125)
* SWDEV-552537 - Fix nvidia build failures

* Add string header to fix hip-tests

---------

Co-authored-by: Branislav Brzak <branislav.brzak@amd.com>
Co-authored-by: Danylo Lytovchenko <danylo.lytovchenko@amd.com>
2025-10-13 09:20:17 +02:00
marandje 79bda80049 SWDEV-549686 - Resolve memory leaks in texture unit-tests (#711) 2025-09-04 17:59:18 +02:00
systems-assistant[bot] ae874b489d SWDEV-515530 - Re-enable passing tests (#592)
* SWDEV-515530 - Re-enable passing tests

* SWDEV-515530 - Revert back windows config file

* SWDEV-515530 - Fix new line

* SWDEV-515530 - Enable a few more tests

* SWDEV-515530 - Enable passing VMM tests

* SWDEV-515530 - Disable failing tests

* SWDEV-515530 - Fix and enable texture tests

* SWDEV-515530 - Minor fixes

* SWDEV-515530 - Disable one more test

---------

Co-authored-by: Marko Arandjelovic <Marko.Arandjelovic@amd.com>
2025-09-02 16:03:07 +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
Betigeri, Sourabh d3aa32b8cc SWDEV-528351 - Adds hipTexRefSetGet* tests (#183)
* SWDEV-528351 - Adds hipTexRefSetGet* tests

* SWDEV-528351 - Adds hipTexRefSetGet* tests

* SWDEV-528351 - Adds hipTexRefSetGet* tests

[ROCm/hip-tests commit: d6f415cf54]
2025-08-05 20:40:17 +05:30
Sang, Tao c8ff48048c SWDEV-536652 - Fix Unit_hipBindTextureToArray_Negative_Parameters (#354)
Fix sporadic failure of Unit_hipBindTextureToArray_Negative_Parameters

[ROCm/hip-tests commit: 891524ca75]
2025-07-02 10:05:52 +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
Manocha, Rahul 91a6727ea6 SWDEV-538600 - Fix error code checks in some tests (#305)
[ROCm/hip-tests commit: b215381bbe]
2025-06-19 21:11:54 +05:30
Sang, Tao 17369ea4e3 SWDEV-507388 - Check image support. (#6)
Change-Id: Ieda106374eb066cd22ddd1194a9f9b1352c26d16

[ROCm/hip-tests commit: 7bc6eda321]
2025-04-23 21:20:13 +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
Marko Arandjelovic fe2597a64c SWDEV-441296 - Add unit test for hipTexObjectCreate
Change-Id: Ibfc2c910a54ccd1686a3939a1008c472a8465137


[ROCm/hip-tests commit: 7ef404621e]
2025-03-05 12:10:14 -05:00
Vladana Stojiljkovic 01094114a7 SWDEV-476836 - Implement tests for hipTexRefGetAddressMode
Change-Id: Ia2003d0a7736145e745a55941ae6927100ba96a6


[ROCm/hip-tests commit: d58018ee1b]
2025-02-12 06:58:10 -05:00
Vladana Stojiljkovic ef6cd43b56 SWDEV-476554 - Implement tests for hipTexRefSetAddressMode
Change-Id: Iaf0e728ff90be12b5fca71786e6c3a18c598b01b


[ROCm/hip-tests commit: 9252a08b27]
2025-02-12 06:58:04 -05:00
Vladana Stojiljkovic 09c23c5a1c SWDEV-477981 - Implement tests for hipTexRefGetFlags
Change-Id: Iaa57185aa190ee44eb4ca54bc96bfac777ba0dd2


[ROCm/hip-tests commit: c1cc0e4ffe]
2025-01-31 04:04:18 -05:00
Vladana Stojiljkovic 3be5c48036 SWDEV-475127 - Implement tests for hipBindTextureToArray
Change-Id: Id9eb92eed120dc214a4bfc9405997e4b706f7a4b


[ROCm/hip-tests commit: 9a41214bba]
2025-01-31 04:03:54 -05:00
Tao Sang 2a5f431380 SWDEV-479138 - Enable different address modes
Enable different address modes in tests

Change-Id: Idf69477718172614ba9c349735d3230ae765923b


[ROCm/hip-tests commit: 58d4bd27a3]
2025-01-24 13:49:27 -05:00
Vladana Stojiljkovic 32b07e3262 SWDEV-477597 - Implement tests for hipTexRefSetFlags
Change-Id: I0651882fe2eef1565a4fedfdd2fa4b23e4bb3f0a


[ROCm/hip-tests commit: 5e32a3fcd2]
2025-01-22 10:53:44 -05:00
Vladana Stojiljkovic effe0ff424 SWDEV-475701 Implement tests for hipUnbindTexture
Change-Id: I16565b01c629774d48e8665ffb6901600980e297


[ROCm/hip-tests commit: d617a002eb]
2025-01-22 10:53:24 -05:00
Vladana Stojiljkovic ce1c6cef26 SWDEV-478207 - Implement tests for hipTexRefGetMaxAnisotropy
Change-Id: I18e1aff22d56852c038d643b4527230a7a1ff22c


[ROCm/hip-tests commit: 7fcc9542d6]
2025-01-22 10:53:04 -05:00
Marko Arandjelovic 8a7bdf2e58 SWDEV-478050 - Add unit test for hipTexRefGetFormat and hipTexRefSetFormat
Change-Id: Iee23fdcb20efa9529478180cdb5c28c6be702966


[ROCm/hip-tests commit: d7b38d051f]
2025-01-22 10:52:29 -05:00
Marko Arandjelovic 6898aafa88 SWDEV-476856 - Add unit test for hipGetTextureReference
Change-Id: I4724fb9f9d68c3ab7d4396159e46857f84e35446


[ROCm/hip-tests commit: 7ed4d87974]
2025-01-22 10:52:05 -05:00
Marko Arandjelovic 0d1d0c718e SWDEV-475114 - Add unit test for hipBindTexture2D
Change-Id: I6d7c1b4c7d40433c914dac2b991acf228cef318f


[ROCm/hip-tests commit: 114524f732]
2025-01-22 10:51:15 -05:00
Marko Arandjelovic a8104a0ef4 SWDEV-478520 - Add unit test for hipTexRefSetAddress
Change-Id: I488f6d74f2ded071767c6e785845cc6d489ebe66


[ROCm/hip-tests commit: 89c16b9ded]
2025-01-22 10:50:47 -05:00
Marko Arandjelovic af1e90b83f SWDEV-476825 - Add unit test for hipTexRefGetAddress
Change-Id: I65623737b6ce3cde061f6d5bf4f1c61b20a2c66f


[ROCm/hip-tests commit: e7e07f1fe6]
2025-01-22 10:49:47 -05:00
Marko Arandjelovic 9353111620 SWDEV-509010 - Add missing CHECK_IMAGE_SUPPORT
Change-Id: I87c7925c0fbb7b8b9c1ecbeaa0a572f744f3a6bc


[ROCm/hip-tests commit: 08341ee719]
2025-01-17 08:14:22 -05:00
Ioannis Assiouras 8f2a9a4f89 SWDEV-506983 - Added check for image support in Unit_hipTexRef[Get/Set]BorderColor_Negative
Change-Id: Ie2aead3b94d97917bdc0a57125e80dcfd1a60f28


[ROCm/hip-tests commit: 78c5e6e502]
2025-01-15 18:57:28 -05:00
Marko Arandjelovic 33f65a30e8 SWDEV-475382 - Add unit test for hipGetTextureAlignmentOffset
Change-Id: I6ec65522038ffc3761970542df4570cead3026fe


[ROCm/hip-tests commit: d9162f9abe]
2025-01-13 11:35:02 -05:00
taosang2 43b7d702ff SWDEV-474989 - Fix texture filter test issues
Change-Id: I9b647aff79ba92f07b2ca18eac49d58ae63fa859


[ROCm/hip-tests commit: 8a9ed34f6a]
2024-12-23 07:27:18 -05:00
Jaydeep Patel 2253b82046 SWDEV-504960 - Check image support.
Change-Id: Ieda106374eb066cd20ddd1194a9f9b1352c26d05


[ROCm/hip-tests commit: a7dd22f97f]
2024-12-23 01:17:02 -05:00
Marko Arandjelovic 182d514c0d SWDEV-477706 - Add unit test for hipTexRefGetBorderColor and hipTexRefSetBorderColor
Change-Id: I01a3a8c5bd2e8f7396bf55c0d6dd8b7a7d5df9d3


[ROCm/hip-tests commit: a35f7bbad6]
2024-12-18 13:41:04 -05:00
Marko Arandjelovic 625c30fdf7 SWDEV-477070 - Add unit test for hipTexRefGetArray
Change-Id: Ifa4c62d926dd15ce8379b9899ca81d3a39595c8e


[ROCm/hip-tests commit: 533db3b042]
2024-12-10 04:00:33 -05:00
Marko Arandjelovic cee2f8215d SWDEV-477740 - Add unit test for hipTexRefSetArray
Change-Id: I3bd2f9cd956260110e7e5cd6c982769c5752b7d8


[ROCm/hip-tests commit: b346582bff]
2024-12-09 13:52:30 -05:00
Satyanvesh Dittakavi 9cad0a4d59 SWDEV-485372 - Fix texture catch tests to run on appropriate ASICs
Change-Id: I9ef93e37eb29c3d09c6448fe95dba39fa7060464


[ROCm/hip-tests commit: d5028f0c2a]
2024-12-09 10:35:43 -05:00
Marko Arandjelovic 232f8f47e1 SWDEV-473788 - Add unit test for hipBindTexture
Change-Id: Iefb695feb56cb70aff186eb719cbbd366297d91e


[ROCm/hip-tests commit: 18f69cba00]
2024-12-05 04:23:09 -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
Vladana Stojiljkovic f6f7b7cf9c SWDEV-478205 - Implement tests for hipTexRefSetMaxAnisotropy
Change-Id: I0ef580ea9be685ab83c9ee29193eae4aa0813d3a


[ROCm/hip-tests commit: e53b31db23]
2024-11-05 02:47:37 -05:00
Vladana Stojiljkovic a5522a55ef SWDEV-478767 - Implement tests for hipTexRefSetAddress2D
Change-Id: Id5b946c216097c606a1e4b839514f68d351adc19


[ROCm/hip-tests commit: b24e61671a]
2024-10-25 14:43:45 -04:00
Todd tiantuo Li 14f6363879 SWDEV-432490 - fix __HIP_NO_IMAGE_SUPPORT logic
1.Skip texture/image tests when __HIP_NO_IMAGE_SUPPORT is set to prevent inevitable silent failure
2.Simplify __HIP_NO_IMAGE_SUPPORT macros

Change-Id: I54ef12a239298c534a213edf39c05c2dad06a7f4


[ROCm/hip-tests commit: 0ee0e4ab4a]
2024-08-08 14:15:38 -04:00
Branislav Brzak 402fffac2b SWDEV-465159 - Only compile mipmap tests on Windows
Mipmap APIs are not supported on Linux

Change-Id: I1aedfbd61c282cc0b93edfab1fab75ef6357a136


[ROCm/hip-tests commit: bcd3665ea9]
2024-07-16 05:01:07 -04:00