Commit Graph

49 Commits

Author SHA1 Message Date
haoyuan2 74bfcf5f87 SWDEV-338427 - fix test hang issue (#2690)
destroy stream before exit
2022-05-23 21:52:42 -07:00
haoyuan2 1f7b336400 SWDEV-334272 - fix test hang issue (#2683)
destroy stream before exit
2022-05-20 08:13:17 -07:00
Maneesh Gupta 2ff115f72f Disable failing tests (#2685)
* Update config_amd_windows.json - Disable failing tests on windows for now
* Update hipMallocPitch.cc - Disable failing Unit_hipMallocPitch_Negative test
2022-05-18 20:01:59 +05:30
Maneesh Gupta 829cfc1a96 SWDEV-298757 - hipMemPrefetchAsync.cc Adding tests for hipMemPrefetchAsync() api (#2679)
Change-Id: Icadd93e62276b660ed0fd9a864e6985a7b03798a
2022-05-17 19:54:28 +05:30
ROCm CI Service Account a9687f56ea SWDEV-298757 - Added multi thread scenarios for hipMallocManaged() api (#2544)
Change-Id: I97408994b74b580affbca1a3f4ce85a3e740b904
2022-05-17 19:52:22 +05:30
ROCm CI Service Account f1c2cda15a SWDEV-292714 - Tests for hipPointerGetAttribute/hipDrvPtrGetAttributes API (#2619)
Added Functional and Negative Scenarios for hipPointerGetAttribute and hipDrvPtrGetAttributes APIs

Change-Id: I5fe23cdb3148a8e69a4fbbad2e2596da1750a9d3
2022-05-17 16:00:33 +05:30
ROCm CI Service Account 252ef49fcb SWDEV-273550 - [catch2][dtest] Tests for hipDrvMemcpy3D/hipDrvMemcpy3DAsync API (#2617)
Added tests for hipDrvMemcpy3D/hipDrvMemcpy3DAsync API in CATCH2 framework

Change-Id: I75bb825f3b39a2c588e0f436e9bc2ea810f101d0
2022-05-17 15:02:37 +05:30
ROCm CI Service Account b49e8e9fdf SWDEV-228443 - Enhancing hip unit tests for Memory Allocation APIs (#2616)
Adding new testcases for hipMalloc3D,hipMalloc3DArray,
hipArrayCreate,hipMallocPitch and hipMallocArray APIs

Change-Id: Ia2cc8865d605272995aaf703dd26954d11ded2ea
2022-05-17 15:01:15 +05:30
ROCm CI Service Account fb25b090eb SWDEV-329590 - Addresses coherency test failures on Navi21 (#2652)
- Tests using HSA_XNACK=1 restricted to MI200
- Added checks to verify HMM and Pageable memory access attributes to avoid failures

Change-Id: Ic0b107264378ce0c4f0aab770c941ae2b57342c2
2022-05-17 11:31:19 +05:30
ROCm CI Service Account 0c53bda553 SWDEV-327563 - Windows: Enable most of the memory tests skipped before (#2643)
Change-Id: Ibdaf22d139f4d2772c152b2f4455676a7adbc6bd
2022-04-27 15:38:07 -07:00
ROCm CI Service Account bf99af9106 SWDEV-327563 - Windows: enable graph and memory build in catch2 (#2622)
Skip failing graph tests to ensure 100% pass percentage

Change-Id: I92e2f5daf32387d746097d2406b7ca991e1e1698
2022-04-11 10:48:12 -07:00
ROCm CI Service Account ab2225bd16 SWDEV-328109 - Fix Test failure in staging (#2581)
Change-Id: Ic79f54d468e3bb40667c14d76e4013285fb9f1bf
2022-04-01 05:47:34 +05:30
Satyanvesh Dittakavi aabcb6488e SWDEV-292714 - [catch2][dtest] Add unit test for hipPointerGetAttribute (#2485)
Change-Id: Ic7490596f4f1ee641d9af2861a18380c4bfccd69
2022-03-23 17:15:21 +05:30
ROCm CI Service Account d2a764dd1c 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
lthakur e108ed9cbf SWDEV-298757 - Moving Unit_hipMemPrefetchAsyncOneToAll into stress/memory directory (#2460) 2022-02-25 19:39:30 +05:30
meher-bhiutras 1396800bf9 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 12ea2c6597 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 b03d0dd219 SWDEV-314080 - Testing All hipMemsetxx() apis with hipStreamPerThread (#2494)
Change-Id: I452edb7d0047146b22500750bf529a59ab7f99d5
2022-02-24 18:58:38 +05:30
ROCm CI Service Account a13fafa05c SWDEV-314080 - Tested All hipMemcpy**() apis with hipStreamPerThread stream obj (#2496)
Change-Id: I8f429eb0cc3be2e4d62c76ccb8c1510c56a1e143
2022-02-24 18:58:04 +05:30
lthakur 460a07f338 SWDEV-298757 - Moved long running tests into stress category. (#2461) 2022-02-23 11:58:08 -08:00
lthakur cd23bb5709 SWDEV-298757 - hipMemRangeGetAttribute.cc Adding test cases for hipMemRangeGetAttribute() api (#2459) 2022-02-22 19:30:16 -08:00
Sarbojit2019 2551628cc0 SWDEV-310181 - Fix for memcpy3D test failure (#2455) 2022-01-11 13:50:49 +05:30
Maneesh Gupta e1e4e30ffe Add missing checks in hipMemCoherencyTst.cc (#2442)
Change-Id: I47f188345ec39ad216ee8dd92dc9d89d99ca2733
2022-01-06 16:23:09 +05:30
sumanthtg 2201b35f5e 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 3ccd6ec300 SWDEV-273235 - catch2 windows build (#2422)
Change-Id: I331c6c2525a65746e2d0799ec8dc2f608af1176a
2021-11-26 11:52:46 +05:30
agunashe f90c5d218c SWDEV-273235 - Linux: catch2 shared lib to executable (#2421)
Change-Id: I17101e39fd05eb35c087ebdf3cb005d428d9f206
2021-11-26 11:02:29 +05:30
lthakur 3fbea0cd5a SWDEV-293806 - Adding tests to check behvior related to fine and coarse grain (#2402)
Change-Id: Ia437adf138e6952ff42b6081c39da5bfaf931e53
2021-11-25 15:11:10 +05:30
Maneesh Gupta d8ea9afa66 Update hipMallocManaged.cc
* Fix integer and size_t comparisions.
* Split basic scenario into two - all devices and HMM enabled devices only.
2021-10-06 18:45:15 +05:30
Maneesh Gupta 19b7b746d0 Update hipMemPrefetchAsyncExtTsts.cc
Removed unused variables
2021-10-06 18:17:08 +05:30
lthakur 211b191be9 SWDEV-298757 - hipMallocManaged.cc Adding basic and rigorous scenarios related to hipMallocManaged() api. (#2379)
* SWDEV-298757 - Adding test case to test hipMemAdvise() on mmap() memory

Change-Id: Ib8d57d2249d0bb6780c9fdef21907568c22db66c
2021-10-06 17:37:26 +05:30
lthakur b86c5fb60e SWDEV-298757 - Adding test case to test hipMemAdvise() on mmap() memory (#2378)
Change-Id: Ib8d57d2249d0bb6780c9fdef21907568c22db66c
2021-10-06 17:33:26 +05:30
lthakur af8edb2a8f SWDEV-298757 - hipMemPrefetchAsyncExtTsts.cc - Adding more rigorous tests for hipMemPrefetchAsync() api (#2369)
Change-Id: I321c5c636b6961e9eeee901b98645690783a418b
2021-10-06 17:24:04 +05:30
Maneesh Gupta 424b01f968 [dtest] Remove unused variables in hipMemset2DAsyncMultiThreadAndKernel.cc 2021-09-30 13:17:15 +05:30
lthakur 01ed876b0a SWDEV-298757 - hipMallocManagedFlagsTst.cc Added tests to test flags of hipMallocManaged() api. (#2366)
Change-Id: I4294a4e5c3176c9ece8ed6b35cb83e4d1a3e4773
2021-09-24 16:29:39 +05:30
Maneesh Gupta b7193e19da Fix catch2 unit test build failure
Incorrect resolution of merge conflict resulted in not updating tests/catch/unit/memory/CMakeLists.txt correctly
2021-09-20 09:41:45 +05:30
sumanthtg d818f6920d SWDEV-292637 - [dtest] Catch2 unit and multiprocess tests for Memset3d,HostMalloc and MallocConcurrency tests (#2348)
Change-Id: I9025bc13735c1d9fb0f0811a9c9d6ad304adc134
2021-09-17 12:11:26 +05:30
sumanthtg e3996d3b92 SWDEV-294470 - [dtest] Catch2 unit tests for hipMemset2d, hipMemset2d Mthread, hipMemset3d files. (#2347)
Change-Id: Ia503f9dd12b8c576dee17c3fcbb018eeac305a7e

Co-authored-by: Maneesh Gupta <maneesh.gupta@amd.com>
2021-09-17 11:54:39 +05:30
sumanthtg 429d02b564 SWDEV-294470 - [dtest] Catch2 unit tests for memset related tests. (#2345)
Change-Id: Ib227e75cb0bef9273bc787e47fa5b713086fac46
2021-09-17 11:37:05 +05:30
dkrottap 4287af6a2f SWDEV-294643 - [catch2][dtest] Migration of Malloc related files to Catch2 (#2314)
Migrated malloc related files under memory folder into catch2 framework

Change-Id: I5aa07fc8148bdf6bef135947091aaf1d3c54663b
2021-08-19 10:29:07 +05:30
DURGESH KROTTAPALLI 18591bc68f SWDEV-292393 - [catch2][dtest] Tests for hipMemcpy related apis.
Migrated all hipMemcpy related APIs to CATCH2 framework by optmizing
the code and moving the stress related tests to stress folder.

Change-Id: Id47669b49304c35d1a68fabdaaf3f6e3ab0428a5
2021-07-31 00:48:43 +05:30
Rahul Garg c54d09a028 SWDEV-293742 - Update copyright year
Change-Id: I4248b2cebd3de056f9d5d417e0697da22fb964ef
2021-07-23 07:13:33 -04:00
DURGESH KROTTAPALLI f79a5a73fa SWDEV-292393 - [catch2][dtest] hipMemcpyAtoH and hipMemcpyHtoA APIs to catch2
Migrated functional and negative scenarios of
hipMemcpyAtoH and
hipMemcpyHtoA APIs to catch2 framework

Change-Id: I68bb37d99fc371b8803e64ebf1533c0870b14fab
2021-07-20 18:08:17 +05:30
DURGESH KROTTAPALLI 7b2d95eed1 SWDEV-292393 - [catch2][dtest] Tests for hipMemcpy2DFromArray and hipMemcpy2DFromArrayAsync apis.
Added functional and negative scenarios for hipMemcpy2DFromArray and
hipMemcpy2DFromArrayAsync APIs

Change-Id: I269499b1d538affd505d9f529e7516cb3aa17863
2021-07-16 16:03:00 -04:00
DURGESH KROTTAPALLI 2eece126e6 SWDEV-292393 - [catch2][dtest] hipMemcpy2D related dtests to catch2 framework
Migrated functional and negative scenarios of
hipMemcpy2D and
hipMemcpy2DAsync APIs to catch2 framework

Change-Id: I339f0914cc76fee194fff53dd9686b0c16d85af9
2021-07-14 00:04:27 +05:30
DURGESH KROTTAPALLI 4d4ac68418 SWDEV-292393 - [catch2][dtest] Tests for hipMemcpy3D and hipMemcpyParam2D APIs
Added functional and negative scenarios for
    hipMemcpy3D and
    hipMemcpyParam2D APIs in catch2 framework

Change-Id: I3473eb952c23aba6bc500d78ca93d52a9f7a5d6f
2021-07-13 12:22:43 -04:00
DURGESH KROTTAPALLI cc0a8fee55 SWDEV-292393 - [catch2][dtest] Tests for hipMemcpyPeer and hipMemcpyPeerAsync APIs.
Added functional and negative scenarios for
hipMemcpyPeer and
hipMemcpyPeerAsync APIs

Change-Id: Ibaee0d84cb616727dc5db057bb9422702670b686
2021-07-09 01:06:30 -04:00
DURGESH KROTTAPALLI 81f717774f SWDEV-292393 - [catch2][dtest] Tests for hipMemcpy2DToArray and hipMemcpy2DToArrayAsync apis.
Added functional and negative scenarios for hipMemcpy2DToArray and
hipMemcpy2DToArrayAsync APIs

Change-Id: I97331a587fb1d51583faeec998cdb4ac09bfa564
2021-07-08 04:22:43 -04:00
cjatin 068e1f5043 SWDEV-289409 - Add first batch of device tests, add new exe, helper functions and update test Guidelines
Change-Id: I71929caf44725ba2cab7a6f0224bc37b9d04bcbb
2021-06-23 00:51:50 -07:00
cjatin be6809d8d1 SWDEV-277697 - Adding Infra and dependent libs: Catch2 and json parser, for new HIP Testing framework
Change-Id: Iedfa041ec9acc13eeb631ff67e1677e2fe29463d
2021-05-19 00:47:00 -04:00