Commit Graph

264 Commits

Author SHA1 Message Date
Vladana Stojiljkovic dcb656301c SWDEV-441291 - Add test for hipFreeArray
Change-Id: Idd48de2de4837370b0434dba82b68b92635f5cfe
2024-06-17 05:49:03 -04:00
Ioannis Assiouras 38f67d4a0b SWDEV-464648 - code and comment cleanups
Change-Id: I10b462078fa9eed73372d81dff92d7278731f736
2024-06-12 00:34:10 -04:00
Rahul Manocha b817121403 [SWDEV-445928] - hipPointerSetAttribute Test fix
Change-Id: I1e5deb9485c40dc69fd6b92840001f7416a2fa64
2024-06-07 10:49:48 -04:00
Rahul Manocha b94242f015 [SWDEV-445928] - Check image support for mi300 tests
Change-Id: Idf820af3e55389740bebe35ed37bca52aca81eae
2024-06-07 10:32:20 -04:00
Anusha GodavarthySurya 08219b3d62 SWDEV-450972 - [catch2][dtest] Basic functional testcase to trigger capturehipMemcpy2DFromArrayAsync internal API
Change-Id: Ia9cd34ad9d683404786dd2bcd7c138f7831449cc
2024-06-07 09:01:28 -04:00
Yendluri, Manas b052274496 SWDEV-450972 - [catch2][dtest] Basic functional testcases to trigger capturehipMemset3DAsync internal API
Change-Id: Ie9e7d537041d8eb74c3a6250d8abb31b9e42b649
2024-06-07 08:52:17 -04:00
master e0165e39ea SWDEV-450972 - [catch2][dtest] Basic functional testcase to trigger capturehipMemcpy2DAsync internal api
Change-Id: I63f6ed112f33df2957a05684e18d84bdb3b201b2
2024-06-06 14:25:13 -04:00
Yendluri, Manas 1f097b19a5 SWDEV-450972 - [catch2][dtest] Basic functional testcase to trigger capturehipMemcpyDtoDAsync internal api
Change-Id: I5b22fdda0a80f5d110272e18cfb6995f8b84f04a
2024-06-06 14:20:40 -04:00
Yendluri, Manas 821dc1880a SWDEV-450972 - [catch2][dtest] Basic functional testcase to trigger capturehipMemset2DAsync internal API
Change-Id: Ia76dddda7281e08a7a3210786542301f00da0812
2024-06-06 14:18:27 -04:00
Yendluri, Manas 6125f90e67 SWDEV-450972 - [catch2][dtest] Basic functional testcases to trigger capturehipMempcyFromSymbolAsync capturehipMemcpyToSymbolAsync internal APIs
Change-Id: I8ade6f8f40e7a105792f07b1913a6b3fff477bd7
2024-06-06 14:15:51 -04:00
Yendluri, Manas 7c9f7737c0 SWDEV-450972 - [catch2][dtest] Basic functional testcases to trigger capturehipMempcyHtoDAsync capturehipMemcpyDtoHAsync internal APIs
Change-Id: I2604dddf1d120622d565a1b74c93550e27ace031
2024-06-06 13:59:57 -04:00
Sebastian Luzynski ea96f486ef SWDEV-456701 - Fix memcpy D2D test failure
This change improves the device to device memcpy test to not rely
on delay kernel. It uses blocking context instead.

