Commit Graph

6599 Commits

Author SHA1 Message Date
Mirza Halilčević 8cb701166d EXSWHTEC-4 - Implement printing of certain device information (#2884)
* Implement printing out of device count to standard output
* Implement printing out of device attributes retrieved by hipDeviceGetAttribute.
* Implement printing of device properties retrieved by hipGetDeviceProperties.
2022-09-26 13:46:38 +05:30
nives-vukovic 4afc7866b5 EXSWHTEC-37 - Expand tests for hipStreamQuery (#2921)
- Add testing for null stream in Unit_hipStreamQuery_WithNoWork
- Add testing for null stream in Unit_hipStreamQuery_WithFinishedWork
2022-09-26 11:03:30 +05:30
nives-vukovic d60b65b5dc EXSWHTEC-24 - Fix issues and refactor code in Stream Management tests (#2916)
- Fix bug in calculation of normal priority in Unit_hipStreamGetPriority_StreamsWithCUMask tests
- Delete duplicate test Unit_hipStreamGetPriority_InvalidPriorityPointer
- Separate Unit_hipStreamAddCallback_ParamTst into positive and negative test
- Remove Unit_hipStreamDestroy_Negative_DoubleDestroy test for Nvidia devices due to error
2022-09-26 11:03:18 +05:30
nives-vukovic 66471b01c9 EXSWHTEC-18 - Implement positive test for hipDeviceGetStreamPriorityRange (#2911)
- Add hipDeviceGetStreamPriorityRange.cc file with a test for simple device stream priority range check
- Add newly created file into CMakeLists.txt
2022-09-26 11:02:49 +05:30
nives-vukovic 7b8feec246 EXSWHTEC-16 - Implement hipEventSynchronize tests (#2904)
- Add hipEventSynchronize.cc file with positive unit tests: Simple recorded event synchronization and without event recording
- Add newly created file into CMakeLists.txt
2022-09-26 11:02:00 +05:30
ROCm CI Service Account 2e641ee60b SWDEV-339488 - Catch2 test for hipRTC include path (#2898)
* SWDEV-339488 - Catch2 test for hipRTC include path

Change-Id: I1f5502d1ea72ac4133f79207f2d60f86b934cf36
2022-09-26 07:39:45 +05:30
ROCm CI Service Account c5ba2bb196 SWDEV-350985 - Address hipIpcEventHandle test failure on MI200 (#2926)
Change-Id: Ie9a278caccbcc98bfa99968bc8ad974f83b2ee98
2022-09-26 07:39:26 +05:30
ROCm CI Service Account 7731299752 SWDEV-354045 - Update hipModuleLoad comments about releasing file and other resources. (#2927)
Change-Id: I88e5a37d3fd56b874eba19f73b0be0217caa58f8
2022-09-26 07:39:12 +05:30
ROCm CI Service Account dc386a0805 SWDEV-351055 - Enable hipMallocArray and hipArrayCreate happy cases, disabling a REQUIRE case (#2929)
Change-Id: Ie5eb423d1c1b9b32101c9a9fae4c372612839c4d
2022-09-26 07:38:59 +05:30
ROCm CI Service Account 2b09d94ea2 SWDEV-287351 - Fix hipStreamWithCUMask hang on Navi21 (#2939)
- For gfx >= 10, one work group processor encompasses 2 CUs & hence the CUs need to be enabled in pair

Change-Id: I359df1b221b4400b260b02201b7b0385054784f3
2022-09-23 12:37:42 +05:30
ROCm CI Service Account 8c8499be77 SWDEV-344309 - Enable some filter tests in Windows (#2944)
Enable tests that should work now

Change-Id: I903d7e73d7b5df94da72cb41f2bde9ab2eec653d
2022-09-23 12:37:25 +05:30
ROCm CI Service Account 9d03fdc13d SWDEV-340007 - Adding per-thread stream in HIP documents (#2945)
Change-Id: If675dbb8792549fb70ff4423782d618594526ac6
2022-09-23 12:37:10 +05:30
ROCm CI Service Account e8c5a72cff SWDEV-344342 - Add sample using hiprtc target (#2946)
Change-Id: Ie2a0b308862ac8db2e72a0170499139c7b46605b
2022-09-23 12:36:57 +05:30
ROCm CI Service Account cd0d73d3f1 SWDEV-306122 - [catch2][dtest] Tests for hipGraphExecChildGraphNodeSetParams API (#2948)
Added Negative and functional tests for hipGraphExecChildGraphNodeSetParams API

Change-Id: Ibe3ab74bc783a90daec153a8c74f039a2f977a71
2022-09-23 12:36:45 +05:30
ROCm CI Service Account cac4154ddf SWDEV-306122 - [catch2][dtest] Tests for hipGraphHostNodeGetParams API (#2949)
Added Negative and functional tests for hipGraphHostNodeGetParams API.

Change-Id: Ic9e841875673c10cea9a47f98cd47ff4995f888a
2022-09-23 12:35:27 +05:30
ROCm CI Service Account 411a00b232 SWDEV-312707 - Avoid Char[] memory corrption on high GPU systems by increasing array size. (#2954)
Change-Id: Ia743e87d4cbcc9ccaa9e782109114dd878ab8b0d
2022-09-23 12:35:04 +05:30
ROCm CI Service Account cd1e9a2775 SWDEV-351033 - Enable test - Unit_hipHostUnregister_* (#2897)
Change-Id: Ibcde7a127546941fe1fc65ce2250dfdd2b24d88c
2022-09-22 21:15:27 +05:30
ROCm CI Service Account 0aea7409f0 SWDEV-351282 - Enable test - Unit_hipArray3DCreate_Negative_NullDescPtr (#2896)
Change-Id: I162db667e0557e172638dc6c0dc6ea82ac7db564
2022-09-22 21:14:40 +05:30
ROCm CI Service Account 7d705d800a SWDEV-351192 - Enable test - Unit_hipMalloc3DArray_MaxTexture (#2892)
Change-Id: Ie10d63a8a39ac5aabd6eae078f0423375cd7d230
2022-09-22 21:14:13 +05:30
ROCm CI Service Account c74e0fc355 SWDEV-351225 - Enable test - Unit_hipArrayCreate_Nullptr (#2891)
Change-Id: Ib9d43e0285ec50fdbf3ae05ed0d107b27280bfb0
2022-09-22 21:13:44 +05:30
ROCm CI Service Account 446a4372bc SWDEV-351031 - Enable test - Unit_hipHostRegister_Flags (#2890)
Change-Id: I7048699272a40962b12619ffdf22cc17053400f2
2022-09-22 21:13:04 +05:30
ROCm CI Service Account 900ae2cc95 SWDEV-351285 - Enable test - Unit_hipMemGetInfo_Negative (#2869)
Change-Id: Ie3039eb458aedd276d85bc9e44f62e994c7be4c8
2022-09-22 21:12:28 +05:30
ROCm CI Service Account 201fe67e81 SWDEV-327563 - Enable fixed tests linux and windows v3 (#2943)
Change-Id: Ia5c47821268d7f31b70c473ef2a4785b6735a2f1
2022-09-21 11:59:06 -07:00
ROCm CI Service Account ece11e4ed3 SWDEV-351980 - Remove the ROCtracer private interface from the public header (#2931)
Change-Id: I03ee584873bc257f2bd8f18e92d94be50ee8a7a8

Co-authored-by: Laurent Morichetti <laurent.morichetti@amd.com>
2022-09-21 22:28:26 +05:30
ROCm CI Service Account 6e021f1adc SWDEV-356299 - Fix hipPeerToPeer_simple Tests (#2953)
- Add hipDeviceSynchronize after hipMemset with device memory, as hipMemset is asynchronous in this case

Change-Id: Ia55d106931984fed450be29c1b745c8069151f76
2022-09-21 14:17:35 +05:30
Satyanvesh Dittakavi 046a7a193e SWDEV-355959 - Remove the invalid test Unit_hipStreamPerThread_CoopLaunchMDev (#2952) 2022-09-21 14:16:46 +05:30
ROCm CI Service Account 1e97d5b9ab SWDEV-353686 - add default value for userobj (#2895)
Change-Id: I4cc993128f438fba156207fd4c4c9ce18380981b
2022-09-20 15:28:47 -07:00
ROCm CI Service Account 2e7d9a894d SWDEV-320512 - setup for enabling hipcc.bin by default (#2930)
Change-Id: I6436b79b370434abc1250da560462c6d3398529d
2022-09-20 12:18:46 -07:00
ROCm CI Service Account 8063538d99 SWDEV-351279 - Enable test (#2862)
Change-Id: Ia7f55de36f91a580f45e19a7c51f8e60f4aa59c6
2022-09-19 11:04:04 -07:00
Mirza Halilčević 0213870803 EXSWHTEC-5 - Implement additional test for hipSetDevice (#2874)
- Test functionality in multithreaded environment.

Signed-off-by: Dino Music <dino.music@htecgroup.com>
Co-authored-by: Mirza Halilcevic <mirza.halilcevic@htecgroup.com>
2022-09-19 21:56:03 +05:30
Mirza Halilčević 8d267b9a28 EXSWHTEC-5, EXSWHTEC-7 - Implement abstraction for multithreaded tests (#2887)
* Implement abstraction for multithreaded tests.

Signed-off-by: Dino Music <dino.music@htecgroup.com>
Co-authored-by: Mirza Halilcevic <mirza.halilcevic@htecgroup.com>
2022-09-19 20:54:45 +05:30
Mirza Halilčević 18fc4f4508 EXSWHTEC-11 - Implement tests for hipExtGetLinkTypeAndHopCount (#2878)
- Validate hop count and verify that the API is commutative
- Negative parameter tests.

Signed-off-by: Dino Music <dino.music@htecgroup.com>
Co-authored-by: Mirza Halilcevic <mirza.halilcevic@htecgroup.com>
2022-09-19 11:28:35 +05:30
ROCm CI Service Account 7aebe1ab2d SWDEV-341744 - Accept error code hipErrorInvalidDevicePointer in hipTest (#2950)
When calling hipIpcOpenMemHandle with an unitialized handle, function can also return hipErrorInvalidDevicePointer

Change-Id: Ic55ea9c61edeb998870cf6a34f7c80123569fecb
2022-09-19 11:19:03 +05:30
ROCm CI Service Account 424f6425aa SWDEV-1 - Move sample 0 gitignore into root's (#2951)
The samples directory tree is installed as-is during packaging. To avoid this file from being installed, the sample gitignores should be combined with the existing file in the root of the git.

Signed-off-by: Jeremy Newton <Jeremy.Newton@amd.com>
Change-Id: I2ac30c8d0e42da9254b87cd45127503c70fc6b07
2022-09-19 11:17:54 +05:30
ROCm CI Service Account 8b5217d7a7 SWDEV-351200 - Enable test. (#2861)
Change-Id: I454013872eff7c5047b70860e1917e8e7ce6d482
2022-09-16 13:56:06 -07:00
ROCm CI Service Account 0b105a27b9 SWDEV-345020 - Enable test cases after fix. (#2833)
Change-Id: I7ac1352e2442638e7156b05429fc4feef3af8e3f
2022-09-16 11:25:30 -07:00
ROCm CI Service Account a47f421eb8 SWDEV-349490 - Add unit test of sRGB (#2940)
Add unit test of sRGB.
Update helper functions to accomodate uchar4 and float4.
Change-Id: Ib604cf603ab63b908130ef1c562c53d42328bacf
2022-09-15 21:04:57 -07:00
ROCm CI Service Account b5a13dd89e SWDEV-352036 - Move HIPRTC_ERROR_LINKING to the end of the enum. (#2900)
Change-Id: I0b847c3a82d988f4e7de21a2c2842081844b7a9f
2022-09-15 14:24:05 -07:00
ROCm CI Service Account 176e64898a SWDEV-340649 - Test case not valid anymore (#2928)
Change-Id: I87bf19a3f4fe9966b66fad10c7371d60c3e25469
2022-09-12 21:06:32 -07:00
nives-vukovic 758a6b863c EXSWHTEC-14 - Implement tests for hipEventCreateWithFlags (#2902)
- Add hipEventCreateWithFlags.cc with a simple positive unit test
- Divide Unit_hipEventCreate_NullCheck into two separate tests

Signed-off-by: Nives Vukovic <nives.vukovic@htecgroup.com>
2022-09-12 20:29:42 +05:30
ROCm CI Service Account 997f7aec04 SWDEV-353807 - Fix deviceLib tests build when build/execution node is same (#2933)
Change-Id: I4eccc4b6dce755cd49e8eff6df6393d2a8c552f5
2022-09-12 11:53:15 +05:30
ROCm CI Service Account 8da5c5016b SWDEV-346579 - MI2xx skip build/execution hipArrayCreate.cc/hipMallocArray.cc (#2917)
Change-Id: I3a39d541e8ac8b565cccc1b08403e0110edc471d
2022-09-07 13:10:20 -07:00
Maneesh Gupta 389ac90f69 Bump HIP version to 5.4 2022-09-06 13:29:56 +05:30
ROCm CI Service Account 87c69c5759 SWDEV-353807 - Fixes multiple catch issues (#2912)
- enforcing c++17 for all tests
- Warning as error: ignoring return value

Change-Id: I3d171540403f74222e631d1a8e393386461c9729
2022-08-30 16:53:21 -07:00
ROCm CI Service Account 56e2ee539f SWDEV-353807 - deviceLib test when build/execution nodes are different (#2905)
Change-Id: I9dd831bbf87999cb3ea65c91b7e86679198357d3
2022-08-30 12:27:28 -07:00
ROCm CI Service Account 14804c6dec SWDEV-340007 - Added a note on hipCreateTextureObject API (#2899)
Change-Id: I577563b098de71440554497ff1d160e411a0c5bf
2022-08-30 08:51:21 -07:00
agunashe f3a4ea77f2 SWDEV-327563 - skip intermittent tests (#2909)
Unit_hipStreamCreateWithPriority_ValidateWithEvents
Unit_hipStreamPerThread_StrmWaitEvt
2022-08-29 17:24:00 -07:00
ROCm CI Service Account 946d5d6ea8 SWDEV-345944 - Remove use of MINSIGSTKSZ. (#2857)
Change-Id: Ia0cdb2b48ea44ced325f3c442237420c8cee2312
2022-08-25 12:24:13 -07:00
ROCm CI Service Account b78d8c33a6 SWDEV-344135 - Enable stream ordered memory and mempool tests (#2837)
- Enable stream ordered memory and mempool tests for Nvidia platform
- Fix build errors

Change-Id: I90337e73d7b5df944a72cb41f2bde9ab2eec653c
2022-08-22 21:05:39 -07:00
agunashe 0df1b972e1 SWDEV-327563 - skip intermittent staging build failures (#2865) 2022-08-22 10:06:23 -07:00