Граф коммитов

85 Коммитов

Автор SHA1 Сообщение Дата
Mirza Halilčević 4728d85ef0 EXSWHTEC-3 - Implement tests for hipDeviceReset (#2873)
* Implement tests for hipDeviceReset

- Basic test for behaviour validation
- Multithreaded test similar to basic test.

* Update license boilerplate.

Signed-off-by: Dino Music <dino.music@htecgroup.com>

* EXSWHTEC-3 - Add stream and memory checks to hipDeviceReset tests.

* EXSWHTEC-3 - Corrected expected error code for hipStreamDestroy

* EXSWHTEC-3 - Corrected check ordering in
Unit_hipDeviceReset_Positive_Threaded test.

* EXSWHTEC-3 - Exclude hipDeviceSetGetCacheConfig checks for AMD

* EXSWHTEC-3 - Corrected merge error in device/CMakeLists.txt

* EXSWHTEC-3 - Remove NVIDIA guards from tests and relax the code.

* EXSWHTEC-3 - Update tests to take into account unsupported operations on AMD

* EXSWHTEC-3 - Fix bug in Unit_hipDeviceReset_Positive_Threaded test.

* EXSWHTEC-3 - Disable hipDeviceReset tests for AMD.


[ROCm/hip commit: 72134a78f2]
2022-11-30 20:37:20 -08:00
ROCm CI Service Account 0965bd6ea2 SWDEV-345188 - Windows: fix warnings while building catch (#3071)
fixes deprecated warning for 'getenv' on Windows

Change-Id: I5ecdaca451a936e843691c4611910ee338b22e46

[ROCm/hip commit: 0e06303fe2]
2022-11-28 20:17:09 +05:30
ROCm CI Service Account cb69c9393b SWDEV-357759 - [catch2][dtest] Adding additional functional tests for hipStreamBeginCapture() API (#3094)
Change-Id: I7b89dcb6aa24eae0daf2974733ddeb6d3902cafa

[ROCm/hip commit: 8c79142035]
2022-11-28 14:04:25 +05:30
Maneesh Gupta 4ccda0ea4a Disable Unit_hipMemset_Negative_OutOfBoundsPtr
[ROCm/hip commit: d3e7e5a23b]
2022-11-23 15:06:16 +05:30
agunashe b6e406fd60 SWDEV-327563 - skip Unit_hipGraphAddEventRecordNode_Functional_WithoutFlags (#3091)
* SWDEV-327563 - skip Unit_hipGraphAddEventRecordNode_Functional_WithoutFlags

* SWDEV-327563 - skip Unit_hipGraphAddEventRecordNode_MultipleRun

[ROCm/hip commit: d0c63f8d53]
2022-11-21 22:11:08 -08:00
nives-vukovic 7a9617e9f6 EXSWHTEC-64 - Implement tests for hipInit and hipDriverGetVersion (#2971)
- Add simple positive and negative test for hipInit api
- Add simple positive and negative test for hipDriverGetVersion api
- Disable hipInit negative test on AMD

[ROCm/hip commit: 1f06f33d7d]
2022-11-14 15:05:14 +05:30
agunashe e6ee2e4913 SWDEV-327563 - skip graph and spt failing tests (#3068)
* SWDEV-327563 - skip Unit_hipStreamSynchronize_NullStreamAndStreamPerThread.

Since the StreamPerThread is still not fixed

* SWDEV-327563 - skip graph and spt failing tests

[ROCm/hip commit: ae8f2d3557]
2022-11-13 22:57:11 -08:00
Mirza Halilčević 6b6d67dd61 EXSWHTEC-10 - Implement additional tests for hipIpcOpenMemHandle (#2880)
- Verify that opening the same handle in different contexts on same device causes an error
- Verify that opening the handle in the process that created it causes an error
- Remove linux guard from test file and exclude test from windows build with cmake.
- Disable Unit_hipIpcOpenMemHandle_Negative_Open_In_Creating_Process for AMD.

[ROCm/hip commit: 809149ecc8]
2022-11-07 16:50:44 +05:30
ROCm CI Service Account cd6b6ca2c3 SWDEV-327563 - Windows Enable fixed tests v5 (#3059)
Change-Id: Ie144e481f38b3e5d462f64d76ab4fd32043f2b46

[ROCm/hip commit: 4fbc08e6c4]
2022-11-07 15:36:09 +05:30
Mirza Halilčević 822cccfb95 EXSWHTEC-27 - Implement tests for hipDeviceSetSharedMemConfig and hipDeviceGetSharedMemConfig (#2920)
- Negative parameter tests
- Default return value test
- Multithreaded test
- Adjust hipDeviceSetGetSharedMemConfig tests according to new return value.

[ROCm/hip commit: cd4a634935]
2022-11-07 14:01:36 +05:30
nives-vukovic 6500f83b4f 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 commit: 10382f7f58]
2022-11-04 19:29:26 +05:30
Mirza Halilčević ddd1ea09cc 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 commit: dc5d658843]
2022-11-04 19:26:53 +05:30
Mirza Halilčević d872d637ae 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 commit: 7a3fecab50]
2022-11-04 19:24:58 +05:30
Mirza Halilčević 5ee70b6d82 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 commit: 60c0251ff1]
2022-11-03 08:02:25 +05:30
ROCm CI Service Account d492bdd82c 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 commit: b0d6892692]
2022-10-31 22:08:38 -07:00
ROCm CI Service Account bc393c41c7 SWDEV-327563 - Enable fixed Windows tests v4 (#2989)
Change-Id: Ifa85eea8356d332f555f54516cde9c922c63f6af


[ROCm/hip commit: aba1e8b921]
2022-10-13 14:01:13 -07:00
agunashe 13d706c6e1 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

[ROCm/hip commit: 25c18cbcf3]
2022-10-06 09:53:38 -07:00
ROCm CI Service Account fc6b562f3d SWDEV-306122 - [catch2][dtest] Added test for hipGraphMemcpyNodeSetParamsToSymbol API (#2813)
Change-Id: I486030661324f3fa4d6f6241882f4cd839211511

[ROCm/hip commit: a1481d542b]
2022-09-27 13:34:31 +05:30
ROCm CI Service Account 0f1048c986 SWDEV-306122 - [catch2][dtest] Tests for hipGraphExecChildGraphNodeSetParams API (#2948)
Added Negative and functional tests for hipGraphExecChildGraphNodeSetParams API

Change-Id: Ibe3ab74bc783a90daec153a8c74f039a2f977a71

[ROCm/hip commit: cd0d73d3f1]
2022-09-23 12:36:45 +05:30
ROCm CI Service Account 50ea67171a SWDEV-306122 - [catch2][dtest] Tests for hipGraphHostNodeGetParams API (#2949)
Added Negative and functional tests for hipGraphHostNodeGetParams API.

Change-Id: Ic9e841875673c10cea9a47f98cd47ff4995f888a

[ROCm/hip commit: cac4154ddf]
2022-09-23 12:35:27 +05:30
ROCm CI Service Account f091947ffd SWDEV-327563 - Enable fixed tests linux and windows v3 (#2943)
Change-Id: Ia5c47821268d7f31b70c473ef2a4785b6735a2f1


[ROCm/hip commit: 201fe67e81]
2022-09-21 11:59:06 -07:00
ROCm CI Service Account a837f0fd29 SWDEV-346579 - MI2xx skip build/execution hipArrayCreate.cc/hipMallocArray.cc (#2917)
Change-Id: I3a39d541e8ac8b565cccc1b08403e0110edc471d


[ROCm/hip commit: 8da5c5016b]
2022-09-07 13:10:20 -07:00
agunashe 2f6d856628 SWDEV-327563 - skip intermittent tests (#2909)
Unit_hipStreamCreateWithPriority_ValidateWithEvents
Unit_hipStreamPerThread_StrmWaitEvt

[ROCm/hip commit: f3a4ea77f2]
2022-08-29 17:24:00 -07:00
agunashe 192e79153c SWDEV-327563 - skip intermittent staging build failures (#2865)
[ROCm/hip commit: 0df1b972e1]
2022-08-22 10:06:23 -07:00
agunashe 27df293061 SWDEV-344154 - infrastructure to skip tests for different archs (#2850)
Change-Id: Id3bda440c4cd920ce18c14d06e2f2c6ab6346de3

[ROCm/hip commit: d154b4cd6b]
2022-08-17 17:10:52 -07:00
Maneesh Gupta 18e8753b65 Win: failing sub-tests need to be disabled explicitly
[ROCm/hip commit: cfaa115959]
2022-08-04 13:23:39 +05:30
Maneesh Gupta 2b6bb98eec Win: Disable failing hipFree tests
[ROCm/hip commit: 234eb0ccb9]
2022-08-04 12:24:17 +05:30
Maneesh Gupta d6eac5ace7 Fix typo in config_amd_windows.json
[ROCm/hip commit: eeb10a8238]
2022-08-03 07:57:33 +05:30
agunashe 0be57d6eba SWDEV-327563 - Win: Disable failing hipMemGetInfo tests (#2836)
[ROCm/hip commit: 37583e5645]
2022-08-01 14:41:20 -07:00
ROCm CI Service Account 5a1ce6df32 SWDEV-306122 - [catch2][dtest] hipGraph tests for hipGraphNodeGetDependencies api (#2827)
Change-Id: I017ba7891c84adb4d24d857b31800723bd43ed59

[ROCm/hip commit: 1c4822f24a]
2022-07-26 15:09:35 +05:30
ROCm CI Service Account ef089bf80d SWDEV-306122 - [catch2][dtest] hipGraph tests for hipGraphNodeGetDependentNodes api (#2826)
Change-Id: Ie9a81fa8829d48ace19ac3fa522f957504c3ccc0

[ROCm/hip commit: a2e3642e5b]
2022-07-26 15:08:04 +05:30
ROCm CI Service Account f9c415a7c7 SWDEV-344691 - hipMalloc3DArray fails if width is more than capacity. (#2819)
Change-Id: I3eeaa9ef2b3197b3e5c5f03ccc1ba069dfb64fb7

[ROCm/hip commit: 7db8bde590]
2022-07-26 12:14:26 +05:30
ROCm CI Service Account 1cc7e34fe2 SWDEV-327563 - Enable fixed tests linux and windows v2 (#2822)
Change-Id: I094b5c8bda458917a074af9b8638074362c1aa56

[ROCm/hip commit: 21ec83b734]
2022-07-26 11:47:03 +05:30
ROCm CI Service Account 7af43266bf SWDEV-306122 - [catch2][dtest] hipGraphExecMemcpyNodeSetParamsToSymbol API (#2824)
Change-Id: I3f533b88f9fadcb17bde6577212cf1561fa49273

Co-authored-by: mbhiutra <meher.bhiutras@amd.com>

[ROCm/hip commit: e68136227a]
2022-07-26 10:47:49 +05:30
ROCm CI Service Account e1a3b7b574 SWDEV-340649 - Disables memory oversubscription test case (#2810)
Change-Id: I5597995c097b35564298d7ea8200ef2d89dcfa0f

[ROCm/hip commit: 7f3fcec95e]
2022-07-19 19:32:06 +05:30
ROCm CI Service Account 3a77e80952 SWDEV-306122 - [catch2][dtest] hipGraphMemcpyNodeSetParams1D added Functional and Negative test scenario (#2808)
Change-Id: If54fd56ae345ca4a13791bc376b3b72ce5e312b6

[ROCm/hip commit: e3bde76c8b]
2022-07-19 19:30:42 +05:30
ROCm CI Service Account 14ad5cfdc0 SWDEV-327563 - Enable fixed tests linux and windows (#2803)
Change-Id: Icad90d01f796a8a8cf57884b86ca1a5a2b50ec64

[ROCm/hip commit: 3ab3c5fa17]
2022-07-19 19:28:17 +05:30
ROCm CI Service Account 70dd61fbae SWDEV-306122 - [catch2][dtest] API hipGraphKernelNodeGetParams, hipGraphKernelNodeSetParams, hipGraphExecKernelNodeSetParams. (#2802)
Change-Id: Ie5eb8949f589ac7ac5eb0f02e99f2012d9c0b926

[ROCm/hip commit: 978b02c52f]
2022-07-19 19:27:29 +05:30
Maneesh Gupta 551f9b4f76 Disable Unit_hipMemVmm_Basic on windows for now
[ROCm/hip commit: 9e84a11f23]
2022-07-14 11:25:25 +05:30
agunashe 0da2aa9d2c SWDEV-327563 - Win,Linx: Disable failing tests (#2796)
Develop to staging

[ROCm/hip commit: 83dda013c2]
2022-07-12 10:08:45 -07:00
Maneesh Gupta d22f3f26b1 Disable newly added failing tests (#2790)
* Update hipHostUnregister.cc
- Disable Unit_hipHostUnregister_NotRegisteredPointer
- Disable Unit_hipHostUnregister_AlreadyUnregisteredPointer

* Update hipMallocPitch.cc
- Disable Unit_hipMallocPitch_ValidatePitch
- Disable failing sections of Unit_hipMalloc3D_Negative
- Disable failing sections of Unit_hipMallocPitch_Negative
- Disable failing sections of Unit_hipMemAllocPitch_Negative

* Update config_amd_windows.json
- Disabled Unit_hipMalloc3D_ValidatePitch
- Disabled Unit_hipArrayCreate_happy

[ROCm/hip commit: 1b576c9fa6]
2022-07-08 17:49:53 +05:30
ROCm CI Service Account 26d90663cb SWDEV-306122 - [catch2][dtest] Added tests for hipGraphMemcpyNodeGetParams/hipGraphMemcpyNodeSetParams API. (#2775)
Change-Id: Ie0e323a545c3bac17a35814a90b93ecd44cec537

[ROCm/hip commit: 778bf8631d]
2022-07-08 15:19:02 +05:30
ROCm CI Service Account 4d157a325e SWDEV-327563 - Windows: Enable skipped tests (#2773)
Change-Id: I091ca7e98dc6339853f955725c9cf3b485b2e44d


[ROCm/hip commit: 329616bfd4]
2022-06-28 10:06:30 -07:00
Fábio cc7ae07901 EXSWCPHIPT-42: Changes to HIP RTC Framework implementation (#2732)
- Removed ifdef from hipTestContext class
- Fix potential race condition in hipTest::launchRTCKernel()
- Improve documentation
- Move moduleUnloading to main() instead of explicitly calling it on every test
- Fix code formating
- Fix segmentation fault caused by using catch2 macro after catch2 is destroyed

[ROCm/hip commit: d46d399976]
2022-06-28 09:00:37 +05:30
ROCm CI Service Account a4b6656a8e SWDEV-306122 - [catch2][dtest] hipGraphMemcpyNodeSetParamsFromSymbol API (#2762)
Change-Id: I88e5a808ca8441dc3dc745d8575d22973b7ac9d2


[ROCm/hip commit: 3befbd483f]
2022-06-23 17:40:50 -07:00
ROCm CI Service Account a246d38f43 SWDEV-306122 - [catch2][dtest] Adding following tests for hipGraphExecEventWaitNodeSetEvent() API. (#2763)
- Functional Test
- Negative Tests

Change-Id: I80ba185c4892162e68945f82b3c1cc9ffd9c105c


[ROCm/hip commit: c7884fe741]
2022-06-22 15:33:09 -07:00
Jatin Chaudhary e0ae805dde Add HIP_CHECK_THREAD and REQUIRE_THREAD macro for multi threaded HIP API tests (#2664)
[ROCm/hip commit: 5afcd13390]
2022-06-20 15:07:13 +05:30
agunashe 233044911f SWDEV-327563 - Win:skip mempool and getUuid failing tests (#2748)
[ROCm/hip commit: 902eae64e3]
2022-06-20 09:19:15 +05:30
ROCm CI Service Account 403a40b6c9 SWDEV-337331 - Windows initial graph tests (#2739)
Enables most of graph tests on Windows.

Change-Id: I32bd9a327168378776f89d7a6c4a83ba33861c01


[ROCm/hip commit: ac1d594ef1]
2022-06-15 09:38:21 -07:00
Fábio bdee650e17 EXSWCPHIPT-42 - Add HIP RTC support to the test framework (#2719)
* EXSWCPHIPT-42 - Add HIP RTC support to the test framework
* Removed ifdef from hipTestContext class

[ROCm/hip commit: 604de0f817]
2022-06-13 15:35:02 +05:30