Signed-off-by: Sebastian Luzynski <Sebastian.Luzynski@amd.com>
Change-Id: I18090cb7febe806104a343acfd0bb535a96ae04d
2024-06-03 08:04:04 -04:00
shadi dashmiz db06a007c4 SWDEV-459352 - Correct dynamic array usage
Signed-off-by: shadi dashmiz <sdashmiz@amd.com>
Change-Id: I65b284daea4110bbcf788ffa990cbb7931835c16
2024-05-21 08:37:54 -04:00
Branislav Brzak 96a076ea96 SWDEV-441280 - Add hipMemsetD16 test
Change-Id: I39b1b6d3ebb571c8f86e57a5b5f9057d197868ce
2024-05-10 05:26:21 -04:00
Ioannis Assiouras 8189a006e6 SWDEV-437817 - Added unit test for failing hipMemCpy2D case
Change-Id: I31f1a51e61b8412ecbb14dbbce370929fd2b446c
2024-05-09 16:51:30 -04:00
Branislav Brzak 19b8430f9d SWDEV-441284 - Add hipMemsetD32 test
Change-Id: I7c26f73138eff0f9e090056f4721b35f4a6e8ef8
2024-05-06 08:08:23 -04:00
Jaydeep Patel 7def265d94 SWDEV-449111 - Lesser CU size tends to have block & thread dim = 0. OOM as PAL uses half of CPU memory once GPU memory exhausts.
Change-Id: I2399f7247f5172fdc7980a4652ff68df4b5598c5
2024-04-17 07:58:37 -04:00
Yendluri, Manas f4697904ae SWDEV-448562 - [catch2][dtest] Funtional and negative testcases for hipDrvMemcpy2DUnaligned API
Change-Id: I0761b9ecac39bf429cd7943a13bb77d8784b3524
2024-04-17 03:03:30 -04:00
Anusha GodavarthySurya 8676d3637a SWDEV-455869 - hip and hsa runtime cannot detect uninitialized pointer
Change-Id: I93459f5d8b7dd4ed7aecf84703ba9aa796777038
2024-04-16 11:09:27 -04:00
Branislav Brzak 6c23e25c86 SWDEV-448163 - Fix Doxygen warnings
Change-Id: If72e312461a72920b6a482009c9aef4cf92f2e1b
2024-03-25 05:18:34 -04:00
taosang2 fafcad9162 SWDEV-425830 - Add pcie atomic query in atomic tests
Add code to query pcie-atomics in atomic tests.
If pcie-atomics is not supported, skip the tests.
Enable the tests for Nvidia GPUs as well.

Change-Id: I7bfc8600511d78d8c73ab526f9846cd268651278
2024-03-19 20:15:06 -04:00
Jaydeep Patel bffc913f8c SWDEV-448989 - Check image support.
Change-Id: Id245c3f348c6c7b4146224f93534443f93a01a9d
2024-03-19 11:59:52 -04:00
Ioannis Assiouras 440495dd0d SWDEV-433312 - Removed duplicate test cases
Change-Id: I606ba0c36cbe5ddf29358a6a733cb3f17aaf27e6
2024-03-18 11:50:37 -04:00
Jaydeep Patel b45bc412d7 SWDEV-447525 - Zero-initialize hipMemPoolProps.
Change-Id: Iee71961bd1d679f0a6a9223e6387748602706c2d
2024-03-15 14:26:00 +00:00
Sebastian Luzynski 501b7b5a80 SWDEV-441276 - Add tests for hipDrvPointerGetAttributes
Signed-off-by: Sebastian Luzynski <Sebastian.Luzynski@amd.com>
Change-Id: I45621e39d6ec38401382b6d5d4f435f019207ee9
2024-03-14 14:45:09 -04:00
Jaydeep Patel bd760c4818 SWDEV-447525 - Tests for maxSize Mem pool props.
Change-Id: If0ce1bafa8101da8b1856fe9175737cdb82a2b86
2024-03-13 01:32:56 -04:00
Rupam Chetia 0c11f5920f SWDEV-436376 - [catch2][dtest] Adding new tests for hipMemcpyDeviceToDeviceNoCU
Change-Id: Ibe338af731a4f0e21d5c8def8ac125532b75969e
2024-03-12 14:11:49 -04:00
mbhiutra 658123244a SWDEV-413161 - [catch2][dtest] hip directed catch2 with xnack+ test added for hipMemAdvise api for TstAlignedAllocMem
Change-Id: I51252dfff34f15467d56cefc920feb300868df13
2024-03-08 12:23:59 -05:00
Rakesh Roy 57bc68acb1 SWDEV-1 - Merge github PRs to amd-staging
Change-Id: I2944a63ddc2eec8dc1403d9790ffffbaec343385
2024-03-06 00:12:20 +05:30
German Andryeyev 8ef86d1c7c SWDEV-311271 - Fix mempool tests
- Reduce the number of blocks in execution, because small allocations
can cause page faults and make the system unstable after
- Change error codes

