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 Stream Management #87

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

Conversation

milos-mozetic
Copy link
Contributor

Added Doxygen comments for all Test Cases regarding the following Stream Management APIs:

  • hipStreamCreate
  • hipStreamCreateWithFlags
  • hipStreamCreateWithPriority
  • hipDeviceGetStreamPriorityRange
  • hipStreamDestroy
  • hipStreamQuery
  • hipStreamSynchronize
  • hipStreamWaitEvent
  • hipStreamGetFlags
  • hipStreamGetPriority
  • hipExtStreamCreateWithCUMask
  • hipExtStreamGetCUMask
  • hipStreamAddCallback

Added Doxygen comments for all Test Cases regarding the following Stream Memory Operations APIs:

  • hipStreamWaitValue32
  • hipStreamWaitValue64
  • hipStreamWriteValue32
  • hipStreamWriteValue64

Added Doxygen comments for all Test Cases regarding the following Ordered Memory Allocator APIs:

  • hipMallocAsync
  • hipFreeAsync
  • hipMemPoolTrimTo
  • hipMemPoolSetAttribute
  • hipMemPoolGetAttribute
  • hipMemPoolSetAccess
  • hipMemPoolGetAccess
  • hipMemPoolCreate
  • hipMemPoolDestroy
  • hipMallocFromPoolAsync
  • hipMemPoolExportToShareableHandle
  • hipMemPoolImportFromShareableHandle
  • hipMemPoolExportPointer
  • hipMemPoolImportPointer

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

gargrahul and others added 28 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.
Added negative tests for hipFreeAsync
 - nullptr check for pointer parameter
 - invalid stream handle for stream parameter
negative tests for hipMallocAsync:
 - nullptr for device pointer parameter
 - invalid stream for stream parameter
 - size required larger than size of available memoryr
 - invalid device pointer
 - invalid mempool handle
 - invalid stream handle
out of memory
Negative tests for:
 - hipMemPoolCreate
 - hipMemPoolDestroy
 - hipMemPoolTrimTo
Implement negative and positive tests for the following functions:
 - hipMemPoolExportToShareableHandle
 - hipMemPoolImportFromShareableHandle
 - hipMemPoolExportPointer
 - hipMemPoolImportPointer
Co-authored-by Nives Vukovic [email protected]
…o include #if and #ifdef sections in documentation
…ip-tests into basic_hipMemPool_negative_tests
…p-tests into doxygen_stream_management_documentation
…tests into doxygen_stream_management_documentation
…cevic/hip-tests into doxygen_stream_management_documentation
…lilcevic/hip-tests into doxygen_stream_management_documentation
…cevic/hip-tests into doxygen_stream_management_documentation
@rorake
Copy link
Contributor

rorake commented Jun 21, 2023

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

@rakesroy
Copy link
Contributor

rakesroy commented Jul 7, 2023

@milos-mozetic
Merge conflicts again occurred due to recent pushes to develop branch.
Will you please resolve them?

@milos-mozetic
Copy link
Contributor Author

@rakesroy: merge conflicts are resolved within f980098.

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.

8 participants