提交图

676 次代码提交

作者 SHA1 备注 提交日期
nives-vukovic fcdbcd743a EXSWHTEC-65 - Implement additional Initialization and Version tests (#2972)
- Separate hipRuntimeGetVersion and hipDeviceGetUuid tests into positive and negative tests
 - Split Unit_hipDeviceGetUuid into Unit_hipDeviceGetUuid_Positive and Unit_hipDeviceGetUuid_Negative
 - Split Unit_hipRuntimeGetVersion_NegAndValTst into Unit_hipRuntimeGetVersion_Positive and Unit_hipRuntimeGetVersion_Negative
- Modify tests to use hipDevice_t instead of integer for devices in hipDeviceGetUuid negative test
- Implement additional Initialization and Version tests
 - Expand hipDeviceComputeCapability negative test with case when device is invalid
 - Expand hipDeviceGetP2PAttribute negative test with case when src and dst devices are the same
 - Expand hipDeviceGetP2PAttribute negative test with case when device is out of bound
 - Modify hipDeviceTotalMem negative test with case when device is invalid
 - Implement Unit_hipDeviceGetPCIBusId_PartialFill test which validates partial filling the bus id into a char array
- Fix minor formatting issues and change hipDeviceGetPCIBusId partial fill test into negative
- Modify negative tests to use integer device values
- Disable hipDeviceGetPCIBusId negative test on AMD

[ROCm/hip-tests commit: d7fafa8696]
2022-11-04 19:29:26 +05:30
Mirza Halilčević 47050658dc EXSWHTEC-9 - Implement additional tests for hipIpcCloseMemHandle (#2881)
- Verify that memory stays mapped when reference count is non zero
- Verify that memory stays mapped if handle is closed in a second process
- Verify that attempting to close handle in the process that created it causes an error
- Correct header includes.
- Add additional pointer check to reference counting test.
- Disable Unit_hipIpcCloseMemHandle_Negative_Close_In_Originating_Process test for AMD.

[ROCm/hip-tests commit: 86fa9725c4]
2022-11-04 19:26:53 +05:30
Mirza Halilčević 03e871aea5 EXSWHTEC-8 - Implement additional test for hipGetDeviceFlags (#2877)
- Validate that hipGetDeviceFlags returns flags with which the current context was created.
- Disable Unit_hipGetDeviceFlags_Positive_Context on AMD

[ROCm/hip-tests commit: a6bbefbd95]
2022-11-04 19:24:58 +05:30
Mirza Halilčević d734e7d859 EXSWHTEC-1 - Implement additional negative parameter tests for hipIpcGetEventHandle and hipIpcOpenEventHandle (#2882)
[ROCm/hip-tests commit: 72ab04d18d]
2022-11-04 19:24:28 +05:30
nives-vukovic 1f0ab7b47f EXSWHTEC-71 - Implement P2P Device Access positive and negative tests (#2980)
- Implemented P2P Device Access positive and negative tests for the following functions:
 - hipDeviceCanAccessPeer
 - hipDeviceEnablePeerAccess
 - hipDeviceDisablePeerAccess
- Expand P2P Device Access negative tests
 - Add hipDeviceEnablePeerAccess negative test when flag is invalid and access is already enabled
 - Add hipDeviceDisablePeerAccess negative test when access is not enabled and when it is disabled twice

[ROCm/hip-tests commit: 79162275d9]
2022-11-04 08:43:33 +05:30
Mirza Halilčević 40680e1c0f EXSWHTEC-28 - Implement tests for hipDeviceSetMemPool and hipDeviceGetMemPool (#2876)
- Test behaviour with valid arguments for both APIs
- Test with invalid parameters.
- Default return value test
- Multithreaded test
- Enable tests for nvidia platform.

[ROCm/hip-tests commit: 44a48a387e]
2022-11-03 10:16:24 +05:30
Mirza Halilčević 39259e08fb EXSWHTEC-26 - Implement tests for hipDeviceSetCacheConfig and hipDeviceGetCacheConfig (#2919)
- Negative parameter tests
- Default return value test
- Multithreaded test
- Reorder tests and generate test cases for all available devices in certain tests.
- Add checks for hipDeviceSetCacheConfig not being supported on AMD.
- Remove NVIDIA guards from tests and disable tests on AMD platform.

[ROCm/hip-tests commit: 77da7331c1]
2022-11-03 08:02:25 +05:30
nives-vukovic 35eb663642 EXSWHTEC-17 - Implement additional hipStreamWaitEvent tests (#2910)
- Add simple test that waits for an event - Unit_hipStreamWaitEvent_Default
- Add negative test when stream is uninitialized - Unit_hipStreamWaitEvent_WithUninitializedStream
- Minor modification of Unit_hipStreamWaitEvent_DifferentStreamstxt
- Modify uninitialized stream error code

[ROCm/hip-tests commit: 6e4c9a8089]
2022-11-03 08:01:37 +05:30
nives-vukovic 63b45274e6 EXSWHTEC-13 - Implement positive test for hipEventCreate (#2901)
- Add hipEventCreate.cc file with a simple positive unit test
- Add newly created file into CMakeLists.txt
- Update hipEventCreate test according to coding guidelines

[ROCm/hip-tests commit: 9219f9eebd]
2022-11-02 21:32:58 +05:30
Mirza Halilčević 73f234a0c0 EXSWHTEC-7 - Implement tests for error handling APIs (#2883)
- Validate that hipGetErrorName returns a non empty string for all error enumerators
- Validate that hipGetErrorString returns a non empty string for all error enumerators
- Negative parameter test for hipGetErrorName and hipGetErrorString
- Validate expected behaviour of hipGetLastError and hipPeekAtLastError
- Multithreaded tests for hipGetLastError and hipPeekAtLastError
- Remove threaded_zig_zag_test.
- Validate error string for invalid error enumerator
- Remove empty lines from HipGetLastErrorThreadedTest and HipPeekAtLastErrorTest.
- Removed unnecessary check in hipGetErrorString negative test.

[ROCm/hip-tests commit: 7cb8d2fe5b]
2022-11-02 21:01:54 +05:30
Mirza Halilčević cd961a741c Implement tests for hipDeviceGetDefaultMemPool (#2875)
- Test that returned mem_pool is not a nullptr
- Tests with invalid parameters.

[ROCm/hip-tests commit: 42681b01c9]
2022-11-02 19:25:37 +05:30
ROCm CI Service Account 2fcb8178c8 SWDEV-306122 - [catch2][dtest] Additional tests for hipGraphGetNodes/hipGraphGetRootNodes api (#2860)
Change-Id: I4e9a6eadd92b6de4aded0aa96464bfcc59441ac4

[ROCm/hip-tests commit: 664c8b377d]
2022-11-02 14:42:11 +05:30
ROCm CI Service Account 56515b9f52 SWDEV-347688 - port compiler folder Dtest (#2858)
Change-Id: I79d505881b23d2f12429609cc8cbf478d19bf944

[ROCm/hip-tests commit: 6f7f88cb14]
2022-11-02 14:41:55 +05:30
Mirza Halilčević 052ce69ecc EXSWHTEC-2 - Implement additional tests for hipDeviceSynchronize (#2872)
- Test synchronization when no work is enqueued on streams
- Test synchronization on default stream
- Modify tests to run for all devices.
 - Remove unnecessary check in Unit_hipDeviceSynchronize_Positive_Empty_Streams test.

[ROCm/hip-tests commit: 29b9a4a0c0]
2022-11-02 14:41:34 +05:30
ROCm CI Service Account e8ec4e3e21 SWDEV-306122 - [catch2][dtest] hipGraph tests for hipStreamGetCaptureInfo_V2 api (#2854)
Change-Id: Ia55eae2d04e3d7f229aa571fe94e2e8e0dfd5603

[ROCm/hip-tests commit: ecf407cfd0]
2022-11-02 11:50:51 +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
nives-vukovic 0c5c5d9785 EXSWHTEC-25 - Update Unit_hipEventCreateWithFlags_Positive test to include hipEventInterprocess flag on AMD (#3036)
* Implement tests for hipEventCreateWithFlags

- Add hipEventCreateWithFlags.cc with a simple positive unit test
- Divide Unit_hipEventCreate_NullCheck into two separate tests
- Add newly created file into CMakeLists.txt
- Update Unit_hipEventCreateWithFlags_Positive test to include hipEventInterprocess flag

[ROCm/hip-tests commit: 97a1a626f3]
2022-11-02 08:31:41 +05:30
ROCm CI Service Account 2ee3a313bd SWDEV-306122 - [catch2][dtest] Adding following tests for hipGraphAddEventWaitNode() API. (#2591)
1. Functional Tests
2. Negative Tests

Change-Id: I970a41e9c070c74c179818e74bfd93276dcfad10

[ROCm/hip-tests commit: 879900af71]
2022-11-02 08:30:06 +05:30
ROCm CI Service Account c62ad66022 SWDEV-347670 - Enable GPU StreamWrite and StreamWait tests on Windows (#3031)
This patch skips Unit_hipStreamValue_*_Blocking test cases because of a soft hang
Stream write and stream wait passing tests can be enabled in the device
attribute.

Unit_hipStreamValue_*_Blocking tests will be enabled when the hang is fixed

Change-Id: Ieea831162208c4ec172b35a0421c66f6b1a21ed7


[ROCm/hip-tests commit: eceb699ddb]
2022-10-31 22:08:38 -07:00
ROCm CI Service Account 3d05214ace SWDEV-360437 - fix tests with hipGetLastError() (#3040)
Unit_hipFreeImplicitSyncDev*
Unit_hipFreeImplicitSyncHost*
Unit_hipFreeImplicitSyncArray*
Unit_hipStreamCreateWithFlags_DefaultStreamInteraction
Unit_hipStreamSynchronize_NullStreamAndStreamPerThread

Change-Id: I382cf13bfe15bd8b1af657bdbb8c4f9043ea6f17


[ROCm/hip-tests commit: acf7e3580b]
2022-10-31 17:38:26 -07:00
ROCm CI Service Account 4756626aab SWDEV-360748 - Disable hipExtGetLinkTypeAndHopCount_Positive_Basic test on Windows (#3034)
Change-Id: I0a1ae08c4f766baf27df115de9257ca8d5533af0

[ROCm/hip-tests commit: 1787d43b70]
2022-10-27 20:24:56 +05:30
ROCm CI Service Account 9e3586439c SWDEV-332251 - removal of hip-catch* pkg during rocm uninstallation (#3033)
Adds rocm-core dependency

Change-Id: I749aa19bbbccb92f3ae2314d5029a1b96555e851

[ROCm/hip-tests commit: 6fed9ba2b2]
2022-10-27 20:24:33 +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
Rakesh Roy 624d6bbdce SWDEV-361590 - Fix Palamida scan issue (#3020)
- Don't use  code from Wikipedia (prohibited sources)

[ROCm/hip-tests commit: e7203b9706]
2022-10-25 09:08:18 -07:00
Satyanvesh Dittakavi f54fe73f80 SWDEV-350781 - Remove Pagetable validation tests from HIP (#2970)
[ROCm/hip-tests commit: 2b5b200d7b]
2022-10-20 07:26:03 +05:30
ROCm CI Service Account c6c93bf9ab SWDEV-286739 - Support hipDeviceAttributeWallClockRate (#2984)
Part 4: Add unit test of wall_clock64()

Change-Id: I52cbba6d67d21cde6da19c5ab533159f426a9bf7

[ROCm/hip-tests commit: bca9856ca4]
2022-10-19 19:12:01 +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 ee95d39a40 SWDEV-361383 - Fixing compilation issue for stress test files under catch2 framework (#2998)
Change-Id: I4253a6cdb2c10bcb0021f869b7b3c4f1acd28787

[ROCm/hip-tests commit: 339a51dcaf]
2022-10-19 16:52:24 +05:30
ROCm CI Service Account 4ea956e684 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

[ROCm/hip-tests commit: 5db81793b2]
2022-10-19 16:52:06 +05:30
ROCm CI Service Account 28e2c2db5e SWDEV-361129 - [catch2][dtest] Enabling tests hipGraphInstantiateWithFlags for AMD (#2987)
Change-Id: I39227ab51417e55f4ab05c48b61e9735856e58ac

[ROCm/hip-tests commit: 246f0c7d20]
2022-10-19 16:49:18 +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 11a0279232 SWDEV-356057 - [catch2][dtest] Adding tests for no GPU environment. (#2981)
Change-Id: I1f63bd2abb1b6fe427be7264e0f5fbfa07216727

[ROCm/hip-tests commit: 47defc1840]
2022-10-17 13:41:29 +05:30
ROCm CI Service Account 4121bb7e6f SWDEV-327563 - Enable fixed Windows tests v4 (#2989)
Change-Id: Ifa85eea8356d332f555f54516cde9c922c63f6af


[ROCm/hip-tests commit: 0e463ad3be]
2022-10-13 14:01:13 -07:00
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