Change-Id: I77561ffa236e05ad08afdcc79b7770bf36fcdf50
2024-02-29 15:21:20 -05:00
Mirza Halilcevic dc78fafa49 EXSWHTEC-384 - Coverage Tool and Test Plan update #455
Change-Id: Idf52308186a73ae1c4d815eb59f20ea7da99c964
2024-02-27 22:26:25 +05:30
Mirza Halilcevic 00433d4f87 EXSWHTEC-380 - Implement tests for Virtual Memory Management API functions #448
Change-Id: Ic766be69fddd0309f7ad4093465494cc14c7c70b
2024-02-27 16:51:09 +05:30
Mirza Halilčević 39bd6bcac6 EXSWHTEC-348 - Implement tests for hipArrayGetInfo, hipArrayGetDescriptor, and hipArray3DGetDescriptor #428
Change-Id: I08a7c96c971f5ee82be4e69343600530a214a117
2024-02-26 22:33:20 +05:30
Mirza Halilčević 20a3811696 EXSWHTEC-345 - Implement tests for hipPointerSetAttribute #427
Change-Id: I71e4eb3aab07eff8e24f54fa266a3971839501d1
2024-02-26 22:29:06 +05:30
Dino Music 111497351d EXSWHTEC-289 - Implement tests for remainder and rounding device math functions #234
Change-Id: I8413cfeb0cbf32e2e8369c5b1527c9794a595688
2024-02-23 20:46:17 +05:30
Rakesh Roy 96df1fde80 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
2024-02-23 20:42:03 +05:30
Mirza Halilčević 9a3fd8ec41 EXSWHTEC-102 - Implement tests for hipMemcpyParam2D APIs #54
Change-Id: Ieac4d5000915b80f579c8e5f72d8d072bde63ab9
2024-02-19 22:57:55 +05:30
Mirza Halilčević c9e664b8e6 EXSWHTEC-97 - Implement tests for hipMemcpy2D APIs #53
Change-Id: I674741e641b1ebd6adb5c60c05c2d8ade27510c6
2024-02-19 22:57:30 +05:30
Rakesh Roy 978e165d33 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
2024-02-19 15:33:25 +05:30
Nives Vukovic 54f0642d76 EXSWHTEC-35 - Implement tests for hipMallocAsync and hipMallocFromPoolAsync (#438)
Change-Id: I5cc2ec8078d0de3ddc447ba4bdca74a159f77b12
2024-02-15 19:41:25 +05:30
Nives Vukovic 10594ecb3a EXSWHTEC-76 - Implement additional tests for Malloc/Free API (#49)
Change-Id: I9e2fd348e8c1d2bf63f82b90898863006ba90b62
2024-02-15 19:41:22 +05:30
Nives Vukovic dbc1a9d073 EXSWHTEC-36 - Implement tests for basic hipMemPool APIs (#437)
Change-Id: Ice34feae7675699b04153d6fc3e10297428018b5
2024-02-15 19:39:31 +05:30
Nives Vukovic 7ffbf7f76b EXSWHTEC-364 - Implement tests for hipMemPoolSetGetAccess and hipMemPoolSetGetAttribute APIs (#435)
Change-Id: I9a9bd22f99e2be60608d50fe649e92b3b267f655
2024-02-15 18:45:24 +05:30
Jaydeep Patel 00bb4595f7 SWDEV-441208 - MI300 does not support image.
Change-Id: Ifde2d01bef629d2c2f6c40466c3d843955083368
2024-02-14 10:11:32 -05:00
Jatin Chaudhary 7a3d1f0c00 SWDEV-408621 - check for image support before running hipArray tests
Change-Id: I53c8ef7178931ca83a504dc1a226d46c34f175ae
2024-02-06 15:30:38 +00:00
Lang Yu c7aa062b66 SWDEV-440004 - Fix Unit_hipHostMalloc_AllocateUseMoreThanAvailGPUMemory
int(32bit -2147483648~2147483647) could overflow if allocated size >= 2GB(2147483648).
Use size_t instead.

Change-Id: I1511574464b96fcb09eae18daa5ee9f56d817505
Signed-off-by: Lang Yu <Lang.Yu@amd.com>
2024-01-26 14:02:59 -05:00
Todd tiantuo Li d92abdd926 SWDEV-432490 - Skip checking data error in hipArrayCreate test accordingly.
Because the kernel readFromTexture will be empty when there is no image support.

Change-Id: I5ce72e147188a2e9a84e9797811ed946362ccf2c
2024-01-19 01:43:54 -05:00
Jatin Chaudhary 9704c269d0 SWDEV-398975 - re-enable Unit_hipMemcpyWithStream_MultiThread test
use correct macro inside the test

Change-Id: I7034a97efe91d6c9e2d9b4e6026ec770714a01ac
2024-01-08 06:07:14 -05:00
Jatin Chaudhary c364656420 SWDEV-431399 - fix randomly failing timing based tests
use blocking context instead of time based kernel launch

Change-Id: Ib4cdf913f18c80ce8173317811c0e6e3eb5acb76
2024-01-08 01:13:00 -05:00
SrinivasaRao 22fe5b7803 SWDEV-396087 - [catch2][dtest] Functional test cases for the API hipArrayGetDescriptor
Change-Id: Ia400b7ce9a6eeb6f008cab13100fd10a86c5127f
2024-01-04 09:44:00 -05:00