Grafico dei commit

232 Commit

Autore SHA1 Messaggio Data
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
Ioannis Assiouras 9131d555f9 SWDEV-439209 - Fixed Unit_hipMemVmm_Basic
Change-Id: I658d30e9ab7814517383d02550c338e5aeae554e
2023-12-29 11:22:14 +00:00
kjayapra-amd 6d8e62c0e3 SWDEV-322620 - Tests are disabled at .json level, no need to disabled with MACRO at compile time.
Change-Id: I1455b7fc9ac7011bd0430adf78864c7fb13a69dc
2023-12-19 08:21:13 -05:00
Rupam Chetia de348d8b35 SWDEV-322620 - [catch2][dtest] Adding test for VMM APIs
Change-Id: Ia4dea28601b3c2f0163012a7a2ceb14d3a0c369b
2023-12-16 07:28:16 -05:00
Ioannis Assiouras ab80259b3c SWDEV-391727 - Unit_hipMemRangeGetAttribute_TstCountParam
Recreation of github PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/399

Change-Id: I80c11d549b4f6e66ecea2b676d32fba9d7929e49
2023-11-24 01:50:45 -05:00
taosang2 f425bee1dc SWDEV-313387 - Port CTS SVM atomic tests to Hip
Change-Id: I32c9bed860ddf4fe1d7bba21dce9bd728168c398
2023-11-17 12:47:49 -05:00
SrinivasaRao c866e654da SWDEV-416449 - [catch2][dtest] Functional test cases for the memory type attribute of hipPointerGetAttributes() API
Change-Id: I7d0dc9f9a646ee3ea5aaa0d7f416817594ad7409
2023-11-17 06:27:40 -05:00
Jaydeep Patel 5d4c30ff25 SWDEV-425213 - On windows, Max memory that can be allocated using hipHostMalloc = 90% of (availgpumem - 256mb).
Change-Id: I20b2619d582c162ec446f3cf98bcd3a9e5d57243
2023-11-17 06:14:13 -05:00
Rahul Manocha 12c49096d6 SWDEV-428567 - Catch Test for hipMemcpyDeviceToDeviceNoCU
Change-Id: I8769053eec2b8345023f78f730a1c28df3a1bda6
2023-11-17 05:59:00 -05:00
Jatin Chaudhary e605151eb1 SWDEV-411064 - check if image is supported before running image specific tests
Also fix CU Mask test.

Change-Id: I0fbb93a1bcce131e0f98dee7cd5da9704d2ca8ac
2023-11-07 01:05:01 -05:00
mbhiutra f729e892a2 SWDEV-422641 - [catch2][dtest] Added test for Annoying truncation of 'size_t' to 'unsigned int' inside hipMemcpy3D
Change-Id: I0faef0278acbb82186839fcd556af508b6fc84ec
2023-11-06 09:22:04 -05:00
taosang2 bc47bc35df SWDEV-419288 - Improve TstCoherency()
Fix originally wrong logic.

Change-Id: Ia4d3d9ee3d5712ce2e8914afcc2846b88306c483
2023-11-06 09:15:40 -05:00
Satyanvesh Dittakavi 2d17c32468 SWDEV-427345 - Address catch test failures
Change-Id: Ie3abbb50e1a2d0563c63c7fbb2bf7f341ac3aaa6
2023-11-06 09:05:08 -05:00
Ioannis Assiouras 9290cc3c31 SWDEV-391998 - Fix and re-enable Unit_hipMallocManaged_OverSubscription
Change-Id: I896ad5a4894e7a63ad15308838e15601f2e3540c
2023-11-06 08:13:11 -05:00
Jatin Chaudhary 905b943769 SWDEV-425943 - skip certain tests for gfx90a+
Change-Id: I055182144d5a5e470e5cca81306f7d7c838792d9
2023-11-02 05:39:45 -04:00
Rahul Garg cf3df12106 SWDEV-415029 - [ABI Break] Remove hcc symbols
This reverts commit fe5206e50a.

Reason for revert: Bring back original change.

