Wykres commitów

164 Commity

Autor SHA1 Wiadomość Data
ROCm CI Service Account b95d567769 SWDEV-380405 - Correct test cases. (#165)
Change-Id: I55f2e2273a19643b14baeebc8a6f19331c20b09d
2023-03-01 20:35:51 +05:30
ROCm CI Service Account 1c4285f3df SWDEV-1 - Refactor of cmake files of stream and memory unit tests (#174)
Change-Id: Ie29641be95e7fb2a191f22e5d1e588d6943a430f
2023-02-27 15:55:24 -08:00
ROCm CI Service Account 0a8235e5c8 SWDEV-345188 - hip-tests size_t to unsigned long warning (#175)
Change-Id: Id315ba0de6900f714190a09ac09c977830360c72
2023-02-27 15:54:39 -08:00
Maneesh Gupta 88fbbd666b SWDEV-1 - Fix warnings and update disabled test list (#163)
- Fix warnings in some test cases due to unused variables or signed/unsigned comparison.
- Disabled vulkan tests on MI200.
2023-02-09 18:52:27 +05:30
ROCm CI Service Account 554ab5dc40 SWDEV-369555 - Update and enable hipMemAdvise test (#126)
Change-Id: If291514eeacef21dea99bc4b4a78bc98fb0bc1ca
2023-02-07 13:54:34 +05:30
ROCm CI Service Account f10981bbbc SWDEV-371332 - remove check for non device pointers (#145)
Change-Id: Ib7e83ab1bca8c61e3710cb9dd75d9f932159476a
2023-02-05 13:14:20 -08:00
music-dino cc0302dda3 EXSWHTEC-83 - Implement new and reimplement existing tests for hipMemAdvise (#16)
- Basic positive tests
- Negative parameter tests
2023-02-01 11:50:14 +05:30
ROCm CI Service Account a55ff53480 SWDEV-327563 - enable hipMemset skipped test cases (#135)
* SWDEV-327563 - enable hipMemset skipped test cases

Change-Id: I29393c9d690eb3777d7e9f0e599a87ead4a00482
2023-01-27 20:46:54 +05:30
Rahul Garg 961245e9f4 Catch2 standalone exe (#129)
* SWDEV-359379 - catch2: Standalone single exe per file

-workaround for rsp file issue.
-Creates single exe per file
-tests detection is still during execution time and NOT compile time

Change-Id: Iddfb83d57b2d767212f3d9307a276b7d572da6cd

* SWDEV-359379 - Update CMakeList

* Update Catch.cmake

* Temporarily disable failing tests
2023-01-19 14:09:14 -08:00
Maneesh Gupta 75bb521e18 Fix merge issues in memory unit tests (#123) 2023-01-17 21:54:27 +05:30
Mirza Halilčević 8ae538a341 EXSWHTEC-99 - Reimplement tests for hipStreamAttachMemAsync (#52)
- Negative parameter tests
- Validate basic behavior
- Validate the behavior when pageable memory access is supported
- Validate the behavior for hipMemAttachGlobal
- Validate the behavior for hipMemAttachHost
- Validate the behavior for hipMemAttachSingle
2023-01-17 17:28:57 +05:30
Mirza Halilčević 203b994230 EXSWHTEC-69 - Implement tests for hipMemRangeGetAttributes (#51)
- Negative parameter tests for hipMemRangeGetAttribute and hipMemRangeGetAttributes
- Validate the behavior of hipMemRangeGetAttribute for hipMemRangeAttributeReadMostly
- Validate the behavior of hipMemRangeGetAttribute for hipMemRangeAttributePreferredLocation
- Validate the behavior of hipMemRangeGetAttribute for hipMemRangeAttributeLastPrefetchLocation
- Validate the behavior of hipMemRangeGetAttribute for hipMemRangeAttributeAccessedBy
- Validate the behavior of hipMemRangeGetAttributes
2023-01-17 17:27:58 +05:30
nives-vukovic 647908ccb7 EXSWHTEC-72 - Implement hipMemcpyPeer/hipMemcpyPeerAsync and hipMemGetAddressRange tests (#34)
- Reimplement and expand hipMemcpyPeer/hipMemcpyPeerAsync tests using resource guards
- Implement positive and negative test for hipMemGetAddressRange
2023-01-17 17:26:45 +05:30
nives-vukovic 9d62df85a1 EXSWHTEC-91 - Implement tests for memcpy of 1D/2D hipArray (#32)
- Implement tests for hipMemcpyAtoH using resource guards and templates
- Implement tests for hipMemcpyHtoA using resource guards and templates
- Implement tests for hipMemcpy2DFromArray using resource guards and templates
- Implement tests for hipMemcpy2DToArray using resource guards and templates
2023-01-17 17:26:17 +05:30
nives-vukovic 818923bfbc EXSWHTEC-92 - Implement tests for async memcpy of 2D hipArray (#31)
- Implement tests for hipMemcpy2DFromArrayAsync using resource guards and templates
- Implement tests for hipMemcpy2DToArrayAsync using resource guards and templates
2023-01-17 17:25:54 +05:30
music-dino 6c54bd9e37 EXSWHTEC-68 - Implement tests for hipMalloc and hipExtMallocWithFlags (#19)
- Basic positive tests
- Negative parameter tests
2023-01-17 17:24:41 +05:30
music-dino 47d9bf2b3f EXSWHTEC-70 - Reimplement tests for hipMemPrefetchAsync (#17)
- Basic positive tests
- Negative parameter tests
2023-01-17 12:26:04 +05:30
music-dino f5eb0da5c1 EXSWHTEC-74 - Implement tests for hipMemcpy and derivatives (#15)
- Basic positive tests
- Negative parameter tests
2023-01-17 12:25:43 +05:30
Satyanvesh Dittakavi 5d44c0d073 SWDEV-369555 - Skip hipMemAdvise Negative test (#109) 2023-01-10 17:13:24 +05:30
ROCm CI Service Account 87fac87657 SWDEV-337452 - Changing Clock64 to WallClock64 in tests for gfx11. (#78)
Change-Id: I484fe9ff7cd56c70a37a3ac5a4a55812f8557259
2023-01-06 15:05:21 -08:00
arjun-raj-kuppala b177875344 Create jenkinsfile (#3) 2022-12-14 17:28:10 +05:30
Maneesh Gupta b1026e1162 Remove hipGetSymbolSizeAddress.cc from AMD compilation temporarily 2022-12-02 12:41:06 +05:30
music-dino bcdb3a7ece EXSWHTEC-81 - Implement tests for hipGetSymbolAddress and hipGetSymbolSize (#3002)
- Implement negative tests for hipGetSymbolAddress
- Implement negative tests for hipGetSymbolSize
- Reimplement positive test for both apis
- Expand positive test with memcpy to and from symbol
- Disable test sections that cause a segfault in CUDA
2022-11-30 17:28:13 +05:30
ROCm CI Service Account e6b5bd2666 SWDEV-367463 - Add unit test for hipMallocManaged call w/ large size (#3089)
Change-Id: I9e9f6687ec837f3aaa1567d8b00f15925b7dd2c2
2022-11-28 14:04:01 +05:30
ROCm CI Service Account a8c14cfef7 SWDEV-352687 - Updated hipMemAdvise_TstAlignedAllocMem test code (#3041)
Change-Id: Ie6690116d18efbb8586c6ab065550a46a134a611
2022-11-02 08:31:55 +05:30
ROCm CI Service Account 6d589ce854 SWDEV-298757 - hipMemRangeGetAttributes.cc Adding test cases based on hipMemRangeGetAttributes() api (#3024)
Change-Id: Ife2b062d6fe45bbf7bd365d0571009b5d77d5135
2022-10-27 20:22:40 +05:30
ROCm CI Service Account 40c42dcc69 SWDEV-360317 - Correct array creation. (#3023)
Change-Id: I9fd80bc4202a10a83a6c22a813af6cdbb84f3c53
2022-10-27 20:22:22 +05:30
ROCm CI Service Account bd4313284a SWDEV-350781 - Address Unit_hipMemAdvise_TstAlignedAllocMem catch test failure (#2999)
Change-Id: I79002ac644667f280ee14a07c28547fb878b320d
2022-10-19 17:38:03 +05:30
ROCm CI Service Account 48d21d8732 SWDEV-337766 - [catch2][dtest]Fix for MI200 failures for tests: Unit_hipMemcpyPeer_Negative and Unit_hipMemcpyPeerAsync_Negative (#2986)
Change-Id: I88aa2580a589f6fcef3a098ee68922e3431aa75a
2022-10-19 16:49:04 +05:30
ROCm CI Service Account 15593f343d SWDEV-308368 - Fix coherent test bugs (#2985)
1. Remove hipDeviceAttributePageableMemoryAccess checking as it is used to check xnack+ rather than fine-grained synchronization.
Note: hipHostMalloc() will alloc memory with fine-grained access and atomic by default when env HIP_HOST_COHERENT=1. For more information, see hip_programming_guide.
2. Fix some other bugs.

Change-Id: Ieaaed1b15b4d258193d834104b17d9f03a9e4781
2022-10-19 16:48:44 +05:30
ROCm CI Service Account 35415f4d05 SWDEV-348820 - Fix hipPointerAttribute_t incompatibility (#2856)
- Mark hipPointerAttribute_t.memoryType deprecated
- Instead add hipPointerAttribute_t.type
- Update testcases & documentation to use hipPointerAttribute_t.type

Change-Id: I3ba58cd2defe82102f9415bbb90cf151e08499dd
2022-10-12 08:31:25 +05:30
music-dino 77bc96131b EXSWHTEC-94 - Implement helper classes and functions for memory tests (#2978)
- Implement helper classes and functions for memory tests
- Remove c++14 standard constraint on memory tests
- Remove GenerateLinearAllocationFlagCombinations until finished
2022-10-12 08:30:51 +05:30
Maneesh Gupta d3eb37e583 SWDEV-1 - Add missing checks in hipMemoryAllocateCoherent.cc 2022-10-11 12:01:36 +05:30
Maneesh Gupta f165e42933 SWDEV-1 - Add missing checks in hipMemsetSync.cc 2022-10-11 12:00:23 +05:30
Maneesh Gupta a152a895b6 SWDEV-1 - Add missing checks in MemUtils.hh 2022-10-11 11:58:41 +05:30
Maneesh Gupta d3bf2019cf SWDEV-1 - Add missing checks in hipDrvMemcpy3D.cc 2022-10-11 11:15:26 +05:30
Maneesh Gupta 59dfdc0fb0 SWDEV-1 - Add missing checks in hipMemcpyAsync.cc 2022-10-11 11:13:42 +05:30
Maneesh Gupta cc1fab34dd SWDEV-1 - Add missing checks in hipMemcpy.cc 2022-10-11 10:50:43 +05:30
Maneesh Gupta 7f9c40ed51 SWDEV-1 - Add missing checks in hipMemcpyAsync.cc 2022-10-11 10:44:04 +05:30
Maneesh Gupta 0ed41e0fed SWDEV-1 - Add missing checks in hipMemsetFunctional.cc 2022-10-11 10:42:36 +05:30
Maneesh Gupta 7098f65fe8 SWDEV-1 - Add missing checks in hipMemcpyPeerAsync.cc 2022-10-11 10:31:40 +05:30
Maneesh Gupta 04907d8f2d SWDEV-1 - Add missing checks in hipMemcpyPeer.cc 2022-10-11 10:27:42 +05:30
Maneesh Gupta b311d373d1 SWDEV-1 - Add missing checks in hipMemset2D.cc 2022-10-11 09:56:00 +05:30
Maneesh Gupta 711612d17f SWDEV-1 - Add missing checks in hipMemset.cc 2022-10-11 09:16:13 +05:30
Maneesh Gupta 777ed57e6d SWDEV-1 - Add missing checks in hipMemsetNegative.cc 2022-10-11 09:14:00 +05:30
Maneesh Gupta 1d0cb68cd9 SWDEV-1 - Add missing checks in hipMallocManaged_MultiScenario.cc 2022-10-11 08:54:25 +05:30
Maneesh Gupta 79eeb9b806 SWDEV-1 - Add missing checks in hipMemcpy_MultiThread.cc 2022-10-11 08:53:04 +05:30
Maneesh Gupta dcf32d639a SWDEV-1 - Add missing checks in hipMemcpyAllApiNegative.cc 2022-10-11 08:50:32 +05:30
Maneesh Gupta 4de926342f SWDEV-1 - Add missing checks in hipMemcpy2DFromArrayAsync.cc 2022-10-11 08:30:38 +05:30
Maneesh Gupta 484064606e SWDEV-1 - Add missing checks in hipMemcpy2DFromArray.cc 2022-10-11 08:29:39 +05:30