Commit Graph

91 Commits

Author SHA1 Message Date
ROCm CI Service Account 99e3b14ea4 SWDEV-298757 - hipMemAdvise.cc Adding test cases based on hipMemAdvise() api (#2843)
Change-Id: I04a580dc54b2f4ac7375b07a68a9343bbf007844
2022-08-05 15:12:24 +05:30
ROCm CI Service Account f10716f412 SWDEV-348718 - Use of GENERATE in thead function causes random failures with multithread condition. (#2842)
Change-Id: Ie6722abbf5aa9936b5e06002064f7f1109066af9
2022-08-05 12:19:12 +05:30
ROCm CI Service Account af20ae3a33 SWDEV-1 - Fixed Malloc test failures (#2847)
Change-Id: I27042e743dda78f34e5f6b0d548e7d507b4f0ba3
2022-08-05 08:56:44 +05:30
Anton Mitkov 871c75e8f0 EXSWCPHIPT-118 - Added testing for hipMemset Synchronous behavoiour. (#2750) 2022-08-04 10:35:21 +05:30
Fábio 2f26a24a5d EXSWCPHIPT-138: Update hipHostRegister flag testing (#2835) 2022-08-03 16:50:07 +05:30
ROCm CI Service Account 870c9c218a SWDEV-299940 - Needs to Fix Malloc tests (#2832)
Change-Id: I21739d88871b5813cf266a6be8eb05ecee487046
2022-07-29 16:31:04 +05:30
Dylan Angus 4b07ea6125 Extending hipMallocManaged tests (#2670)
* Extending hipMallocManaged tests

* Fixed compilation error

* Added tests skips for hipMallocManaged tests on devices that don't support managed memory

* Removed unused stream
2022-07-28 20:05:27 -07:00
Fábio 52f5514837 Fix bug with hipMemsetFunctional tests (#2828) 2022-07-28 15:23:45 -07:00
Finlay f79b6c5a55 EXSWCPHIPT-136 Texture Gather tests for hipMalloc3DArray and hipArray3DCreate (#2818) 2022-07-28 17:02:59 +05:30
Anton Mitkov fe29d3489c Added testing for hipMemGetInfo (#2682) 2022-07-28 15:45:42 +05:30
ROCm CI Service Account 6c17b7f77e SWDEV-344691 - hipMalloc3DArray fails if width is more than capacity. (#2819)
Change-Id: I3eeaa9ef2b3197b3e5c5f03ccc1ba069dfb64fb7
2022-07-26 12:14:26 +05:30
ROCm CI Service Account 1458912363 SWDEV-327563 - Enable fixed tests linux and windows (#2803)
Change-Id: Icad90d01f796a8a8cf57884b86ca1a5a2b50ec64
2022-07-19 19:28:17 +05:30
Finlay c856cfee36 EXSWCPHIPT-134 - Negative tests for hipMalloc3DArray and hipArray3DCreate (#2784) 2022-07-13 10:46:26 +05:30
agunashe eb7422c19f SWDEV-327563 - hipHostRegister fix - develop to staging (#2794) 2022-07-12 14:28:50 -07:00
Finlay 646eaa43ea EXSWCPHIPT-113 - Unit tests for hipArray3DCreate for default and surface arrays (#2714) 2022-07-11 16:11:32 +05:30
Anton Mitkov 28acc1421d EXSWCPHIPT-88 - [catch2] Testing for hipHostGetFlags API extention (#2691) 2022-07-11 14:42:18 +05:30
Finlay a230bd0f56 EXSWCPHIPT-112 - Unit test for hipMalloc3DArray for default and surface arrays (#2713) 2022-07-11 12:19:05 +05:30
Dylan Angus 47147be9b3 EXSWCPHIPT-76 - Adding hipMemset functional tests (#2669) 2022-07-11 12:18:43 +05:30
Dylan Angus eafb3a23ee EXSWCPHIPT-77 - Extending tests for hipHostRegister (#2609) 2022-07-11 12:18:19 +05:30
Maneesh Gupta 837a587da8 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
2022-07-08 17:49:53 +05:30
ROCm CI Service Account bf4dd1f83e SWDEV-322620 - Virtual Memory Management (#2772)
Adding simple VM test.

Change-Id: I68bb55c9439a8d0e77035833d19d72d2a21f0753
2022-07-08 13:36:27 +05:30
Finlay 833e9cdcef EXSWCPHIPT-91 - Added hipHostUnregister tests (#2579) 2022-07-01 15:11:35 +05:30
Fábio 79b8653128 EXSWCPHIPT-50 - Testing HipMalloc3D / HipMallocPitch / HipMemAllocPitch (#2613) 2022-07-01 14:24:17 +05:30
Finlay 5628a7c009 EXSWCPHIPT-95 - More comprehensive tests for hipArrayCreate (#2702) 2022-07-01 13:47:47 +05:30
ROCm CI Service Account ed9c22eee8 SWDEV-339742 - Check can access before set device to 1. (#2758)
Change-Id: I5b06f98b0061ee162488e288c3bfac09ff4f94cf
2022-06-28 13:36:26 -07:00
ROCm CI Service Account e33d74832d SWDEV-336547 - SWDEV-336548 - SWDEV-336549 - Add test cases for hipArray (#2759)
Change-Id: I125b6c50cb6fa3ec5b2e06c4f491d759334a867d
2022-06-28 11:12:45 -07:00
Fábio a0296bd614 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
2022-06-28 09:00:37 +05:30
ROCm CI Service Account 2da551c659 SWDEV-330661 - Add test for hipHostGetDevicePointer null check (#2745)
Change-Id: I19668385003a107e21f8484ef28e114b7c6d8a42
2022-06-16 21:05:56 -07:00
ROCm CI Service Account d31aca651d SWDEV-339657 - Update catch codes with correct coordinates (#2735)
Change-Id: I8ca78d770a742bf6c2abede494759caa923fcc19
2022-06-15 10:58:10 -07:00
ROCm CI Service Account ddb3b346d9 SWDEV-311271 - Add basic tests for memory pool (#2618)
Change-Id: Ib33fa0b867482c40c6d66fb699cdd462ff43eed6
2022-06-13 19:26:48 +05:30
Fábio f04fdbd0f7 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
2022-06-13 15:35:02 +05:30
Maneesh Gupta 96fe505311 Update hipHostMallocTests.cc
std::numeric_limits::max() conflicts with max() defined in windows headers. Wrap it in parenthesis to prevent macro expansion.
2022-06-13 08:23:17 +05:30
Jatin Chaudhary 8ef701ce15 Adding/Moving tests for hipMemcpy[From/To]Symbol[Async] (#2638) 2022-06-10 21:17:34 +05:30
Jatin Chaudhary f90501aa4a Add test for hipHostGetDevicePointer (#2611) 2022-06-10 21:16:54 +05:30
Jatin Chaudhary 8b291f071a Add missing tests for hipHostMalloc (#2566) 2022-06-10 21:16:23 +05:30
agunashe 377020155e SWDEV-327563 - Windows: fix memory tests build failure (#2716) 2022-06-06 10:01:34 -07:00
Finlay 3ee51fcf98 Added a test for texture gather with hipMallocArray (#2701)
* Added negative tests for hipMallocArray

* fix numeric limit test for nvidia

* Added a test for texture gather with hipMallocArray
2022-06-02 12:16:41 +05:30
Finlay 4900279ebe Added negative tests for hipMallocArray (#2699)
* Added negative tests for hipMallocArray

* fix numeric limit test for nvidia
2022-06-02 12:16:25 +05:30
Fábio b64d0cff29 hipMemset Negative Testing (#2639) 2022-05-25 19:07:20 +05:30
Finlay 205107aa3c hipMallocArray tests for default array and surface load store (#2675) 2022-05-25 16:13:18 +05:30
Jatin Chaudhary 574f65f03d Add tests for hipPointerGetAttributes (#2661) 2022-05-25 15:35:42 +05:30
Jatin Chaudhary 80e87eb23e Add/Improve hipMalloc Tests (#2607) 2022-05-25 14:04:07 +05:30
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