Change-Id: I15c5f288bc50107831a494a81d1f16df4c2ade27
2023-10-16 17:23:01 +05:30
sdashmiz bfa6d77ce5 SWDEV-371332 - [ABI Break]remove if def for cu/cuda memtype
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I0754ef8bc7c9384bab65599a41719de0fd71b415
2023-10-13 13:44:48 -04:00
Ioannis Assiouras c1815ffd1a SWDEV-422665,SWDEV-420913 - Fixed Unit_hipMemPrefetchAsync_NonPageSz
Change-Id: Ie453ced8eb246c54df754ca2d34ee2696d392c58
2023-10-12 12:11:19 -04:00
sdashmiz e161374c31 SWDEV-332969 - [ABI Break]remove hiparray from tests
- replace with hipArray_t

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Ie1dade58d868182309caf00bf65a86a8fed2cfa6
2023-10-12 12:09:20 -04:00
Jaydeep Patel f44b862cd9 SWDEV-413161/SWDEV-415848 - Prefetch is only for device memory.
Change-Id: Ie2d9cb907fbf7958dfd1b90a5b01a2722cb4e2a5
2023-10-12 11:53:09 -04:00
Rakesh Roy fe5206e50a SWDEV-425967, SWDEV-425968 - Revert "SWDEV-415029 - [ABI Break] Remove hcc symbols"
This reverts commit 403afae98f.

Reason for revert: This causes build failure in hipBLASLt & hipSPARSELt

Change-Id: Ifb1ee519971c6183eb53634d6d8901a9e94cc9cc
2023-10-09 06:31:52 -04:00
taosang2 403afae98f SWDEV-415029 - [ABI Break] Remove hcc symbols
Change-Id: Ic0082d3960aadbb7bc559141b6e84bd29a75b5cf
2023-09-28 12:36:05 -04:00
Jatin Chaudhary ee3c94faf2 SWDEV-411064 - check if image is supported before running image specific tests
Change-Id: I62b3f7489f2f33b4b4e02f42a46e66c8940f2277
2023-09-21 06:23:55 -04:00
Satyanvesh Dittakavi 7ee1b668fb Address texture related test issues with -Werror (#405) 2023-08-21 20:46:46 +05:30
ROCm CI Service Account 09861ff867 SWDEV-412666 - Re-enable lines of hipMemcpy3D test that was failing with previous version of llvm (#383)
Change-Id: I6834cd3c003a1b3c1d60dfc2f7d14657248d2ea9
2023-08-14 21:30:15 +05:30
ROCm CI Service Account 528764ec78 SWDEV-396085 - [catch2][dtest] Adding test cases for hipHostRegister() to test SVM feature (#324)
Change-Id: I72bb3d1cf3410180c98f4629fdad7497698849a2
2023-08-14 20:59:45 +05:30
ROCm CI Service Account 0b56a9d38c SWDEV-383372 - [catch2][dtest] Adding corner and stress tests for hipHostMalloc(). (#208)
Change-Id: I2308059e50a951a1e70de4f90fef9e2c76af21f1
2023-08-14 20:50:29 +05:30
ROCm CI Service Account 34976df246 SWDEV-385161 - Deprecate usage of env vars in HIP samples and tests (#363)
* SWDEV-385161 - Deprecate usage of env vars in HIP samples and tests env vars such as HIP_PATH, ROCM_PATH, HIP_COMPILER, HIP_RUNTIME, HSA_PATH etc are removed.

Change-Id: I280e20b291cfb14675846aae72d97fa5b3ad567d
2023-08-14 12:06:14 +05:30
ROCm CI Service Account b8fb6f88b9 SWDEV-409113,SWDEV-409114,SWDEV-409112,SWDEV-409111,SWDEV-409110,SWDEV-409109,SWDEV-409096,SWDEV-409105 - Remove strong assumptions on hipMemGetInfo reported memory. (#373)
Change-Id: I6751e20690b93a3db35d98e45d295e5465387c5a
2023-07-20 10:20:05 +05:30
ROCm CI Service Account 74c143392b SWDEV-409588 - hipMemsetDSync tests should not use the size as 1 while using D32/D16 APIs (#372)
Change-Id: I32c9bed860ddf4fe0d7bba21dce9bd720168c396
2023-07-20 10:18:30 +05:30
ROCm CI Service Account 04080c2e2e SWDEV-408958 - Use LaunchDelayKernel and modify it to use same kernel based on real time clock for gfx10 and gfx11. (#370)
Change-Id: Iea8a48e8cbfa1745c7d5535dc5820133a4104087
2023-07-20 10:16:56 +05:30
Maneesh Gupta c9190f77eb Remove Unit_HMM_OverSubscriptionTst from unit tests
Test migrated to stress test as part of #317.
2023-07-12 12:34:03 +05:30
ROCm CI Service Account 042234e0b2 SWDEV-403960 - [catch2][dtest] Enable xnack+ check condition (#364)
Change-Id: I9627d75d0d3258cf261c8e4bfe6c7c3c35c8f9c1
2023-07-11 11:37:23 -07:00