Skip to content
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-224 - Test cases ID clean up and documentation for Memory Management, Vulkan Interop Memory Management and Peer-to-Peer access #97

Open
wants to merge 106 commits into
base: develop
Choose a base branch
from

Conversation

milos-mozetic
Copy link
Contributor

@milos-mozetic milos-mozetic commented Dec 28, 2022

Added Doxygen comments for all Test Cases regarding all Memory Management APIs. They will not be listed to have more clear description.
Added Doxygen comments for all Test Cases regarding Vulkan Interop APIs:

  • hipExternalMemoryGetMappedBuffer
  • hipImportExternalMemory
  • hipDestroyExternalMemory
  • hipSignalExternalSemaphoresAsync
  • hipWaitExternalSemaphoresAsync
  • hipImportExternalSemaphore
  • hipDestroyExternalSemaphore

Added Doxygen comments for all Test Cases regarding Peer-to-Peer access APIs:

  • hipDeviceCanAccessPeer
  • hipDeviceEnablePeerAccess
  • hipDeviceDisablePeerAccess
  • hipMemGetAddressRange
  • hipMemcpyPeer
  • hipMemcpyPeerAsync

The goal is to generate HTML pages for Test Plan based on the state of tests source code.
Depends on:

gargrahul and others added 30 commits October 26, 2022 03:59
Change-Id: I66f0c09e9c7405ec7430b1883e0e89542fdb87a0
Change-Id: I212b82b1b3a78a368b85ea64e338371a34b405f9
Change-Id: Ib455f72b5be77e1a81137d15c07ea41161b16a3e
… definitions

Customized Doxygen configuration named DoxyfileTests is added, as well as separate header file
used for definition of test groups.
Change-Id: Ief96e274f4143e80ceb3e40f04d38ae217777583
Change-Id: I9c03cde09b42c8e3726153c2a177359efc8d6d29
- Basic positive tests
- Negative parameter tests
…Advise

- Basic positive tests
- Negative parameter tests
- Basic positive tests
- Negative parameter tests
- Basic positive tests
- Negative parameter tests
- Basic positive tests
- Negative parameter tests
…or the Vulkan API

- Basic positive test
- Negative parameter tests
… 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
…troyExternalMemory for the Vulkan API

- Basic positive tests
- Negative parameter tests
…or the Vulkan API

- Basic positive tests
- Negative parameter tests
… the Vulkan API

- Basic positive tests
- Negative parameter tests
…DestroyExternalSemaphore for the Vulkan API

- Basic positive test
- Negative parameter tests
- 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
- Implement tests for hipMemcpy2DFromArrayAsync using resource guards and templates
- Implement tests for hipMemcpy2DToArrayAsync using resource guards and templates
…tAddressRange tests

- Reimplement and expand hipMemcpyPeer/hipMemcpyPeerAsync tests using resource guards
- Implement positive and negative test for hipMemGetAddressRange
- Implement positive and negative tests for hipMallocMipmappedArray based on existing hipMalloc3DArray tests
- Implement positive and negative tests for hipFreeMipmappedArray based on existing hipFreeArray tests
- Memory leak fix in Unit_hipMalloc3D_Basic
…lcevic/hip-tests into doxygen_memory_management_documentation
…lcevic/hip-tests into doxygen_memory_management_documentation
…ests into doxygen_memory_management_documentation
…hip-tests into doxygen_memory_management_documentation
…ests into doxygen_memory_management_documentation
…p-tests into doxygen_memory_management_documentation
…c/hip-tests into doxygen_memory_management_documentation
…irza-halilcevic/hip-tests into doxygen_memory_management_documentation
…za-halilcevic/hip-tests into doxygen_memory_management_documentation
…irza-halilcevic/hip-tests into doxygen_memory_management_documentation
…a-halilcevic/hip-tests into doxygen_memory_management_documentation
…mirza-halilcevic/hip-tests into doxygen_memory_management_documentation
…-tests into doxygen_memory_management_documentation
@rorake
Copy link
Contributor

rorake commented Jun 21, 2023

@milos-mozetic
Will you please resolve the merge conflicts for this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants