Commit Graph

156 Commits

Author SHA1 Message Date
Rahul Garg ca57f979a0 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


[ROCm/hip-tests commit: 961245e9f4]
2023-01-19 14:09:14 -08:00
Maneesh Gupta f6537beee3 Fix merge issues in memory unit tests (#123)
[ROCm/hip-tests commit: 75bb521e18]
2023-01-17 21:54:27 +05:30
Mirza Halilčević 89cf6ce4bb 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

[ROCm/hip-tests commit: 8ae538a341]
2023-01-17 17:28:57 +05:30
Mirza Halilčević 848418ec9b 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

[ROCm/hip-tests commit: 203b994230]
2023-01-17 17:27:58 +05:30
nives-vukovic 85f21808ec 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

[ROCm/hip-tests commit: 647908ccb7]
2023-01-17 17:26:45 +05:30
nives-vukovic 042cdb088a 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

[ROCm/hip-tests commit: 9d62df85a1]
2023-01-17 17:26:17 +05:30
nives-vukovic 8a141b0b91 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

[ROCm/hip-tests commit: 818923bfbc]
2023-01-17 17:25:54 +05:30
music-dino 41ea5775ea EXSWHTEC-68 - Implement tests for hipMalloc and hipExtMallocWithFlags (#19)
- Basic positive tests
- Negative parameter tests

[ROCm/hip-tests commit: 6c54bd9e37]
2023-01-17 17:24:41 +05:30
music-dino 9b9292bbdd EXSWHTEC-70 - Reimplement tests for hipMemPrefetchAsync (#17)
- Basic positive tests
- Negative parameter tests

[ROCm/hip-tests commit: 47d9bf2b3f]
2023-01-17 12:26:04 +05:30
music-dino 8237f2a7cd EXSWHTEC-74 - Implement tests for hipMemcpy and derivatives (#15)
- Basic positive tests
- Negative parameter tests

[ROCm/hip-tests commit: f5eb0da5c1]
2023-01-17 12:25:43 +05:30
Satyanvesh Dittakavi 5d25842d1e SWDEV-369555 - Skip hipMemAdvise Negative test (#109)
[ROCm/hip-tests commit: 5d44c0d073]
2023-01-10 17:13:24 +05:30
ROCm CI Service Account d8b7cb28ff SWDEV-337452 - Changing Clock64 to WallClock64 in tests for gfx11. (#78)
Change-Id: I484fe9ff7cd56c70a37a3ac5a4a55812f8557259


[ROCm/hip-tests commit: 87fac87657]
2023-01-06 15:05:21 -08:00
arjun-raj-kuppala a063d591ad Create jenkinsfile (#3)
[ROCm/hip-tests commit: b177875344]
2022-12-14 17:28:10 +05:30
Maneesh Gupta 42473cea0a Remove hipGetSymbolSizeAddress.cc from AMD compilation temporarily
[ROCm/hip-tests commit: b1026e1162]
2022-12-02 12:41:06 +05:30
music-dino 02c8a5783e 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

[ROCm/hip-tests commit: bcdb3a7ece]
2022-11-30 17:28:13 +05:30
ROCm CI Service Account cbdce95e23 SWDEV-367463 - Add unit test for hipMallocManaged call w/ large size (#3089)
Change-Id: I9e9f6687ec837f3aaa1567d8b00f15925b7dd2c2

[ROCm/hip-tests commit: e6b5bd2666]
2022-11-28 14:04:01 +05:30
ROCm CI Service Account 7fbe544a39 SWDEV-352687 - Updated hipMemAdvise_TstAlignedAllocMem test code (#3041)
Change-Id: Ie6690116d18efbb8586c6ab065550a46a134a611

[ROCm/hip-tests commit: a8c14cfef7]
2022-11-02 08:31:55 +05:30
ROCm CI Service Account cc962556ad SWDEV-298757 - hipMemRangeGetAttributes.cc Adding test cases based on hipMemRangeGetAttributes() api (#3024)
Change-Id: Ife2b062d6fe45bbf7bd365d0571009b5d77d5135

[ROCm/hip-tests commit: 6d589ce854]
2022-10-27 20:22:40 +05:30
ROCm CI Service Account e019191ddf SWDEV-360317 - Correct array creation. (#3023)
Change-Id: I9fd80bc4202a10a83a6c22a813af6cdbb84f3c53

[ROCm/hip-tests commit: 40c42dcc69]
2022-10-27 20:22:22 +05:30
ROCm CI Service Account 2fb6aff488 SWDEV-350781 - Address Unit_hipMemAdvise_TstAlignedAllocMem catch test failure (#2999)
Change-Id: I79002ac644667f280ee14a07c28547fb878b320d

[ROCm/hip-tests commit: bd4313284a]
2022-10-19 17:38:03 +05:30
ROCm CI Service Account b6709256ea SWDEV-337766 - [catch2][dtest]Fix for MI200 failures for tests: Unit_hipMemcpyPeer_Negative and Unit_hipMemcpyPeerAsync_Negative (#2986)
Change-Id: I88aa2580a589f6fcef3a098ee68922e3431aa75a

[ROCm/hip-tests commit: 48d21d8732]
2022-10-19 16:49:04 +05:30
ROCm CI Service Account a33bf1e10d 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

[ROCm/hip-tests commit: 15593f343d]
2022-10-19 16:48:44 +05:30
ROCm CI Service Account 4ad0a158c2 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

[ROCm/hip-tests commit: 35415f4d05]
2022-10-12 08:31:25 +05:30
music-dino 39c86475c1 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

[ROCm/hip-tests commit: 77bc96131b]
2022-10-12 08:30:51 +05:30
Maneesh Gupta 1c5b23dcd4 SWDEV-1 - Add missing checks in hipMemoryAllocateCoherent.cc
[ROCm/hip-tests commit: d3eb37e583]
2022-10-11 12:01:36 +05:30
Maneesh Gupta bd79a6da38 SWDEV-1 - Add missing checks in hipMemsetSync.cc
[ROCm/hip-tests commit: f165e42933]
2022-10-11 12:00:23 +05:30
Maneesh Gupta 20d2e730ae SWDEV-1 - Add missing checks in MemUtils.hh
[ROCm/hip-tests commit: a152a895b6]
2022-10-11 11:58:41 +05:30
Maneesh Gupta dd4ecee1cb SWDEV-1 - Add missing checks in hipDrvMemcpy3D.cc
[ROCm/hip-tests commit: d3bf2019cf]
2022-10-11 11:15:26 +05:30
Maneesh Gupta cfa404b1f4 SWDEV-1 - Add missing checks in hipMemcpyAsync.cc
[ROCm/hip-tests commit: 59dfdc0fb0]
2022-10-11 11:13:42 +05:30
Maneesh Gupta 74a25fa2ed SWDEV-1 - Add missing checks in hipMemcpy.cc
[ROCm/hip-tests commit: cc1fab34dd]
2022-10-11 10:50:43 +05:30
Maneesh Gupta 8ed9540466 SWDEV-1 - Add missing checks in hipMemcpyAsync.cc
[ROCm/hip-tests commit: 7f9c40ed51]
2022-10-11 10:44:04 +05:30
Maneesh Gupta ca5eaff77c SWDEV-1 - Add missing checks in hipMemsetFunctional.cc
[ROCm/hip-tests commit: 0ed41e0fed]
2022-10-11 10:42:36 +05:30
Maneesh Gupta f74db156e0 SWDEV-1 - Add missing checks in hipMemcpyPeerAsync.cc
[ROCm/hip-tests commit: 7098f65fe8]
2022-10-11 10:31:40 +05:30
Maneesh Gupta 88a1b99202 SWDEV-1 - Add missing checks in hipMemcpyPeer.cc
[ROCm/hip-tests commit: 04907d8f2d]
2022-10-11 10:27:42 +05:30
Maneesh Gupta 21d2acc874 SWDEV-1 - Add missing checks in hipMemset2D.cc
[ROCm/hip-tests commit: b311d373d1]
2022-10-11 09:56:00 +05:30
Maneesh Gupta f6bb5e803b SWDEV-1 - Add missing checks in hipMemset.cc
[ROCm/hip-tests commit: 711612d17f]
2022-10-11 09:16:13 +05:30
Maneesh Gupta 10693fa1ad SWDEV-1 - Add missing checks in hipMemsetNegative.cc
[ROCm/hip-tests commit: 777ed57e6d]
2022-10-11 09:14:00 +05:30
Maneesh Gupta 49dec170ce SWDEV-1 - Add missing checks in hipMallocManaged_MultiScenario.cc
[ROCm/hip-tests commit: 1d0cb68cd9]
2022-10-11 08:54:25 +05:30
Maneesh Gupta f0f872a941 SWDEV-1 - Add missing checks in hipMemcpy_MultiThread.cc
[ROCm/hip-tests commit: 79eeb9b806]
2022-10-11 08:53:04 +05:30
Maneesh Gupta 7a88036803 SWDEV-1 - Add missing checks in hipMemcpyAllApiNegative.cc
[ROCm/hip-tests commit: dcf32d639a]
2022-10-11 08:50:32 +05:30
Maneesh Gupta 0211184b2b SWDEV-1 - Add missing checks in hipMemcpy2DFromArrayAsync.cc
[ROCm/hip-tests commit: 4de926342f]
2022-10-11 08:30:38 +05:30
Maneesh Gupta e86ffd90b9 SWDEV-1 - Add missing checks in hipMemcpy2DFromArray.cc
[ROCm/hip-tests commit: 484064606e]
2022-10-11 08:29:39 +05:30
Maneesh Gupta fcd62616da SWDEV-1 - Add missing checks in hipMemcpy2DAsync.cc
[ROCm/hip-tests commit: 1d1a4ddd3c]
2022-10-11 08:28:19 +05:30
Maneesh Gupta 8b4ef43ae4 SWDEV-1 - Add missing checks in hipMemcpy2D.cc
[ROCm/hip-tests commit: 8d0e6fd39f]
2022-10-11 08:26:52 +05:30
Maneesh Gupta 5de2494109 SWDEV-1 - Add missing checks in hipMemcpyParam2DAsync.cc
[ROCm/hip-tests commit: 2dc231ed4c]
2022-10-10 22:05:39 +05:30
Maneesh Gupta ff6057a012 SWDEV-1 - Add missing checks in hipMemcpy3DAsync.cc
[ROCm/hip-tests commit: 2f82bf3e36]
2022-10-10 21:22:01 +05:30
Maneesh Gupta 8fbdd2eb87 SWDEV-1 - Add missing checks in hipMemcpy2DToArrayAsync.cc
[ROCm/hip-tests commit: 4f5e85735b]
2022-10-10 20:54:27 +05:30
Maneesh Gupta 464596a377 SWDEV-1 - Add missing checks in memset.cc
[ROCm/hip-tests commit: 4d588564ad]
2022-10-10 16:15:08 +05:30
Maneesh Gupta 38bb87ae09 SWDEV-1 - Add missing checks in hipMemcpy2DToArray.cc
[ROCm/hip-tests commit: 60bf95dc23]
2022-10-10 16:14:04 +05:30
Paulius Velesko 65a428aaff Catch2 Test Fixes (#2961)
* test fixes

* address PR comment

* PR comment fixing Nvidia pass

* add additional kernel launch checks

* pr comments


[ROCm/hip-tests commit: da453211ed]
2022-09-30 15:07:25 -07:00