Commit Graph

39 Commits

Author SHA1 Message Date
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
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
agunashe d154b4cd6b SWDEV-344154 - infrastructure to skip tests for different archs (#2850)
Change-Id: Id3bda440c4cd920ce18c14d06e2f2c6ab6346de3
2022-08-17 17:10:52 -07:00
ROCm CI Service Account 768f186d69 SWDEV-348686 - Add extension on windows platform for executable path. (#2845)
Change-Id: Id7a9b6ec49e8f210b0a74b5f5fd68d584f005b4e
2022-08-05 12:19:24 +05:30
Anton Mitkov 0414111433 EXSWCPHIPT-118 - Added testing for hipMemset Synchronous behavoiour. (#2750) 2022-08-04 10:35:21 +05:30
Dylan Angus 1873df7bdd 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
ROCm CI Service Account 36fbc75794 SWDEV-329789 - ported MultiThread Test to catch2 (#2800)
Change-Id: Ic23244ed150c7e35188e30eee70e58438472bd45
2022-07-19 20:09:07 +05:30
ROCm CI Service Account 978b02c52f SWDEV-306122 - [catch2][dtest] API hipGraphKernelNodeGetParams, hipGraphKernelNodeSetParams, hipGraphExecKernelNodeSetParams. (#2802)
Change-Id: Ie5eb8949f589ac7ac5eb0f02e99f2012d9c0b926
2022-07-19 19:27:29 +05:30
ROCm CI Service Account f3c171c984 SWDEV-333188 - Port image tests to catch2 (#2793)
- Port image tests to catch2.
- Disable 3D filter test for gfx9a.
- Some other improvement
- Temporarily disable linear filter tests on Windows

Change-Id: Ieeddac9f8c50aa9b6b12ca9d8fd792a51973b8ca
2022-07-19 19:26:56 +05:30
Jatin Chaudhary 9595654ddf EXSWCPHIPT-125 - Add tests for hipGetDeviceCount and restructure some SpawnProc tests (#2765) 2022-07-11 15:02:51 +05:30
Dylan Angus 02747bcdb1 EXSWCPHIPT-77 - Extending tests for hipHostRegister (#2609) 2022-07-11 12:18:19 +05:30
Fábio d46d399976 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
Jatin Chaudhary 5afcd13390 Add HIP_CHECK_THREAD and REQUIRE_THREAD macro for multi threaded HIP API tests (#2664) 2022-06-20 15:07:13 +05:30
ROCm CI Service Account 3a84eb3a5f SWDEV-306122 - [catch2][dtest] Adding following tests for hipGraphEventWaitNodeSetEvent() (#2590)
- Functional Tests
- Negative Tests

Change-Id: I2421c3def1a7c6865dca29bde7e741948e67345d
2022-06-16 17:09:11 -07:00
Fábio 604de0f817 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
Jatin Chaudhary fbdda38cf7 Add missing tests for hipHostMalloc (#2566) 2022-06-10 21:16:23 +05:30
Finlay d2e351a7dc hipMallocArray tests for default array and surface load store (#2675) 2022-05-25 16:13:18 +05:30
Finlay 64a20a5bb5 Updated negative tests for hipStreamGetPriority (#2517) 2022-05-25 11:50:59 +05:30
ROCm CI Service Account 7442b14ab8 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 643f8dbd36 SWDEV-305992 - Improve texture tests (#2646)
Enable more texture supports for hip-rocclr.
Skip texture tests on device that doesn't support images.
SWDEV-322257 - Fix issues of image tests skipped on
NVidia devices.

Change-Id: Ia99d06b1e97fc945f1b740e47710f4dcd70f38ca
2022-05-09 08:46:20 -07:00
ROCm CI Service Account d9b40f34a4 SWDEV-293806 - Added tests for AtomicAdd with and without unsafeAtomics flag (#2603)
Added tests for AtomicAdd API for coherent/non-coherent memory with and without unsafeAtomics flags

Change-Id: I1937d7e936ac062b8d93feb59a50a6dd8ae9feca
2022-03-31 10:35:00 +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
agunashe 0d361c5621 SWDEV-273235 - catch2 windows build (#2422)
Change-Id: I331c6c2525a65746e2d0799ec8dc2f608af1176a
2021-11-26 11:52:46 +05:30
agunashe 6c24531156 SWDEV-273235 - Linux: catch2 shared lib to executable (#2421)
Change-Id: I17101e39fd05eb35c087ebdf3cb005d428d9f206
2021-11-26 11:02:29 +05:30
Jatin Chaudhary 44e844d19d SWDEV-289409 - Add Infra for process isolation (#2374)
Change-Id: Iada6e5cfd38e2ba6efa14d7328e56f2260a72931
2021-10-06 17:26:52 +05:30
Maneesh Gupta 61ae7884a4 Revert "SWDEV-289405 - [catch2][dtest][module] Migration of Module files to CATCH2 framework (#2351)" (#2354)
This reverts commit 8763c8c2ad.
2021-09-20 10:47:52 +05:30
sumanthtg 8c0558c448 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 b537d94974 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
dkrottap 8763c8c2ad SWDEV-289405 - [catch2][dtest][module] Migration of Module files to CATCH2 framework (#2351)
Migrated all module related files to CATCH2 framework and optimized to
have single module kernel file

Change-Id: I39aa28ef22c1b2f4d0014ca32b59b9c645b725dc
2021-09-17 11:39:36 +05:30
DURGESH KROTTAPALLI 346a77b4c0 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
Satyanvesh Dittakavi 5816d20752 SWDEV-289401 - Catch2 tests for hip event APIs
Change-Id: I7c28f842282e07c21656fb92ddbb1a9ad32d752c
2021-07-30 07:15:00 -04:00
Jatin Chaudhary 25f1caac8b SWDEV-289409 - Add hiprtc tests
Change-Id: Ib26527b704aed32ae3f3ed38bf6e2fd412462c8e
2021-07-22 00:34:53 -04:00
DURGESH KROTTAPALLI edb1a96cdb 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
agunashe d529637fbc SWDEV-293742 - Update copyright end year
Change-Id: I2cb7bbd9a6d9da28116ba9dd9cec4e60525444e2
2021-07-07 12:57:23 -04:00
Sarbojit Sarkar c74bff1d2f SWDEV-291783 - Catch2 tests for some of Stream APIs
Change-Id: I656fc59184863ef142cf89d7541982492f6b8484
2021-07-01 01:02:06 -04:00
cjatin 456af4ea39 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 d8ca73da6a SWDEV-277697 - Fix ununsed variable error with -Werror,-Wunused-parameter
Change-Id: Iadd0050e6cf4e4858e1508c1f24f73732a1af443
2021-06-03 13:25:07 -04:00
Jatin Chaudhary c088ddbe7c SWDEV-277697 - [CatchTest] Fix Documentation, Add test to AMD specific, Add HIP Macros, New Binary for multiproc tests
Change-Id: I3783caf85c694b724ed55b778220b8ef9a39f84b
2021-05-25 07:12:54 -04:00
cjatin 8084df7b49 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