Граф коммитов

199 Коммитов

Автор SHA1 Сообщение Дата
sdashmiz bfa6d77ce5 SWDEV-371332 - [ABI Break]remove if def for cu/cuda memtype
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I0754ef8bc7c9384bab65599a41719de0fd71b415
2023-10-13 13:44:48 -04:00
Ioannis Assiouras c1815ffd1a SWDEV-422665,SWDEV-420913 - Fixed Unit_hipMemPrefetchAsync_NonPageSz
Change-Id: Ie453ced8eb246c54df754ca2d34ee2696d392c58
2023-10-12 12:11:19 -04:00
sdashmiz e161374c31 SWDEV-332969 - [ABI Break]remove hiparray from tests
- replace with hipArray_t

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Ie1dade58d868182309caf00bf65a86a8fed2cfa6
2023-10-12 12:09:20 -04:00
Jaydeep Patel f44b862cd9 SWDEV-413161/SWDEV-415848 - Prefetch is only for device memory.
Change-Id: Ie2d9cb907fbf7958dfd1b90a5b01a2722cb4e2a5
2023-10-12 11:53:09 -04:00
Rakesh Roy fe5206e50a SWDEV-425967, SWDEV-425968 - Revert "SWDEV-415029 - [ABI Break] Remove hcc symbols"
This reverts commit 403afae98f.

Reason for revert: This causes build failure in hipBLASLt & hipSPARSELt

