SWDEV-446760 - add image check and skip failing tests
Change-Id: If4a135222ab755c23a4c0d00c29bea33744528a5
[ROCm/hip-tests commit: d0088ee34f]
Этот коммит содержится в:
коммит произвёл
Jatin Jaikishan Chaudhary
родитель
1994fc0e6d
Коммит
b60e8dca7c
@@ -334,6 +334,7 @@
|
||||
"Unit_hipDrvGetErrorString_Positive_Basic",
|
||||
"Unit_hipModuleLaunchKernel_Negative_Parameters",
|
||||
"Unit_hipModuleGetTexRef_Positive_Basic",
|
||||
"Unit_hipModuleGetTexRef_Negative_Parameters",
|
||||
"Unit_hipModuleLaunchCooperativeKernel_Negative_Parameters",
|
||||
"Unit_hipExtModuleLaunchKernel_Negative_Parameters",
|
||||
"Unit_hipLaunchKernel_Negative_Parameters",
|
||||
@@ -1451,6 +1452,8 @@
|
||||
"Unit_hipModuleLaunchCooperativeKernelMultiDevice_Positive_Basic",
|
||||
"Unit_hipModuleLaunchCooperativeKernelMultiDevice_Negative_Parameters",
|
||||
"Unit_hipModuleLaunchCooperativeKernelMultiDevice_Negative_MultiKernelSameDevice",
|
||||
"=== SWDEV-445928: This test failed in PSDB stress test on 09/02/2024 ===",
|
||||
"Unit_hipExtModuleLaunchKernel_Positive_Basic",
|
||||
#endif
|
||||
#if defined VEGA20
|
||||
"=== SWDEV-419112 Below tests fail in stress test on 29/08/23 ===",
|
||||
@@ -1610,8 +1613,6 @@
|
||||
"Unit_hipIpcOpenMemHandle_Negative_Open_In_Two_Contexts_Same_Device",
|
||||
"Unit_hipIpcCloseMemHandle_Positive_Reference_Counting",
|
||||
"Unit_hipStrmPerThrdDefault",
|
||||
"=== SWDEV-445928: This test failed in PSDB stress test on 09/02/2024 ===",
|
||||
"Unit_hipExtModuleLaunchKernel_Positive_Basic",
|
||||
"=== SWDEV-445961: These tests hang in PSDB stress test on 09/02/2024 ===",
|
||||
"Unit_hipGraphGetRootNodes_CapturedStream",
|
||||
"Unit_hipStreamAddCaptureDependencies_Positive_Functional",
|
||||
|
||||
@@ -77,6 +77,7 @@ static void RunBenchmark(size_t width, size_t height, hipMemcpyKind kind,
|
||||
*/
|
||||
TEST_CASE("Performance_hipMemcpy2DFromArray_DeviceToHost") {
|
||||
CHECK_IMAGE_SUPPORT
|
||||
|
||||
const auto width = GENERATE(4_KB, 8_KB, 16_KB);
|
||||
RunBenchmark(width, 32, hipMemcpyDeviceToHost);
|
||||
}
|
||||
@@ -98,6 +99,7 @@ TEST_CASE("Performance_hipMemcpy2DFromArray_DeviceToHost") {
|
||||
*/
|
||||
TEST_CASE("Performance_hipMemcpy2DFromArray_DeviceToDevice_DisablePeerAccess") {
|
||||
CHECK_IMAGE_SUPPORT
|
||||
|
||||
const auto width = GENERATE(4_KB, 8_KB, 16_KB);
|
||||
RunBenchmark(width, 32, hipMemcpyDeviceToDevice);
|
||||
}
|
||||
@@ -121,6 +123,7 @@ TEST_CASE("Performance_hipMemcpy2DFromArray_DeviceToDevice_DisablePeerAccess") {
|
||||
*/
|
||||
TEST_CASE("Performance_hipMemcpy2DFromArray_DeviceToDevice_EnablePeerAccess") {
|
||||
CHECK_IMAGE_SUPPORT
|
||||
|
||||
if (HipTest::getDeviceCount() < 2) {
|
||||
HipTest::HIP_SKIP_TEST("This test requires 2 GPUs. Skipping.");
|
||||
return;
|
||||
|
||||
@@ -83,6 +83,7 @@ static void RunBenchmark(size_t width, size_t height, hipMemcpyKind kind,
|
||||
*/
|
||||
TEST_CASE("Performance_hipMemcpy2DFromArrayAsync_DeviceToHost") {
|
||||
CHECK_IMAGE_SUPPORT
|
||||
|
||||
const auto width = GENERATE(4_KB, 8_KB, 16_KB);
|
||||
RunBenchmark(width, 32, hipMemcpyDeviceToHost);
|
||||
}
|
||||
@@ -104,6 +105,7 @@ TEST_CASE("Performance_hipMemcpy2DFromArrayAsync_DeviceToHost") {
|
||||
*/
|
||||
TEST_CASE("Performance_hipMemcpy2DFromArrayAsync_DeviceToDevice_DisablePeerAccess") {
|
||||
CHECK_IMAGE_SUPPORT
|
||||
|
||||
const auto width = GENERATE(4_KB, 8_KB, 16_KB);
|
||||
RunBenchmark(width, 32, hipMemcpyDeviceToDevice);
|
||||
}
|
||||
@@ -127,6 +129,7 @@ TEST_CASE("Performance_hipMemcpy2DFromArrayAsync_DeviceToDevice_DisablePeerAcces
|
||||
*/
|
||||
TEST_CASE("Performance_hipMemcpy2DFromArrayAsync_DeviceToDevice_EnablePeerAccess") {
|
||||
CHECK_IMAGE_SUPPORT
|
||||
|
||||
if (HipTest::getDeviceCount() < 2) {
|
||||
HipTest::HIP_SKIP_TEST("This test requires 2 GPUs. Skipping.");
|
||||
return;
|
||||
|
||||
@@ -77,6 +77,7 @@ static void RunBenchmark(size_t width, size_t height, hipMemcpyKind kind,
|
||||
*/
|
||||
TEST_CASE("Performance_hipMemcpy2DToArray_HostToDevice") {
|
||||
CHECK_IMAGE_SUPPORT
|
||||
|
||||
const auto width = GENERATE(4_KB, 8_KB, 16_KB);
|
||||
RunBenchmark(width, 32, hipMemcpyHostToDevice);
|
||||
}
|
||||
@@ -98,6 +99,7 @@ TEST_CASE("Performance_hipMemcpy2DToArray_HostToDevice") {
|
||||
*/
|
||||
TEST_CASE("Performance_hipMemcpy2DToArray_DeviceToDevice_DisablePeerAccess") {
|
||||
CHECK_IMAGE_SUPPORT
|
||||
|
||||
const auto width = GENERATE(4_KB, 8_KB, 16_KB);
|
||||
RunBenchmark(width, 32, hipMemcpyDeviceToDevice);
|
||||
}
|
||||
@@ -121,6 +123,7 @@ TEST_CASE("Performance_hipMemcpy2DToArray_DeviceToDevice_DisablePeerAccess") {
|
||||
*/
|
||||
TEST_CASE("Performance_hipMemcpy2DToArray_DeviceToDevice_EnablePeerAccess") {
|
||||
CHECK_IMAGE_SUPPORT
|
||||
|
||||
if (HipTest::getDeviceCount() < 2) {
|
||||
HipTest::HIP_SKIP_TEST("This test requires 2 GPUs. Skipping.");
|
||||
return;
|
||||
|
||||
@@ -83,6 +83,7 @@ static void RunBenchmark(size_t width, size_t height, hipMemcpyKind kind,
|
||||
*/
|
||||
TEST_CASE("Performance_hipMemcpy2DToArrayAsync_HostToDevice") {
|
||||
CHECK_IMAGE_SUPPORT
|
||||
|
||||
const auto width = GENERATE(4_KB, 8_KB, 16_KB);
|
||||
RunBenchmark(width, 32, hipMemcpyHostToDevice);
|
||||
}
|
||||
@@ -104,6 +105,7 @@ TEST_CASE("Performance_hipMemcpy2DToArrayAsync_HostToDevice") {
|
||||
*/
|
||||
TEST_CASE("Performance_hipMemcpy2DToArrayAsync_DeviceToDevice_DisablePeerAccess") {
|
||||
CHECK_IMAGE_SUPPORT
|
||||
|
||||
const auto width = GENERATE(4_KB, 8_KB, 16_KB);
|
||||
RunBenchmark(width, 32, hipMemcpyDeviceToDevice);
|
||||
}
|
||||
@@ -127,6 +129,7 @@ TEST_CASE("Performance_hipMemcpy2DToArrayAsync_DeviceToDevice_DisablePeerAccess"
|
||||
*/
|
||||
TEST_CASE("Performance_hipMemcpy2DToArrayAsync_DeviceToDevice_EnablePeerAccess") {
|
||||
CHECK_IMAGE_SUPPORT
|
||||
|
||||
if (HipTest::getDeviceCount() < 2) {
|
||||
HipTest::HIP_SKIP_TEST("This test requires 2 GPUs. Skipping.");
|
||||
return;
|
||||
|
||||
@@ -64,6 +64,7 @@ static void RunBenchmark(LinearAllocs host_allocation_type, size_t width) {
|
||||
*/
|
||||
TEST_CASE("Performance_hipMemcpyAtoH") {
|
||||
CHECK_IMAGE_SUPPORT
|
||||
|
||||
const auto allocation_size = GENERATE(512, 1024, 4096);
|
||||
const auto host_allocation_type = GENERATE(LinearAllocs::malloc, LinearAllocs::hipHostMalloc);
|
||||
RunBenchmark(host_allocation_type, allocation_size);
|
||||
|
||||
@@ -64,6 +64,7 @@ static void RunBenchmark(LinearAllocs host_allocation_type, size_t width) {
|
||||
*/
|
||||
TEST_CASE("Performance_hipMemcpyHtoA") {
|
||||
CHECK_IMAGE_SUPPORT
|
||||
|
||||
const auto allocation_size = GENERATE(512, 1024, 4096);
|
||||
const auto host_allocation_type = GENERATE(LinearAllocs::malloc, LinearAllocs::hipHostMalloc);
|
||||
RunBenchmark(host_allocation_type, allocation_size);
|
||||
|
||||
@@ -53,6 +53,7 @@ THE SOFTWARE.
|
||||
*/
|
||||
TEST_CASE("Unit_hipGraphAddMemcpyNode_Positive_Basic") {
|
||||
CHECK_IMAGE_SUPPORT
|
||||
|
||||
constexpr bool async = false;
|
||||
|
||||
SECTION("Device to host") { Memcpy3DDeviceToHostShell<async>(Memcpy3DWrapper<async, true>); }
|
||||
@@ -122,6 +123,8 @@ TEST_CASE("Unit_hipGraphAddMemcpyNode_Positive_Basic") {
|
||||
* - HIP_VERSION >= 5.2
|
||||
*/
|
||||
TEST_CASE("Unit_hipGraphAddMemcpyNode_Negative_Parameters") {
|
||||
CHECK_IMAGE_SUPPORT
|
||||
|
||||
using namespace std::placeholders;
|
||||
|
||||
constexpr hipExtent extent{128 * sizeof(int), 128, 8};
|
||||
|
||||
@@ -53,6 +53,7 @@ THE SOFTWARE.
|
||||
*/
|
||||
TEST_CASE("Unit_hipGraphMemcpyNodeSetParams_Positive_Basic") {
|
||||
CHECK_IMAGE_SUPPORT
|
||||
|
||||
constexpr bool async = false;
|
||||
|
||||
SECTION("Device to host") {
|
||||
@@ -130,6 +131,8 @@ TEST_CASE("Unit_hipGraphMemcpyNodeSetParams_Positive_Basic") {
|
||||
* - HIP_VERSION >= 5.2
|
||||
*/
|
||||
TEST_CASE("Unit_hipGraphMemcpyNodeSetParams_Negative_Parameters") {
|
||||
CHECK_IMAGE_SUPPORT
|
||||
|
||||
using namespace std::placeholders;
|
||||
|
||||
constexpr hipExtent extent{128 * sizeof(int), 128, 8};
|
||||
|
||||
Ссылка в новой задаче
Block a user