Commit Graph

14 Commits

Author SHA1 Message Date
Saleel Kudchadker d8f5c2560f SWDEV-515407 - Fix incorrect test behavior
- For H2D transfer cases, we cannot enfore ErrorNotReady behavior if the
  source is unpinned. In that case the driver can sync depending on if
it pins or stages the source buffer.

Change-Id: I436a4b667bff172cfbadc58631a46a215c40fcb1
2025-02-26 11:39:34 -05:00
Rambabu Swargam c90d83366f SWDEV-491363 - [catch2][dtest] Add and Enable tests for Graph APIs
Details :
1) Add tests for hipDrvGraphExecMemsetNodeSetParams
2) Enable commented tests for hipDrvGraphMemcpyNodeSetParams

Change-Id: Ia4771e1dea022b5f4316b66c0bd585f0f941ab77
2025-01-21 12:59:03 -05:00
Marko Arandjelovic 9cffda4ebb SWDEV-485763 - Fix memory leaks in various unit tests
Fix memory leaks by adding missing destroy calls for
events, streams, and graphs at the end of tests.

Ensure that every test case executes destroy calls,
regardless of whether it passes or fails.

Change-Id: I814e35c528d90ed2abb34d77377f1a7fd3f1f11c
2024-12-10 10:25:08 -05:00
Li, Todd tiantuo 9e30678987 SWDEV-472357 - fix 1D, 2D and 3D memCpy tests
on sync, stream and setDevice

Change-Id: I19bdb907977338cac67c1e3f6f01cda6f2b97ec6
2024-11-04 11:12:52 -05:00
Rakesh Roy 57bc68acb1 SWDEV-1 - Merge github PRs to amd-staging
Change-Id: I2944a63ddc2eec8dc1403d9790ffffbaec343385
2024-03-06 00:12:20 +05:30
Nives Vukovic 63c93f95a8 EXSWHTEC-371 - Implement tests for the hipDrvGraphAddMemsetNode API #447
Change-Id: I981e14f34b008054d46e61ebae0099792df446b1
2024-02-27 12:30:54 +05:30
Nives Vukovic 6f9f5c07fe EXSWHTEC-370 - Implement tests for the hipDrvGraph*MemcpyNode APIs #446
Change-Id: I956dc06157324e9d6971348a70b600c4a9105538
2024-02-27 12:29:28 +05:30
Mirza Halilčević cefbaed5cf EXSWHTEC-217 - Implement new and update existing tests for the hipGraph*MemcpyNode family of APIs #48
Change-Id: Iae7ac9c855ba6e3288257e99e49f8b16cebb1bac
2024-02-19 22:58:36 +05:30
Jaydeep Patel cd6796db58 SWDEV-411680 - Create stream after device is set.
Change-Id: I3eec0b6855ff9377fdd5bc34128cac9e4af9ec7f
2023-12-08 10:23:46 -05: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
ROCm CI Service Account fced17ddce SWDEV-411680 - Skip if p2p access is not supported. (#377)
Change-Id: Ib4d49f9cfc92ea05d799b4a7d5e688fe8790c77e
2023-08-14 21:26:31 +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
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