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:
@@ -46,6 +46,7 @@
|
||||
"Unit_hipGraphAddMemcpyNode1D_Negative_Basic",
|
||||
"intermittent issue: corrupted double-linked list",
|
||||
"Unit_hipGraphRetainUserObject_Functional_2",
|
||||
"Unit_ChannelDescriptor_Positive_16BitFloatingPoint",
|
||||
"intermittent issue: failure expected but sucess returned",
|
||||
"Unit_hipMemAdvise_NegtveTsts",
|
||||
"Note: Following four tests disabled due to defect - EXSWHTEC-203",
|
||||
@@ -98,6 +99,16 @@
|
||||
"Unit_hipStreamValue_Write - TestParams<uint32_t, PtrType::HostPtr>",
|
||||
"Unit_hipMemcpyParam2DAsync_multiDevice-StreamOnDiffDevice",
|
||||
"=== Below tests fail in external CI for PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/96 ===",
|
||||
"Unit_hipHostGetDevicePointer_Negative"
|
||||
"Unit_hipHostGetDevicePointer_Negative",
|
||||
"=== Below tests fail in external CI for PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/215 ===",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_1D - long",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_1D - unsigned long",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_1D - ulong1",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_1D - signed long",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_1D - long1",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_2D - ulong2",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_2D - long2",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_4D - ulong4",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_4D - long4"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -150,6 +150,7 @@
|
||||
"Unit_hipStreamQuery_WithFinishedWork",
|
||||
"Unit_hipLaunchHostFunc_Graph",
|
||||
"Unit_hipLaunchHostFunc_KernelHost",
|
||||
"Unit_ChannelDescriptor_Positive_16BitFloatingPoint",
|
||||
"Unit_hipStreamSetCaptureDependencies_Positive_Functional",
|
||||
"Note: Following four tests disabled due to defect - EXSWHTEC-203",
|
||||
"Unit_hipGraphAddMemsetNode_Positive_Basic - uint16_t",
|
||||
@@ -186,6 +187,18 @@
|
||||
"Note: UUID returned empty on some windows nodes",
|
||||
"Unit_hipDeviceGetUuid_Positive",
|
||||
"=== Below tests fail in external CI for PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/96 ===",
|
||||
"Unit_hipHostGetDevicePointer_Negative"
|
||||
"Unit_hipHostGetDevicePointer_Negative",
|
||||
"=== Below tests fail in external CI for PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/215 ===",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_1D - long",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_1D - unsigned long",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_1D - ulong1",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_1D - signed long",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_1D - long1",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_2D - ulong2",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_2D - long2",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_3D - ulong3",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_3D - long3",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_4D - ulong4",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_4D - long4"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -6,6 +6,18 @@
|
||||
"Unit_hipFuncSetAttribute_Positive_MaxDynamicSharedMemorySize_Not_Supported",
|
||||
"Unit_hipFuncSetAttribute_Positive_PreferredSharedMemoryCarveout_Not_Supported",
|
||||
"=== Below test fails in external CI for PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/85 ===",
|
||||
"Unit_hipFuncSetAttribute_Negative_Parameters"
|
||||
"Unit_hipFuncSetAttribute_Negative_Parameters",
|
||||
"=== Below test fails in external CI for PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/215 ===",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_1D - long",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_1D - unsigned long",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_1D - ulong1",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_1D - signed long",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_1D - long1",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_2D - ulong2",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_2D - long2",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_3D - ulong3",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_3D - long3",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_4D - ulong4",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_4D - long4"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -4,6 +4,18 @@
|
||||
"Unit_hipFuncSetCacheConfig_Negative_Not_Supported",
|
||||
"Unit_hipFuncSetSharedMemConfig_Negative_Not_Supported",
|
||||
"Unit_hipFuncSetAttribute_Positive_MaxDynamicSharedMemorySize_Not_Supported",
|
||||
"Unit_hipFuncSetAttribute_Positive_PreferredSharedMemoryCarveout_Not_Supported"
|
||||
"Unit_hipFuncSetAttribute_Positive_PreferredSharedMemoryCarveout_Not_Supported",
|
||||
"=== Below test fails in external CI for PR https://github.com/ROCm-Developer-Tools/hip-tests/pull/215 ===",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_1D - long",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_1D - unsigned long",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_1D - ulong1",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_1D - signed long",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_1D - long1",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_2D - ulong2",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_2D - long2",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_3D - ulong3",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_3D - long3",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_4D - ulong4",
|
||||
"Unit_ChannelDescriptor_Positive_Basic_4D - long4"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user