EXSWHTEC-282 - Implement Unit Tests for channel descriptor create function (#215)

- Implement basic test cases for channel descriptor API
- Fix indentation
- Refactor channel descriptor tests
- Extend the list of FormatNone types
- Implement unit test for 16-Bit Floating-Point channel descriptor
- Regroup vector types and basic types within test cases
- Add builtin types to the size/kind calculation
- Uncomment mistakenly commented tests
- Remove cout from channel_descriptor_common.hh
- Exclude 16-bit floating point tests from NVIDIA build due to the build error for hipCreateChannelDescHalf* functions
- Add doxygen comments and disable tests due to defects
- Fix errors in doxygen comments
- Rename group for channel descriptor
- Modify Copyright header comment
- Apply clang-format
- Use std::is_same_v<> instead of std::is_same<>::value to enhance readability
- Disable failed tests on external CI for PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/215
This commit is contained in:
milos-mozetic
2023-07-09 05:38:20 +02:00
committed by GitHub
parent ee95b284c3
commit 262dc3d072
10 changed files with 505 additions and 6 deletions
+2 -1
View File
@@ -2160,7 +2160,8 @@ PREDEFINED = TEMPLATE_TEST_CASE(x)=x() \
__linux__ \
HT_AMD \
HT_NVIDIA \
__HIP_PLATFORM_NVCC__
__HIP_PLATFORM_NVCC__ \
__GNUC__
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
# tag can be used to specify a list of macro names that should be expanded. The