Change-Id: Ifb1ee519971c6183eb53634d6d8901a9e94cc9cc
2023-10-09 06:31:52 -04:00
taosang2 403afae98f SWDEV-415029 - [ABI Break] Remove hcc symbols
Change-Id: Ic0082d3960aadbb7bc559141b6e84bd29a75b5cf
2023-09-28 12:36:05 -04:00
Jatin Chaudhary ee3c94faf2 SWDEV-411064 - check if image is supported before running image specific tests
Change-Id: I62b3f7489f2f33b4b4e02f42a46e66c8940f2277
2023-09-21 06:23:55 -04:00
Satyanvesh Dittakavi 7ee1b668fb Address texture related test issues with -Werror (#405) 2023-08-21 20:46:46 +05:30
ROCm CI Service Account 09861ff867 SWDEV-412666 - Re-enable lines of hipMemcpy3D test that was failing with previous version of llvm (#383)
Change-Id: I6834cd3c003a1b3c1d60dfc2f7d14657248d2ea9
2023-08-14 21:30:15 +05:30
ROCm CI Service Account 528764ec78 SWDEV-396085 - [catch2][dtest] Adding test cases for hipHostRegister() to test SVM feature (#324)
Change-Id: I72bb3d1cf3410180c98f4629fdad7497698849a2
2023-08-14 20:59:45 +05:30
ROCm CI Service Account 0b56a9d38c SWDEV-383372 - [catch2][dtest] Adding corner and stress tests for hipHostMalloc(). (#208)
Change-Id: I2308059e50a951a1e70de4f90fef9e2c76af21f1
2023-08-14 20:50:29 +05:30
ROCm CI Service Account 34976df246 SWDEV-385161 - Deprecate usage of env vars in HIP samples and tests (#363)
* SWDEV-385161 - Deprecate usage of env vars in HIP samples and tests env vars such as HIP_PATH, ROCM_PATH, HIP_COMPILER, HIP_RUNTIME, HSA_PATH etc are removed.

Change-Id: I280e20b291cfb14675846aae72d97fa5b3ad567d
2023-08-14 12:06:14 +05:30
ROCm CI Service Account b8fb6f88b9 SWDEV-409113,SWDEV-409114,SWDEV-409112,SWDEV-409111,SWDEV-409110,SWDEV-409109,SWDEV-409096,SWDEV-409105 - Remove strong assumptions on hipMemGetInfo reported memory. (#373)
Change-Id: I6751e20690b93a3db35d98e45d295e5465387c5a
2023-07-20 10:20:05 +05:30
ROCm CI Service Account 74c143392b SWDEV-409588 - hipMemsetDSync tests should not use the size as 1 while using D32/D16 APIs (#372)
Change-Id: I32c9bed860ddf4fe0d7bba21dce9bd720168c396
2023-07-20 10:18:30 +05:30
ROCm CI Service Account 04080c2e2e SWDEV-408958 - Use LaunchDelayKernel and modify it to use same kernel based on real time clock for gfx10 and gfx11. (#370)
Change-Id: Iea8a48e8cbfa1745c7d5535dc5820133a4104087
2023-07-20 10:16:56 +05:30
Maneesh Gupta c9190f77eb Remove Unit_HMM_OverSubscriptionTst from unit tests
Test migrated to stress test as part of #317.
2023-07-12 12:34:03 +05:30
ROCm CI Service Account 042234e0b2 SWDEV-403960 - [catch2][dtest] Enable xnack+ check condition (#364)
Change-Id: I9627d75d0d3258cf261c8e4bfe6c7c3c35c8f9c1
2023-07-11 11:37:23 -07:00
Jatin Chaudhary 2e029a8529 SWDEV-408621 - Memory tests are also getting the command-line too long error on windows. (#362)
Change-Id: Ieffd7c20630b3d1eab6124b3b00cb62926b7c058
2023-07-11 21:25:25 +05:30
Marko Veniger bf50c2d2d8 EXSWHTEC-20 - hipFreeAsync negative tests (#38)
- Added negative tests for hipFreeAsync
 - nullptr check for pointer parameter
 - invalid stream handle for stream parameter
 - Update config_nvidia_linux_common.json
2023-07-11 14:08:00 +05:30
Marko Veniger 6d62387c34 EXSWHTEC-19 - hipMallocAsync negative tests (#37)
- negative tests for hipMallocAsync:
 - nullptr for device pointer parameter
 - invalid stream for stream parameter
 - size required larger than size of available memoryr
 - Extend the PREDEFINED list to define all macro names to include #if and #ifdef sections in documentation
 - Resolve unresolved merge conflicts
2023-07-11 14:06:37 +05:30
music-dino 3f9c1dd5b3 EXSWHTEC-75 - Implement tests for hipMemcpyAsync and derivatives (#18)
- Basic positive tests
- Negative parameter tests
- Disable tests failing on CI
2023-07-11 09:28:26 +05:30
milos-mozetic 2f64855322 EXSWHTEC-100 - Miscellaneous modifications to existing memory tests (#96)
- Miscellaneous modifications to existing memory tests
- Update config_amd_linux_common.json
- Update config_amd_windows_common.json
- Disable tests which failed on external CI for PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/96
2023-07-08 20:51:34 +05:30
Ioannis Assiouras db596a7cb1 SWDEV 409754: Disable sections of memcpy3D tests that cause llvm errors. (#357)
* Update hipMemcpy3DAsync.cc

* Update hipMemcpy3D.cc

* Update hipMemcpy3DAsync.cc
2023-07-07 13:50:57 -07:00
ROCm CI Service Account 1ab7f46fda SWDEV-398980 - Fix Unit_hipMemcpyPeer_Positive_Synchronization_Behavior (#335)
Change-Id: I8ed51134a351f5303c10c9cfad8485e1493bec4d
2023-06-29 09:04:53 +05:30
ROCm CI Service Account 839f3f5f02 SWDEV-400119 - Added Unit_hipMemGetInfo_FreeLessThanTotal (#329)
Change-Id: Ia023d41ce4f941a03bccb8bf7dd59021e19d83b8
2023-06-29 08:59:50 +05:30
ROCm CI Service Account d33ccb3569 SWDEV-393910 - Port gfx940 changes to mainline. (#321)
Change-Id: I77e70bcb15fbd38b1c79c1f68b7e483b2b3e0daf
2023-06-29 08:57:51 +05:30
ROCm CI Service Account 8431248ca0 SWDEV-390849: Added new test cases for hipMemCpy with offset applied in src/dst pointers. (#263)
Change-Id: I252ac08a8deb1e6f213e56bc92ed7ef4579f67c9
2023-06-29 08:54:26 +05:30
Mirza Halilčević c695f1b146 EXSWHTEC-103 - Implement tests for hipDrvMemcpy3D APIs (#56)
- Implement basic behavior checks in all copy directions
- Implement synchronization behavior checks for expected behavior based on cuda docs
- Implement positive tests for zero sized width and/or height copies, where no copy is expected to happen
- Implement negative parameter tests
- Implement all of the above for hipDrvMemcpy3D and hipDrvMemcpy3DAsync.
- Disable failing tests on AMD.
- Fix copyright disclaimer.
- Add defect issue numbers.
2023-06-28 20:16:25 +05:30
Mirza Halilčević 113a36c0eb EXSWHTEC-98 - Implement tests for hipMemcpy3D APIs (#55)
- Implement tests for hipMemcpy3D APIs
- Implement basic behavior checks in all copy directions
- Implement synchronization behavior checks for expected behavior based on cuda docs
- Implement positive tests for zero sized width and/or height copies, where no copy is expected to happen
- Implement negative parameter tests
- Implement all of the above for hipMemcpy3D and hipMemcpy3DAsync.
- Disable failing tests on AMD.
- Fix copyright disclaimer.
2023-06-28 12:50:42 +05:30
ROCm CI Service Account 329a350ec0 SWDEV-389689 - Rework oversubscription test to use threads instead of process. Also consider system memory when oversubscribing (#317)
Change-Id: If063552e9e2815f07e944259237310f6fef37ad5
2023-06-28 12:47:48 +05:30
milos-mozetic 15c91808cc EXSWHTEC-224 - Test cases ID clean up and documentation for Device Memory Access (#88)
- Test cases ID clean up and documentation for Device Memory Access
- Added group for deprecated Context Management
2023-06-28 09:47:04 +05:30
ROCm CI Service Account 9a40c9a6da SWDEV-385838 - Don't run Unit_HMM_OverSubscriptionTst test on non xnack device. (#271)
Change-Id: I342affb0cd62ce8fab4b35d6c9e0f1b6fb75bee9
2023-06-21 15:59:58 +05:30
ROCm CI Service Account 6ce5d7457c SWDEV-387925 - Remove comparisons that are based on available memory returned from hipMemGetInfo (#262)
Change-Id: I3e4b539425482bbda578fd3127f118d47c611db3
2023-06-21 15:58:39 +05:30
ROCm CI Service Account 5a8fabd4e7 SWDEV-390281 - Pass correct vector size. (#221)
Change-Id: I485b6560ff2a2445970a7c6d720a9f8a9fa88164
2023-06-05 12:57:20 -07:00
ROCm CI Service Account c062ab6c59 SWDEV-375580 - rework the test to be more stable, move it to correct folder and fix some multi threaded access patterns (#211) 2023-04-21 16:44:33 +05:30
ROCm CI Service Account b95d567769 SWDEV-380405 - Correct test cases. (#165)
Change-Id: I55f2e2273a19643b14baeebc8a6f19331c20b09d
2023-03-01 20:35:51 +05:30
ROCm CI Service Account 1c4285f3df SWDEV-1 - Refactor of cmake files of stream and memory unit tests (#174)
Change-Id: Ie29641be95e7fb2a191f22e5d1e588d6943a430f
2023-02-27 15:55:24 -08:00
ROCm CI Service Account 0a8235e5c8 SWDEV-345188 - hip-tests size_t to unsigned long warning (#175)
Change-Id: Id315ba0de6900f714190a09ac09c977830360c72
2023-02-27 15:54:39 -08:00
Maneesh Gupta 88fbbd666b SWDEV-1 - Fix warnings and update disabled test list (#163)
- Fix warnings in some test cases due to unused variables or signed/unsigned comparison.
- Disabled vulkan tests on MI200.
2023-02-09 18:52:27 +05:30
ROCm CI Service Account 554ab5dc40 SWDEV-369555 - Update and enable hipMemAdvise test (#126)
Change-Id: If291514eeacef21dea99bc4b4a78bc98fb0bc1ca
2023-02-07 13:54:34 +05:30
ROCm CI Service Account f10981bbbc SWDEV-371332 - remove check for non device pointers (#145)
Change-Id: Ib7e83ab1bca8c61e3710cb9dd75d9f932159476a
2023-02-05 13:14:20 -08:00
music-dino cc0302dda3 EXSWHTEC-83 - Implement new and reimplement existing tests for hipMemAdvise (#16)
- Basic positive tests
- Negative parameter tests
2023-02-01 11:50:14 +05:30
ROCm CI Service Account a55ff53480 SWDEV-327563 - enable hipMemset skipped test cases (#135)
* SWDEV-327563 - enable hipMemset skipped test cases

Change-Id: I29393c9d690eb3777d7e9f0e599a87ead4a00482
2023-01-27 20:46:54 +05:30
Rahul Garg 961245e9f4 Catch2 standalone exe (#129)
* SWDEV-359379 - catch2: Standalone single exe per file

-workaround for rsp file issue.
-Creates single exe per file
-tests detection is still during execution time and NOT compile time

Change-Id: Iddfb83d57b2d767212f3d9307a276b7d572da6cd

* SWDEV-359379 - Update CMakeList

* Update Catch.cmake

* Temporarily disable failing tests
2023-01-19 14:09:14 -08:00
Maneesh Gupta 75bb521e18 Fix merge issues in memory unit tests (#123) 2023-01-17 21:54:27 +05:30
Mirza Halilčević 8ae538a341 EXSWHTEC-99 - Reimplement tests for hipStreamAttachMemAsync (#52)
- Negative parameter tests
- Validate basic behavior
- Validate the behavior when pageable memory access is supported
- Validate the behavior for hipMemAttachGlobal
- Validate the behavior for hipMemAttachHost
- Validate the behavior for hipMemAttachSingle
2023-01-17 17:28:57 +05:30
Mirza Halilčević 203b994230 EXSWHTEC-69 - Implement tests for hipMemRangeGetAttributes (#51)
- Negative parameter tests for hipMemRangeGetAttribute and hipMemRangeGetAttributes
- Validate the behavior of hipMemRangeGetAttribute for hipMemRangeAttributeReadMostly
- Validate the behavior of hipMemRangeGetAttribute for hipMemRangeAttributePreferredLocation
- Validate the behavior of hipMemRangeGetAttribute for hipMemRangeAttributeLastPrefetchLocation
- Validate the behavior of hipMemRangeGetAttribute for hipMemRangeAttributeAccessedBy
- Validate the behavior of hipMemRangeGetAttributes
2023-01-17 17:27:58 +05:30
nives-vukovic 647908ccb7 EXSWHTEC-72 - Implement hipMemcpyPeer/hipMemcpyPeerAsync and hipMemGetAddressRange tests (#34)
- Reimplement and expand hipMemcpyPeer/hipMemcpyPeerAsync tests using resource guards
- Implement positive and negative test for hipMemGetAddressRange
2023-01-17 17:26:45 +05:30
nives-vukovic 9d62df85a1 EXSWHTEC-91 - Implement tests for memcpy of 1D/2D hipArray (#32)
- Implement tests for hipMemcpyAtoH using resource guards and templates
- Implement tests for hipMemcpyHtoA using resource guards and templates
- Implement tests for hipMemcpy2DFromArray using resource guards and templates
- Implement tests for hipMemcpy2DToArray using resource guards and templates
2023-01-17 17:26:17 +05:30
nives-vukovic 818923bfbc EXSWHTEC-92 - Implement tests for async memcpy of 2D hipArray (#31)
- Implement tests for hipMemcpy2DFromArrayAsync using resource guards and templates
- Implement tests for hipMemcpy2DToArrayAsync using resource guards and templates
2023-01-17 17:25:54 +05:30