Commit Graph

709 Commits

Author SHA1 Message Date
ROCm CI Service Account acf7e3580b SWDEV-360437 - fix tests with hipGetLastError() (#3040)
Unit_hipFreeImplicitSyncDev*
Unit_hipFreeImplicitSyncHost*
Unit_hipFreeImplicitSyncArray*
Unit_hipStreamCreateWithFlags_DefaultStreamInteraction
Unit_hipStreamSynchronize_NullStreamAndStreamPerThread

Change-Id: I382cf13bfe15bd8b1af657bdbb8c4f9043ea6f17
2022-10-31 17:38:26 -07:00
ROCm CI Service Account 1787d43b70 SWDEV-360748 - Disable hipExtGetLinkTypeAndHopCount_Positive_Basic test on Windows (#3034)
Change-Id: I0a1ae08c4f766baf27df115de9257ca8d5533af0
2022-10-27 20:24:56 +05:30
ROCm CI Service Account 6fed9ba2b2 SWDEV-332251 - removal of hip-catch* pkg during rocm uninstallation (#3033)
Adds rocm-core dependency

Change-Id: I749aa19bbbccb92f3ae2314d5029a1b96555e851
2022-10-27 20:24:33 +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
Rakesh Roy e7203b9706 SWDEV-361590 - Fix Palamida scan issue (#3020)
- Don't use  code from Wikipedia (prohibited sources)
2022-10-25 09:08:18 -07:00
Satyanvesh Dittakavi 2b5b200d7b SWDEV-350781 - Remove Pagetable validation tests from HIP (#2970) 2022-10-20 07:26:03 +05:30
ROCm CI Service Account bca9856ca4 SWDEV-286739 - Support hipDeviceAttributeWallClockRate (#2984)
Part 4: Add unit test of wall_clock64()

Change-Id: I52cbba6d67d21cde6da19c5ab533159f426a9bf7
2022-10-19 19:12:01 +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 339a51dcaf SWDEV-361383 - Fixing compilation issue for stress test files under catch2 framework (#2998)
Change-Id: I4253a6cdb2c10bcb0021f869b7b3c4f1acd28787
2022-10-19 16:52:24 +05:30
ROCm CI Service Account 5db81793b2 SWDEV-318349 - Enable test of graph launched by peer (#2997)
- Enable Unit_hipGraphInstantiateWithFlags_DependencyGraph for AMD.
- Add stream sync for null stream.
- Fix Unit_hipGraphInstantiateWithFlags_DependencyGraph.

change-Id: I5774563fdfed1afd29a43927f3630adbfb75c48a
2022-10-19 16:52:06 +05:30
ROCm CI Service Account 246f0c7d20 SWDEV-361129 - [catch2][dtest] Enabling tests hipGraphInstantiateWithFlags for AMD (#2987)
Change-Id: I39227ab51417e55f4ab05c48b61e9735856e58ac
2022-10-19 16:49:18 +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 47defc1840 SWDEV-356057 - [catch2][dtest] Adding tests for no GPU environment. (#2981)
Change-Id: I1f63bd2abb1b6fe427be7264e0f5fbfa07216727
2022-10-17 13:41:29 +05:30
ROCm CI Service Account 0e463ad3be SWDEV-327563 - Enable fixed Windows tests v4 (#2989)
Change-Id: Ifa85eea8356d332f555f54516cde9c922c63f6af
2022-10-13 14:01:13 -07:00
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
Maneesh Gupta 1d1a4ddd3c SWDEV-1 - Add missing checks in hipMemcpy2DAsync.cc 2022-10-11 08:28:19 +05:30
Maneesh Gupta 8d0e6fd39f SWDEV-1 - Add missing checks in hipMemcpy2D.cc 2022-10-11 08:26:52 +05:30
Maneesh Gupta 2dc231ed4c SWDEV-1 - Add missing checks in hipMemcpyParam2DAsync.cc 2022-10-10 22:05:39 +05:30
Maneesh Gupta 2f82bf3e36 SWDEV-1 - Add missing checks in hipMemcpy3DAsync.cc 2022-10-10 21:22:01 +05:30
Maneesh Gupta 4f5e85735b SWDEV-1 - Add missing checks in hipMemcpy2DToArrayAsync.cc 2022-10-10 20:54:27 +05:30
Maneesh Gupta 4d588564ad SWDEV-1 - Add missing checks in memset.cc 2022-10-10 16:15:08 +05:30
Maneesh Gupta 60bf95dc23 SWDEV-1 - Add missing checks in hipMemcpy2DToArray.cc 2022-10-10 16:14:04 +05:30
nives-vukovic 17feaa555d EXSWHTEC-40 - Implement additional Stream Management negative tests (#2922)
- Implement negative test for hipStream<Write/Wait>Value when stream is uninitialized
- Implement negative test for hipStreamSynchronize when stream is uninitialized
- Invalid flag negative test for hipStreamWriteValue API removed as flag parameter is not used
2022-10-10 13:18:49 +05:30
agunashe 5dc822afcd SWDEV-327563 - skip tests for windows (#2977)
* SWDEV-327563 - skip tests for windows

Unit_hipStreamQuery_WithPendingWork
Unit_hipStreamWaitEvent_DifferentStreams

* SWDEV-327563 - skip tests for windows

leading spaces

* SWDEV-327563 - skip tests for windows

Unit_hipStreamQuery_WithFinishedWork
2022-10-06 09:53:38 -07:00
Paulius Velesko da453211ed Catch2 Test Fixes (#2961)
* test fixes

* address PR comment

* PR comment fixing Nvidia pass

* add additional kernel launch checks

* pr comments
2022-09-30 15:07:25 -07:00
ROCm CI Service Account 609edf1c9e SWDEV-306122 - [catch2][dtest] Added test for hipGraphMemcpyNodeSetParamsToSymbol API (#2813)
Change-Id: I486030661324f3fa4d6f6241882f4cd839211511
2022-09-27 13:34:31 +05:30
ROCm CI Service Account 67c2b50382 SWDEV-354273 - Add unit test of sRGB in 1D (#2968)
Add unit test of sRGB for 1DArray(hipResourceTypeArray) and 1DBuffer(hipResourceTypeLinear).
Note that for 1Dbuffer, AMD devices doesn't support sRGB, thus the test is a negative test.

Change-Id: Ib604cf6f3abd3b90813def1d563c53d42328bace
2022-09-27 10:34:57 +05:30
ROCm CI Service Account ccfa4fa995 SWDEV-351054 - Fix error code. (#2966)
- Remove memory track checks.
- Need to skip checking if mem allocation is 0 and remove unused variable.
- hipMemAllocPitch is driver API hence explicit init is required on NVidia platform.

Change-Id: Ie0d35d4901271a3466a50aaee26e67e7f91c8a2f
2022-09-27 10:34:36 +05:30
ROCm CI Service Account b95baa3a18 SWDEV-331160 - [catch2][dtest] Test cases to test api hipDeviceSetLimit() (#2863)
Change-Id: Ifb78392b55b60ce8b3eb7822a0b32c8fac8cc594
2022-09-26 19:49:00 +05:30