Gráfico de commits

80 Commits

Autor SHA1 Mensaje Fecha
Nives Vukovic 10594ecb3a EXSWHTEC-76 - Implement additional tests for Malloc/Free API (#49)
Change-Id: I9e2fd348e8c1d2bf63f82b90898863006ba90b62
2024-02-15 19:41:22 +05:30
Nives Vukovic dbc1a9d073 EXSWHTEC-36 - Implement tests for basic hipMemPool APIs (#437)
Change-Id: Ice34feae7675699b04153d6fc3e10297428018b5
2024-02-15 19:39:31 +05:30
Nives Vukovic 7ffbf7f76b EXSWHTEC-364 - Implement tests for hipMemPoolSetGetAccess and hipMemPoolSetGetAttribute APIs (#435)
Change-Id: I9a9bd22f99e2be60608d50fe649e92b3b267f655
2024-02-15 18:45:24 +05:30
SrinivasaRao 22fe5b7803 SWDEV-396087 - [catch2][dtest] Functional test cases for the API hipArrayGetDescriptor
Change-Id: Ia400b7ce9a6eeb6f008cab13100fd10a86c5127f
2024-01-04 09:44:00 -05:00
Rupam Chetia de348d8b35 SWDEV-322620 - [catch2][dtest] Adding test for VMM APIs
Change-Id: Ia4dea28601b3c2f0163012a7a2ceb14d3a0c369b
2023-12-16 07:28:16 -05:00
taosang2 f425bee1dc SWDEV-313387 - Port CTS SVM atomic tests to Hip
Change-Id: I32c9bed860ddf4fe1d7bba21dce9bd728168c398
2023-11-17 12:47:49 -05:00
Satyanvesh Dittakavi 2d17c32468 SWDEV-427345 - Address catch test failures
Change-Id: Ie3abbb50e1a2d0563c63c7fbb2bf7f341ac3aaa6
2023-11-06 09:05:08 -05:00
Jatin Chaudhary 905b943769 SWDEV-425943 - skip certain tests for gfx90a+
Change-Id: I055182144d5a5e470e5cca81306f7d7c838792d9
2023-11-02 05:39:45 -04:00
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
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
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
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 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
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
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
music-dino 6c54bd9e37 EXSWHTEC-68 - Implement tests for hipMalloc and hipExtMallocWithFlags (#19)
- Basic positive tests
- Negative parameter tests
2023-01-17 17:24:41 +05:30
music-dino f5eb0da5c1 EXSWHTEC-74 - Implement tests for hipMemcpy and derivatives (#15)
- Basic positive tests
- Negative parameter tests
2023-01-17 12:25:43 +05:30
Maneesh Gupta b1026e1162 Remove hipGetSymbolSizeAddress.cc from AMD compilation temporarily 2022-12-02 12:41:06 +05:30
music-dino bcdb3a7ece EXSWHTEC-81 - Implement tests for hipGetSymbolAddress and hipGetSymbolSize (#3002)
- Implement negative tests for hipGetSymbolAddress
- Implement negative tests for hipGetSymbolSize
- Reimplement positive test for both apis
- Expand positive test with memcpy to and from symbol
- Disable test sections that cause a segfault in CUDA
2022-11-30 17:28:13 +05:30
ROCm CI Service Account 6d589ce854 SWDEV-298757 - hipMemRangeGetAttributes.cc Adding test cases based on hipMemRangeGetAttributes() api (#3024)
Change-Id: Ife2b062d6fe45bbf7bd365d0571009b5d77d5135
2022-10-27 20:22:40 +05:30
music-dino 77bc96131b EXSWHTEC-94 - Implement helper classes and functions for memory tests (#2978)
- Implement helper classes and functions for memory tests
- Remove c++14 standard constraint on memory tests
- Remove GenerateLinearAllocationFlagCombinations until finished
2022-10-12 08:30:51 +05:30
ROCm CI Service Account 53480a3127 SWDEV-344135 - Enable stream ordered memory and mempool tests (#2837)
- Enable stream ordered memory and mempool tests for Nvidia platform
- Fix build errors

Change-Id: I90337e73d7b5df944a72cb41f2bde9ab2eec653c
2022-08-22 21:05:39 -07:00
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
Anton Mitkov 871c75e8f0 EXSWCPHIPT-118 - Added testing for hipMemset Synchronous behavoiour. (#2750) 2022-08-04 10:35:21 +05:30
Anton Mitkov fe29d3489c Added testing for hipMemGetInfo (#2682) 2022-07-28 15:45:42 +05:30
Finlay 646eaa43ea EXSWCPHIPT-113 - Unit tests for hipArray3DCreate for default and surface arrays (#2714) 2022-07-11 16:11:32 +05:30
Dylan Angus 47147be9b3 EXSWCPHIPT-76 - Adding hipMemset functional tests (#2669) 2022-07-11 12:18:43 +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 e33d74832d SWDEV-336547 - SWDEV-336548 - SWDEV-336549 - Add test cases for hipArray (#2759)
Change-Id: I125b6c50cb6fa3ec5b2e06c4f491d759334a867d
2022-06-28 11:12:45 -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
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
Fábio b64d0cff29 hipMemset Negative Testing (#2639) 2022-05-25 19:07:20 +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