-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EXSWHTEC-97 - Implement tests for hipMemcpy2D APIs #53
EXSWHTEC-97 - Implement tests for hipMemcpy2D APIs #53
Conversation
mirza-halilcevic
commented
Dec 9, 2022
- 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 hipMemcpy2D and hipMemcpy2DAsync.
Change-Id: I66f0c09e9c7405ec7430b1883e0e89542fdb87a0
Change-Id: I212b82b1b3a78a368b85ea64e338371a34b405f9
Change-Id: Ib455f72b5be77e1a81137d15c07ea41161b16a3e
Change-Id: Ief96e274f4143e80ceb3e40f04d38ae217777583
Change-Id: I9c03cde09b42c8e3726153c2a177359efc8d6d29
… arrays - Add resource guards for 2D and 3D allocations - Add resource guards for arrays - Add utils for hadling pitched memory - Add hip_array_common.hh to gather type, size and format mapping
- 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 hipMemcpy2D and hipMemcpy2DAsync.
Memcpy2DHtoHSyncBehavior with malloc case is fixed and will be available in upcoming release. however We should use async version of API to get async behavior for DD. i.e. Memcpy2DDtoDSyncBehavior can be fixed through test case change. Currently tests use sync version of API for DD that can be changed to Async version. True, Which is perhaps not matching to cuda however we have decided to keep it as is. Please update test cases and let us know if there is any issue. Thanks |
Device to Device copy.
The test case is now updated. |
@mirza-halilcevic |
Change-Id: I674741e641b1ebd6adb5c60c05c2d8ade27510c6
PR has been merged into develop branch via commit c9e664b. |