Commit Graph

1389 Commits

Author SHA1 Message Date
Satyanvesh Dittakavi 1389236aef SWDEV-292714 - [catch2][dtest] Add unit test for hipPointerGetAttribute (#2485)
Change-Id: Ic7490596f4f1ee641d9af2861a18380c4bfccd69
2022-03-23 17:15:21 +05:30
TomSang fe08dc841f SWDEV-314867 - Fix clang missing issue in cuda docker (#2446)
Cuda dockers doesn't contain clang. The dependence on clang
will fail catch2 building. Catch2 building actually doesn't
need clang. Remove clang dependence from catch2 cmake file.

Change-Id: I8fd76e99d27ce4f5769baffae0608dd1cf0f4188
2022-03-15 14:08:55 -07:00
ROCm CI Service Account 7859bfcde6 SWDEV-325480 - Adds unit and functional tests for coalesced_groups (#2538)
Change-Id: I147b4099e6793df5df3a6e252894d281fc338adb
2022-03-11 16:54:08 +05:30
ROCm CI Service Account 87eaccaf59 SWDEV-321872 - [catch2][dtest] Texture tests migrated to catch2 (#2536)
Change-Id: I4e29001812e2310680c6c24028667eb560194e87
2022-03-11 16:53:48 +05:30
ROCm CI Service Account 0095a5436d SWDEV-306122 - [catch2][dtest] Tests for hipGraphNodeGetType API (#2529)
Added negative and functional tests for hipGraphNodeGetType API

Change-Id: Ic33f0b36e2fd7bfb3a44cefea0075b1fcd59f989
2022-03-11 15:26:55 +05:30
ROCm CI Service Account d221fb6ebb SWDEV-325491 - hip build when rocm_agent_enumerator returns no devices (#2535)
Change-Id: I2fe58d1eaba82a3dab2472bd37a8ab26d105ac1c
2022-03-11 09:58:52 +05:30
agunashe 39f4e02ab5 SWDEV-1 - skip rtc test build on windows (#2534) 2022-03-11 09:58:28 +05:30
ROCm CI Service Account 17105259fe SWDEV-321511 - Enable device related disabled tests on Nvidia platform (#2518)
Change-Id: I95a62e9562a638cb3525862b9a5d2e640c10882c
2022-03-10 16:45:54 +05:30
ROCm CI Service Account 72af2f3299 SWDEV-323849 - Fix for dtests failures (#2539)
Change-Id: Iffd78656d7f67b11d3eb6d1e7859bb6168b68a57
2022-03-10 15:04:48 +05:30
ROCm CI Service Account b61eb2e79c SWDEV-323167 - Fix for test hang (#2541)
Change-Id: Ic038ceb2368839f67af65d213694820f881f4193
2022-03-10 15:04:01 +05:30
ROCm CI Service Account 8e2aee5dbe SWDEV-324081 - Fix for dtest (#2540)
Change-Id: I114cb00d0bf2f899f1f299891ccbd4c0bea29150
2022-03-10 15:03:29 +05:30
ROCm CI Service Account 6c74d44a1f SWDEV-323848 - Fix for p2p failed tests (#2537)
Added peer check for the p2p related testcases

Change-Id: I9131b284baf33bef18eceaa7ed462d733f91be92
2022-03-10 15:02:31 +05:30
Maneesh Gupta 69ef2e37a2 Add mising p2p checks in graph instantiate tests (#2525)
Change-Id: I37ed539ccb9fc487872807170dc62eddc598f1f6
2022-03-10 15:01:43 +05:30
agunashe 59a23a7441 SWDEV-1 - hip tests: Moving ctest file generation to execution phase (#2522)
Earlier ctest file creation was taking place during build time.
Due to cmake framework issue the file creation had issues,
which in turn failed the test build.
This change moves this logic to the execution phase
and gets rid of the unwanted dependency during build time

Change-Id: Ifbf7e325f1b15a8be12e76560a6d339bc76705ee
2022-02-28 09:26:33 -08:00
lthakur e92f44d0ac SWDEV-298757 - Moving Unit_hipMemPrefetchAsyncOneToAll into stress/memory directory (#2460) 2022-02-25 19:39:30 +05:30
meher-bhiutras 9ee204588b SWDEV-301952 - [catch2][dtest] Migration of Negative folder test files to Catch2 (#2463)
Migrated hipMemcpyFromSymbol/hipMemcpyToSymbol, hipMemcpyFromSymbolAsync/hipMemcpyToSymbolAsync files under Negative/memory folder into catch2 framework.

Change-Id: Id9e451fa7262193df3812bc0247e3957ae083c35
2022-02-25 19:39:13 +05:30
ROCm CI Service Account 806ed2ddd0 SWDEV-306122 - [catch2][dtest] Tests for hipGraphAddChildGraphNode API (#2491)
Added Negative and functional tests for hipGraphAddChildGraphNode API

Change-Id: I4dbd065b758c32f1b978017cc96d112b8066b5ff
2022-02-25 18:54:55 +05:30
ROCm CI Service Account 4ef049fb52 SWDEV-306122 - [catch2][dtest] hipGraphAddMemcpyNode1D API Negative test (#2492)
Change-Id: I6db16f031da0f150356aff132e21f9ecb5a1b852
2022-02-25 18:54:14 +05:30
ROCm CI Service Account 533d36368f SWDEV-306122 - [catch2][dtest] Tests for hipGraphHostNodeSetParams API (#2503)
Added Negative and functional tests for hipGraphHostNodeSetParams API

Change-Id: I5ec101a66b17c723a562c15d951832b65772dbbf
2022-02-25 18:53:36 +05:30
Sourabh U Betigeri 5eade5cfa1 SWDEV-294375 - Adding coalesced_groups HIP tests (#2489)
Change-Id: I000a402e32d6057bab11829af2b78931fcd67fb5
2022-02-25 16:26:20 +05:30
ROCm CI Service Account 4ecad956c9 SWDEV-306122 - [catch2][dtest] hipGraph tests for GetNodes/GetRootNodes (#2497)
Change-Id: I5e9fafd0802585b6b33c391d7281151010ffc1c3
2022-02-25 16:25:51 +05:30
sumanthtg 279e050a07 SWDEV-306122 - [catch2][dtest] hipGraph functional tests for GetNodes/GetRootNotes (#2441)
Change-Id: I9b31252ddb5259b2e7c2bc7502e0494a8041ed9e
2022-02-25 14:07:38 +05:30
ROCm CI Service Account f86a8da09e SWDEV-306122 - [catch2][dtest] Tests for hipGraphDestroyNode API (#2509)
Added negative and functional tests for hipGraphDestroyNode API

Change-Id: Ifc4183b94e8fd428c44f2bbc3016539f972b8069
2022-02-25 14:04:23 +05:30
ROCm CI Service Account e30b950817 SWDEV-316467 - tests to verify hipGraphMemcpyNodeSetParamsToSymbol negative scenarios (#2499)
Change-Id: I38c7fe6ea060ce8f4c2ffe3ddd6ef927da2e864a
2022-02-24 20:47:07 +05:30
ROCm CI Service Account 411110ebc9 SWDEV-306122 - [catch2][dtest] hipGraphExecMemsetNodeSetParams added Functional and Negative test scenario (#2500)
Change-Id: Ia6cc644e59985bdee8a7b5ebccf6ced711dcfc7b
2022-02-24 20:46:30 +05:30
ROCm CI Service Account 6c34fc554d SWDEV-306122 - [catch2][dtest] Tests for hipGraphAddMemcpyNodeToSymbol API (#2501)
Added Negative and functional tests for hipGraphAddMemcpyNodeToSymbol API

Change-Id: I2cae4de9977c8d2ecbdd6ec6868514cd6e1c6efd
2022-02-24 20:45:30 +05:30
ROCm CI Service Account 16edb6c7d2 SWDEV-306122 - [catch2][dtest] Tests for hipGraphExecHostNodeSetParams API (#2502)
Added Negative and functional tests for hipGraphExecHostNodeSetParams API

Change-Id: I56ae94cff564fc0888fa6f0398ecb913cf4b9eed
2022-02-24 20:44:54 +05:30
ROCm CI Service Account 11b71138cd SWDEV-306122 - [catch2][dtest] Tests for hipGraphNodeFindInClone API (#2504)
Added Negative and functional tests for hipGraphNodeFindInClone API

Change-Id: I62382f6e5fcb5c1ca62fca7326efb8e6fc0ab624
2022-02-24 20:44:23 +05:30
ROCm CI Service Account 97273320b1 SWDEV-306122 - [catch2][dtest] Tests for hipGraphChildGraphNodeGetGraph API (#2505)
Added Negative and functional tests for hipGraphChildGraphNodeGetGraph API

Change-Id: I93c905687b684448297bde203414f9e6cc1f454a
2022-02-24 20:43:51 +05:30
ROCm CI Service Account 1dca3b328f SWDEV-306122 - [catch2][dtest] Tests for hipGraphAddMemcpyNodeFromSymbol API (#2506)
Added Negative and functional tests for hipGraphAddMemcpyNodeFromSymbol API

Change-Id: Ic65045ca56ae8949efd7690e62f788ff888cd893
2022-02-24 20:43:14 +05:30
ROCm CI Service Account c10b08bc34 SWDEV-298757 - hipHmmOvrSubscriptionTst.cc adding HMM over subscription test (#2493)
Change-Id: I4728a329e673cbb94656a28b266cdcd046a07144
2022-02-24 18:59:00 +05:30
ROCm CI Service Account bdc8f76306 SWDEV-314080 - Testing All hipMemsetxx() apis with hipStreamPerThread (#2494)
Change-Id: I452edb7d0047146b22500750bf529a59ab7f99d5
2022-02-24 18:58:38 +05:30
ROCm CI Service Account d18b4b8848 SWDEV-314080 - Tested All hipMemcpy**() apis with hipStreamPerThread stream obj (#2496)
Change-Id: I8f429eb0cc3be2e4d62c76ccb8c1510c56a1e143
2022-02-24 18:58:04 +05:30
ROCm CI Service Account 7d8d41e45b SWDEV-306122 - [catch2][dtest] hipGraph tests for hipGraphAddMemcpyNode api (#2498)
Change-Id: I65088f4107158e320d54b5e54a47d4ad8ce5d85f
2022-02-24 18:57:27 +05:30
ROCm CI Service Account d305e34173 SWDEV-240806 - Added API hipLaunchHostFunc and updated graph test for host graph node (#2512)
Change-Id: Idf759064946e503a2b3cc2a38f1a7cb049012688
2022-02-24 18:56:56 +05:30
ROCm CI Service Account e21231649d SWDEV-306122 - [catch2][dtest] Tests for hipGraphAddHostNode API (#2507)
Added Negative and functional tests for hipGraphAddHostNode API

Change-Id: I7237cdf62daa492d94b1f67fcb9df8b2260d8052

Co-authored-by: DURGESH KROTTAPALLI <Durgesh.Krottapalli>
2022-02-24 16:54:07 +05:30
ROCm CI Service Account 11271fe362 SWDEV-306122 - [catch2][dtest] Tests for hipGraphInstantiateWithFlags API (#2508)
Added Negative and functional tests for hipGraphInstantiateWithFlags API

Change-Id: Ife82615f4aec3c5df90e4640a7cc4381709306d9

Co-authored-by: DURGESH KROTTAPALLI <Durgesh.Krottapalli@amd.com>
2022-02-24 16:41:35 +05:30
ROCm CI Service Account 302b0e8e12 SWDEV-306122 - [catch2][dtest] hipGraphClone API (#2510)
Added Negative, functional and multithreaded  tests for hipGraphClone API

Change-Id: I0733b469c1f1f0e897ed70c49b6ad3756a35f1b5
2022-02-24 16:40:14 +05:30
lthakur 6e696a028b SWDEV-298757 - Moved long running tests into stress category. (#2461) 2022-02-23 11:58:08 -08:00
lthakur 990f546b38 SWDEV-298757 - hipMemRangeGetAttribute.cc Adding test cases for hipMemRangeGetAttribute() api (#2459) 2022-02-22 19:30:16 -08:00
TomSang e05f98967e SWDEV-306947 - Add mode combination tests (#2447)
Address modes are valid for array rather than linear
memory. Comment out codes of address test for linear
memory.
Add tests of mode combination(address, linear and
normorlized coordinates) in 1D, 2D and 3D.

Change-Id: I9e7e97d9bf619743c311f68f51d5bf115fdd534d
2022-02-17 13:48:45 -08:00
agunashe ffe3f9cf81 SWDEV-273235 - hip change to build catch tests on Windows (#2472)
* SWDEV-273235 - hip change to build catch tests on Windows

Change-Id: I96de305694609c669cb81480f3572d987ce87d98

* SWDEV-1 - skip failing hipStreamPerThread_DeviceReset_1 test on Linux
2022-02-09 08:17:45 -08:00
TomSang c341658db1 SWDEV-315590 - Fix texture fetch issue (#2467)
Add
tests/catch/unit/texture/hipTextureObjFetchVector.cc

Change-Id: Ifed915c87573b789780b2180321ccb746845dafb
2022-01-31 19:53:09 -08:00
TomSang b253a4617b SWDEV-319221 - Fix c++/g++ build (#2464)
CentOS 7.5 has too old c++/g++/gcc(<version 5) in /usr/bin.
They cannot support __has_attribute, thus build failure will
happen.
Remove hardcoded /usr/bin path so that the target version will
be selected via PATH. For example in CentOS,
PATH=/opt/rh/devtoolset-7/root/usr/bin:$PATH, c++/g++/gcc will
be from /opt/rh/devtoolset-7/root/usr/bin.

Change-Id: Id77c54127eb0b9960e78897af75cfc3666d85689
2022-01-23 21:45:36 -08:00
Sarbojit2019 3fcc42d05e SWDEV-310181 - Fix for memcpy3D test failure (#2455) 2022-01-11 13:50:49 +05:30
Maneesh Gupta b09c16b062 Add missing checks in hipMemCoherencyTst.cc (#2442)
Change-Id: I47f188345ec39ad216ee8dd92dc9d89d99ca2733
2022-01-06 16:23:09 +05:30
Sarbojit2019 9de957d9df SWDEV-292547 - dtests for hipStreamPerThread (#2417) 2022-01-06 16:18:30 +05:30
Maneesh Gupta aee18eb20a SWDEV-316804 - Fix catch2 standalone build failure
project needs to be defined at the beginning of the cmake file.
2022-01-06 12:02:12 +05:30
sumanthtg 2734e94293 SWDEV-309676 - Fix for build failure due to new compiler flag -Wbitwise-instead-of-logical (#2443)
Change-Id: I55d230dbb409b93d17dcff2bd29b27100b586e17
2021-12-20 14:04:38 +05:30
agunashe eeaadda46e SWDEV-273235 - enabling catch2 config file and graph tests (#2437)
Change-Id: Ia9ce9e4b32aaca0986b86a237ff01a030e8da4d5
2021-12-16 10:11:13 +05:30