HIP
HIP copied to clipboard
HIP: C++ Heterogeneous-Compute Interface for Portability
Implement negative and positive tests for the following functions: - hipMemPoolExportToShareableHandle - hipMemPoolImportFromShareableHandle - hipMemPoolExportPointer - hipMemPoolImportPointer Co-authored-by Nives Vukovic
- Negative parameter tests - Default return value test - Multithreaded test Depends-on: #2887
- Verify that memory stays mapped when reference count is non zero - Verify that memory stays mapped if handle is closed in a second process - Verify that attempting...
- Test synchronization when no work is enqueued on streams - Test synchronization on default stream.
- Add hipEventSynchronize.cc file with positive unit tests: Simple recorded event synchronization and without event recording - Add newly created file into CMakeLists.txt
- Basic test for behaviour validation - Multithreaded test similar to basic test.
The only mention of per-thread streams that I can find online is here: https://rocmdocs.amd.com/en/latest/Programming_Guides/HIP-FAQ.html where it says it's still under development but it does seem that there is an implementation...
Change-Id: Ia743e87d4cbcc9ccaa9e782109114dd878ab8b0d
Clang requires the HIP version information, passed either via a commandline argument or by reading it from the .hipVersion file (see `clang/lib/Driver/ToolChains/AMDGPU.cpp`). Since there is no FHS compliant location for...
Added Negative and functional tests for hipGraphHostNodeGetParams API. Change-Id: Ic9e841875673c10cea9a47f98cd47ff4995f888a