38 Commits

Autor SHA1 Mensaje Fecha
Fábio Mestre 265d0a2d2b Disable Unit_hipStreamPerThread_MultiThread (#2409)
This test is launching threads that call HIP APIs and then
immediately detaching those threads and returning from main().

This causes multiple issues because when returning from main(),
global variables are destroyed while threads might still be running which
leads to random segfaults.
2026-01-26 11:37:25 +00:00
Fábio Mestre 47b80c011c [hip-tests] Fix Unit_Assert_Positive_Basic_KernelFail (#1916)
* [hip-tests] Fix Unit_Assert_Positive_Basic_KernelFail

This test was expecting a call to abort() when assertions
where hit on AMD devices. This is no longer true since
aborts from assertions are disabled unless
HIP_SKIP_ABORT_ON_GPU_ERROR is set.

This PR simplifies the test by removing the SIGABRT signal
handling (which was also undefined behaviour). Instead,
if HIP_SKIP_ABORT_ON_GPU_ERROR is set, the test is skipped.
2025-12-03 17:16:10 +00: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
systems-assistant[bot] f99baf5481 SWDEV-519340 - Enable and fix hipModuleLoad test (#607) 2025-11-12 09:28:49 +01:00
marandje 811609c0e1 SWDEV-523137 - Fix and enable a few negative tests on NV (#1157) 2025-11-04 23:28:11 +01:00
systems-assistant[bot] c1926d547e SWDEV-515530 - Re-enable passing tests on NV (#605) 2025-10-27 16:32:37 +01:00
systems-assistant[bot] e22856b3ac SWDEV-515562 - Fix and enable hipDeviceReset tests (#594) 2025-10-27 15:07:44 +01:00
systems-assistant[bot] 196086042d SWDEV-523137 - Enable and fix failing tests on NV (#602) 2025-10-24 12:41:54 +02:00
marandje aa4dee57b5 SWDEV-555295 - Fix and enable Unit_hipFreeAsync_Negative_Parameters (#991) 2025-10-22 15:57:54 +02:00
systems-assistant[bot] 7e3ddf3de8 SWDEV-515512 - Enable memcpy synchronization_behaviour tests (#593)
* SWDEV-515512 - Enable memcpy synchronization_behaviour tests

* SWDEV-515512 - Remove invalid parts of the tests

* SWDEV-515512 - Format the code

---------

Co-authored-by: Marko Arandjelovic <Marko.Arandjelovic@amd.com>
2025-09-02 17:32:08 +02:00
Xie, Pengda dd6d3a6cd3 SWDEV-514841 - Remove invalid stream tests on AMD platform
[ROCm/hip-tests commit: 0c1a7bf155]
2025-05-08 16:25:23 -07:00
Stojiljkovic, Vladana 3bee854adb SWDEV-505795 - Enable some IPC tests (#86)
Co-authored-by: agodavar_amdeng <Anusha.GodavarthySurya@amd.com>

[ROCm/hip-tests commit: 84d60a408d]
2025-04-17 16:30:25 +02:00
Pengda Xie 272659ff99 SWDEV-514841 - Remove invalid stream tests which leads to segfault
Change-Id: I230c4ccc0d2f591cbf2cd0e019f910094f4f3f26


[ROCm/hip-tests commit: b46d6abdcb]
2025-02-21 12:08:36 +00:00
Ajay d0d2204a53 SWDEV-465215 - fixes for hipFuncGetAttribute tests
Fixes SWDEV-465215, SWDEV-465213, SWDEV-465212

Change-Id: I08b114bf647366abcf900d6b2a17f77ca608fc46


[ROCm/hip-tests commit: 6059eaa7c1]
2025-01-24 16:08:09 -05:00
Ajay 0e1bbfe1a5 SWDEV-1 - disable failing nvidia tests
Unit_hipDeviceSetLimit_Negative_PrintfFifoSize
Unit_hipDeviceSetLimit_Negative_MallocHeapSize

Change-Id: I526a7deaead4ff89f93f90bca66e9cee13e3d66c


[ROCm/hip-tests commit: 61517c976f]
2024-11-25 08:48:18 -08:00
Vladana Stojiljkovic 5e41c48966 SWDEV-478472 - Fix tests to return hipErrorInvalidChannelDescriptor instead of hipErrorUnknown
Change-Id: I1dc3af072aed813173cc12e9976a34ddf8c7d6a8


[ROCm/hip-tests commit: 5fa9900949]
2024-11-04 11:25:54 -05:00
Branislav Brzak 8b0c88e49b SWDEV-465209 - Enable Not_Supported tests
This addresses
SWDEV-465209
SWDEV-465211
SWDEV-465216
SWDEV-465218
SWDEV-465210

Change-Id: I3596f058050d056608dbbe5353306ee88d277b44


[ROCm/hip-tests commit: 570c690f42]
2024-10-24 05:52:25 -04:00
Ioannis Assiouras 573305e5af SWDEV-478472 - Disabled Unit_hipMallocArray_Negative_8bitFloat
Change-Id: I2d7f8ae8b2cae655904522d3acc20aa939080d1b


[ROCm/hip-tests commit: cf29cda0bd]
2024-10-01 09:54:14 +01:00
Marko Arandjelovic a52b3a0e52 SWDEV-465148 - Enable Unit_hipMemcpyAsync_Positive_Synchronization_Behavior
- For transfers from any host memory to any host memory,
   the function is fully synchronous with respect to the host.

Change-Id: Ie1cb3e136334af320d2596460faed58fcb714b83


[ROCm/hip-tests commit: e35cc19aaf]
2024-09-23 14:55:23 -04:00
Vladana Stojiljkovic 940d001eca SWDEV-478472 - Disable tests to merge SWDEV-475987 on hipother
Change-Id: I58715144518a35954e29d89878465cfd41ccfe86


[ROCm/hip-tests commit: bee0ba867d]
2024-09-04 12:25:04 -04:00
Marko Arandjelovic 5621df00ef SWDEV-465205 - Fix Unit_hipModuleGetTexRef_Positive_Basic
Change-Id: I221f21b322ec6053edb4b4f229219865fb9e9974


[ROCm/hip-tests commit: d3f42460e8]
2024-08-26 13:41:57 -04:00
Rahul Manocha f955b61fb0 [SWDEV-445928] - Fix for hipDrvGetError tests
Change-Id: I19ba2084fddad7b073edc0b4e9c1b16cf7a97319


[ROCm/hip-tests commit: 615f95aa29]
2024-07-23 15:22:28 -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 Halilcevic d439c6b986 EXSWHTEC-380 - Implement tests for Virtual Memory Management API functions #448
Change-Id: Ic766be69fddd0309f7ad4093465494cc14c7c70b


[ROCm/hip-tests commit: 00433d4f87]
2024-02-27 16:51:09 +05:30
Mirza Halilcevic dcade635c6 EXSWHTEC-281 - Implement Unit Tests for assert functions #210
Change-Id: I6c05915c957d9b67951b3e97cc35cb1ca72a945f


[ROCm/hip-tests commit: 044a59496c]
2024-02-23 20:45:53 +05:30
Rakesh Roy fa871e211f SWDEV-1 - Merge github PRs to amd-staging
- https://github.com/ROCm/hip-tests/pull/119
- https://github.com/ROCm/hip-tests/pull/151
- https://github.com/ROCm/hip-tests/pull/57
- https://github.com/ROCm/hip-tests/pull/58
- https://github.com/ROCm/hip-tests/pull/59
- https://github.com/ROCm/hip-tests/pull/60
- https://github.com/ROCm/hip-tests/pull/99
- https://github.com/ROCm/hip-tests/pull/139
- https://github.com/ROCm/hip-tests/pull/152
- https://github.com/ROCm/hip-tests/pull/48
- https://github.com/ROCm/hip-tests/pull/54
- https://github.com/ROCm/hip-tests/pull/53
- https://github.com/ROCm/hip-tests/pull/24
- https://github.com/ROCm/hip-tests/pull/23
- https://github.com/ROCm/hip-tests/pull/22
- https://github.com/ROCm/hip-tests/pull/21
- https://github.com/ROCm/hip-tests/pull/20
- https://github.com/ROCm/hip-tests/pull/14
- https://github.com/ROCm/hip-tests/pull/8

Change-Id: I1eea54cd1436f3ddbfd5c1b3b2f672eb81d03cd4


[ROCm/hip-tests commit: 96df1fde80]
2024-02-23 20:42:03 +05:30
Mirza Halilcevic 25d0b68640 EXSWHTEC-109 - Implement tests for the hipModuleLoad family of APIs and hipModuleUnload #20
Change-Id: I19d6534af2c33046dc3862372d45f32b6ccc6ad1


[ROCm/hip-tests commit: 2c6d940ac0]
2024-02-19 22:54:02 +05:30
Rakesh Roy c165105c24 SWDEV-1 - Merge github PRs to amd-staging
- https://github.com/ROCm/hip-tests/pull/154
- https://github.com/ROCm/hip-tests/pull/438
- https://github.com/ROCm/hip-tests/pull/425
- https://github.com/ROCm/hip-tests/pull/424
- https://github.com/ROCm/hip-tests/pull/423
- https://github.com/ROCm/hip-tests/pull/365
- https://github.com/ROCm/hip-tests/pull/356
- https://github.com/ROCm/hip-tests/pull/279
- https://github.com/ROCm/hip-tests/pull/274
- https://github.com/ROCm/hip-tests/pull/190
- https://github.com/ROCm/hip-tests/pull/189
- https://github.com/ROCm/hip-tests/pull/188
- https://github.com/ROCm/hip-tests/pull/156
- https://github.com/ROCm/hip-tests/pull/49
- https://github.com/ROCm/hip-tests/pull/439
- https://github.com/ROCm/hip-tests/pull/437
- https://github.com/ROCm/hip-tests/pull/436
- https://github.com/ROCm/hip-tests/pull/435
- https://github.com/ROCm/hip-tests/pull/193

Change-Id: I2529d0baf0f8d47d6215863321720cde2b1a846c


[ROCm/hip-tests commit: 978e165d33]
2024-02-19 15:33:25 +05:30
Nives Vukovic 7c8f7051a3 EXSWHTEC-35 - Implement tests for hipMallocAsync and hipMallocFromPoolAsync (#438)
Change-Id: I5cc2ec8078d0de3ddc447ba4bdca74a159f77b12


[ROCm/hip-tests commit: 54f0642d76]
2024-02-15 19:41:25 +05:30
Mirza Halilcevic f6402bbc10 EXSWHTEC-341 - Refactor tests for hipDeviceSetLimit and hipDeviceGetLimit (#425)
Change-Id: Ib1e6937d0e391ec31fac47b89bb59489cff6a284


[ROCm/hip-tests commit: c6ba00b9de]
2024-02-15 19:41:24 +05:30
Nives Vukovic 5ef065a74c EXSWHTEC-316 - Implement tests for Complex type functions (#356)
Change-Id: I67d5e1fd02c7e40319f135bc9ae5bbbde85b5ee7


[ROCm/hip-tests commit: 2f783afe8c]
2024-02-15 19:41:24 +05:30
Nives Vukovic 567cd68705 EXSWHTEC-306 - Implement tests for memory device functions memcpy/memset (#279)
Change-Id: I609efbd4f6ebaa48571e14e11ff97340dca1ab95


[ROCm/hip-tests commit: 9cadc3b875]
2024-02-15 19:41:23 +05:30
Nives Vukovic d6f8998c85 EXSWHTEC-307 - Implement tests for printf and __hip_hc_<add/sub/mul>8pk device functions (#274)
Change-Id: I4669d3f0f8cc062e75cd2b0a8aeee51868dd5b09


[ROCm/hip-tests commit: 08a41abaad]
2024-02-15 19:41:23 +05:30
Maneesh Gupta 6ae21d195e SWDEV-1 - Merge github PRs to amd-staging
- https://github.com/ROCm/hip-tests/pull/194
- https://github.com/ROCm/hip-tests/pull/36
- https://github.com/ROCm/hip-tests/pull/44
- https://github.com/ROCm/hip-tests/pull/47
- https://github.com/ROCm/hip-tests/pull/62
- https://github.com/ROCm/hip-tests/pull/63
- https://github.com/ROCm/hip-tests/pull/64
- https://github.com/ROCm/hip-tests/pull/65
- https://github.com/ROCm/hip-tests/pull/66
- https://github.com/ROCm/hip-tests/pull/67
- https://github.com/ROCm/hip-tests/pull/68
- https://github.com/ROCm/hip-tests/pull/69
- https://github.com/ROCm/hip-tests/pull/142
- https://github.com/ROCm/hip-tests/pull/196
- https://github.com/ROCm/hip-tests/pull/238

Change-Id: I74f7fef76d7d536b1cf89dad3e527c92d1cd21b5


[ROCm/hip-tests commit: 6429ef1b60]
2023-12-20 10:39:37 +00:00
Jatin Chaudhary bf7b7e6809 SWDEV-428670 - Delete hipStream*Performance tests
This class of tests can fail randomnly since they assume that time to
create first set of stream should be greater than second set. This is
incorrect since there can be multiple reason why the time for second
batch can be greater than the first batch.

Change-Id: I5f91c2bab7119608014dead25fdeb38523c61682


[ROCm/hip-tests commit: 39aeb7b42e]
2023-12-13 17:12:16 +00:00
Rakesh Roy f7276ddfb6 SWDEV-1 - Fix build errors occurred due to -Wunused-variable, -Wunused-but-set-variable, -Wunused-result
- Remove unused variables
- Validate return value of HIP APIs
- Disable failed tests in PSDB
- Use HIP_CHECK_ERROR instead of ASSERT_EQUAL

Change-Id: I9dd0792ecd8c79760b6c948388a953ac8c97b5c2


[ROCm/hip-tests commit: 632802aef8]
2023-09-22 21:41:16 +05:30
Rakesh Roy 8d9ee90534 SWDEV-1 - Disable randomly failing tests on Nvidia
- These tests are failing randomly on Nvidia during PSDB

Change-Id: Ifb4d085a526c1ff7d1b7af0528cc94d536b99db9


[ROCm/hip-tests commit: fa0fd5cb83]
2023-09-22 04:29:21 -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