From ce6a22c1634396a2f40087f640dff3125d80f28a Mon Sep 17 00:00:00 2001 From: Christopher Erb Date: Mon, 18 Dec 2023 16:53:03 +0000 Subject: [PATCH] add unique names for tests --- test/gtest/conv3d_codecov.cpp | 8 ++++---- test/gtest/conv_embed_db.cpp | 8 ++++---- test/gtest/conv_igemm_dynamic.cpp | 2 +- test/gtest/conv_igemm_mlir.cpp | 6 +++--- test/gtest/conv_igemm_mlir_xdlops.cpp | 4 ++-- test/gtest/conv_trans.cpp | 2 +- test/gtest/immed_conv2d_codecov.cpp | 8 ++++---- test/gtest/immed_conv3d_codecov.cpp | 8 ++++---- test/gtest/pooling2d_asymmetric.cpp | 4 ++-- test/gtest/pooling2d_codecov.cpp | 4 ++-- test/gtest/pooling2d_wide.cpp | 4 ++-- 11 files changed, 29 insertions(+), 29 deletions(-) diff --git a/test/gtest/conv3d_codecov.cpp b/test/gtest/conv3d_codecov.cpp index f85b072722..a27de9e4bb 100644 --- a/test/gtest/conv3d_codecov.cpp +++ b/test/gtest/conv3d_codecov.cpp @@ -98,7 +98,7 @@ void Run3dDriver(miopenDataType_t prec) bool IsTestSupportedForDevice(const miopen::Handle& handle) { return true; } -TEST_P(Conv3dFloat, FloatTest) +TEST_P(Conv3dFloat, FloatTest_conv3d_codecov) { const auto& handle = get_handle(); if(IsTestSupportedForDevice(handle) && !SkipTest()) @@ -111,7 +111,7 @@ TEST_P(Conv3dFloat, FloatTest) } }; -TEST_P(Conv3dHalf, HalfTest) +TEST_P(Conv3dHalf, HalfTest_conv3d_codecov) { const auto& handle = get_handle(); if(IsTestSupportedForDevice(handle) && !SkipTest()) @@ -124,7 +124,7 @@ TEST_P(Conv3dHalf, HalfTest) } }; -TEST_P(Conv3dBFloat16, BFloat16Test) +TEST_P(Conv3dBFloat16, BFloat16Test_conv3d_codecov) { const auto& handle = get_handle(); if(IsTestSupportedForDevice(handle) && !SkipTest()) @@ -137,7 +137,7 @@ TEST_P(Conv3dBFloat16, BFloat16Test) } }; -TEST_P(Conv3dInt8, Int8Test) +TEST_P(Conv3dInt8, Int8Test_conv3d_codecov) { const auto& handle = get_handle(); if(IsTestSupportedForDevice(handle) && !SkipTest()) diff --git a/test/gtest/conv_embed_db.cpp b/test/gtest/conv_embed_db.cpp index fe239cab09..61374c95b0 100644 --- a/test/gtest/conv_embed_db.cpp +++ b/test/gtest/conv_embed_db.cpp @@ -151,7 +151,7 @@ std::vector GetTestCases(const std::string& precision) } // namespace conv_embed_db using namespace conv_embed_db; -TEST_P(ConvEmbedConfigFloat, FloatTest) +TEST_P(ConvEmbedConfigFloat, FloatTest_conv_embed_db) { #if MIOPEN_EMBED_DB @@ -170,7 +170,7 @@ TEST_P(ConvEmbedConfigFloat, FloatTest) #endif }; -TEST_P(ConvEmbedConfigHalf, HalfTest) +TEST_P(ConvEmbedConfigHalf, HalfTest_conv_embed_db) { #if MIOPEN_EMBED_DB @@ -189,7 +189,7 @@ TEST_P(ConvEmbedConfigHalf, HalfTest) #endif }; -TEST_P(ConvEmbedConfigInt8, Int8Test) +TEST_P(ConvEmbedConfigInt8, Int8Test_conv_embed_db) { #if MIOPEN_EMBED_DB @@ -208,7 +208,7 @@ TEST_P(ConvEmbedConfigInt8, Int8Test) #endif }; -TEST_P(ConvEmbedConfigBFloat16, BFloat16Test) +TEST_P(ConvEmbedConfigBFloat16, BFloat16Test_conv_embed_db) { #if MIOPEN_EMBED_DB diff --git a/test/gtest/conv_igemm_dynamic.cpp b/test/gtest/conv_igemm_dynamic.cpp index 0a5ace31a6..ff98e464f0 100644 --- a/test/gtest/conv_igemm_dynamic.cpp +++ b/test/gtest/conv_igemm_dynamic.cpp @@ -177,7 +177,7 @@ std::vector GetTestCases(const std::string& precision) } // namespace conv_igemm_dynamic using namespace conv_igemm_dynamic; -TEST_P(Conv2dFloat, FloatTest) +TEST_P(Conv2dFloat, FloatTest_conv_igemm_dynamic) { const auto& handle = get_handle(); if(IsTestSupportedForDevice(handle) && !SkipTest()) diff --git a/test/gtest/conv_igemm_mlir.cpp b/test/gtest/conv_igemm_mlir.cpp index b2ac46ca0b..72e4a9add1 100644 --- a/test/gtest/conv_igemm_mlir.cpp +++ b/test/gtest/conv_igemm_mlir.cpp @@ -182,7 +182,7 @@ std::vector GetTestCases(const std::string& precision) } // namespace conv_igemm_mlir using namespace conv_igemm_mlir; -TEST_P(ConvIgemmMlirConfigFloat, FloatTest) +TEST_P(ConvIgemmMlirConfigFloat, FloatTest_conv_igemm_mlir) { #if MIOPEN_USE_MLIR @@ -204,7 +204,7 @@ TEST_P(ConvIgemmMlirConfigFloat, FloatTest) #endif }; -TEST_P(ConvIgemmMlirConfigHalf, HalfTest) +TEST_P(ConvIgemmMlirConfigHalf, HalfTest_conv_igemm_mlir) { #if MIOPEN_USE_MLIR @@ -226,7 +226,7 @@ TEST_P(ConvIgemmMlirConfigHalf, HalfTest) #endif }; -TEST_P(ConvIgemmMlirConfigInt8, Int8Test) +TEST_P(ConvIgemmMlirConfigInt8, Int8Test_conv_igemm_mlir) { #if MIOPEN_USE_MLIR diff --git a/test/gtest/conv_igemm_mlir_xdlops.cpp b/test/gtest/conv_igemm_mlir_xdlops.cpp index 7bde20ded9..feda46ad60 100644 --- a/test/gtest/conv_igemm_mlir_xdlops.cpp +++ b/test/gtest/conv_igemm_mlir_xdlops.cpp @@ -156,7 +156,7 @@ std::vector GetTestCases(const std::string& precision) } // namespace conv_igemm_mlir_xdlops using namespace conv_igemm_mlir_xdlops; -TEST_P(ConvIgemmMlirXdlopsConfigHalf, HalfTest) +TEST_P(ConvIgemmMlirXdlopsConfigHalf, HalfTest_conv_igemm_mlir_xdlops) { #if MIOPEN_USE_MLIR @@ -178,7 +178,7 @@ TEST_P(ConvIgemmMlirXdlopsConfigHalf, HalfTest) #endif }; -TEST_P(ConvIgemmMlirXdlopsConfigInt8, Int8Test) +TEST_P(ConvIgemmMlirXdlopsConfigInt8, Int8Test_conv_igemm_mlir_xdlops) { #if MIOPEN_USE_MLIR diff --git a/test/gtest/conv_trans.cpp b/test/gtest/conv_trans.cpp index 31a6f9cb92..9a715e8c6d 100644 --- a/test/gtest/conv_trans.cpp +++ b/test/gtest/conv_trans.cpp @@ -142,7 +142,7 @@ std::vector GetTestCases(void) } // namespace conv_trans using namespace conv_trans; -TEST_P(ConfigWithFloat, FloatTest) +TEST_P(ConfigWithFloat, FloatTest_conv_trans) { const auto& handle = get_handle(); if(IsTestSupportedForDevice(handle) && miopen::IsEnabled(ENV(MIOPEN_TEST_ALL))) diff --git a/test/gtest/immed_conv2d_codecov.cpp b/test/gtest/immed_conv2d_codecov.cpp index ba2a9de09c..185e8ef2c5 100644 --- a/test/gtest/immed_conv2d_codecov.cpp +++ b/test/gtest/immed_conv2d_codecov.cpp @@ -132,7 +132,7 @@ void Run2dDriver(miopenDataType_t prec) bool IsTestSupportedForDevice(const miopen::Handle& handle) { return true; } -TEST_P(Conv2dFloat, FloatTest) +TEST_P(Conv2dFloat, FloatTest_immed_conv2d_codecov) { const auto& handle = get_handle(); if(IsTestSupportedForDevice(handle) && !SkipTest()) @@ -145,7 +145,7 @@ TEST_P(Conv2dFloat, FloatTest) } }; -TEST_P(Conv2dHalf, HalfTest) +TEST_P(Conv2dHalf, HalfTest_immed_conv2d_codecov) { const auto& handle = get_handle(); if(IsTestSupportedForDevice(handle) && !SkipTest()) @@ -158,7 +158,7 @@ TEST_P(Conv2dHalf, HalfTest) } }; -TEST_P(Conv2dBFloat16, BFloat16Test) +TEST_P(Conv2dBFloat16, BFloat16Test_immed_conv2d_codecov) { const auto& handle = get_handle(); if(IsTestSupportedForDevice(handle) && !SkipTest()) @@ -171,7 +171,7 @@ TEST_P(Conv2dBFloat16, BFloat16Test) } }; -TEST_P(Conv2dInt8, Int8Test) +TEST_P(Conv2dInt8, Int8Test_immed_conv2d_codecov) { const auto& handle = get_handle(); if(IsTestSupportedForDevice(handle) && !SkipTest()) diff --git a/test/gtest/immed_conv3d_codecov.cpp b/test/gtest/immed_conv3d_codecov.cpp index 3f22479d91..cb30c2ce0d 100644 --- a/test/gtest/immed_conv3d_codecov.cpp +++ b/test/gtest/immed_conv3d_codecov.cpp @@ -132,7 +132,7 @@ void Run3dDriver(miopenDataType_t prec) bool IsTestSupportedForDevice(const miopen::Handle& handle) { return true; } -TEST_P(Conv3dFloat, FloatTest) +TEST_P(Conv3dFloat, FloatTest_immed_conv3d_codecov) { const auto& handle = get_handle(); if(IsTestSupportedForDevice(handle) && !SkipTest()) @@ -145,7 +145,7 @@ TEST_P(Conv3dFloat, FloatTest) } }; -TEST_P(Conv3dHalf, HalfTest) +TEST_P(Conv3dHalf, HalfTest_immed_conv3d_codecov) { const auto& handle = get_handle(); if(IsTestSupportedForDevice(handle) && !SkipTest()) @@ -158,7 +158,7 @@ TEST_P(Conv3dHalf, HalfTest) } }; -TEST_P(Conv3dBFloat16, BFloat16Test) +TEST_P(Conv3dBFloat16, BFloat16Test_immed_conv3d_codecov) { const auto& handle = get_handle(); if(IsTestSupportedForDevice(handle) && !SkipTest()) @@ -171,7 +171,7 @@ TEST_P(Conv3dBFloat16, BFloat16Test) } }; -TEST_P(Conv3dInt8, Int8Test) +TEST_P(Conv3dInt8, Int8Test_immed_conv3d_codecov) { const auto& handle = get_handle(); if(IsTestSupportedForDevice(handle) && !SkipTest()) diff --git a/test/gtest/pooling2d_asymmetric.cpp b/test/gtest/pooling2d_asymmetric.cpp index 894210b813..d9d2213f36 100644 --- a/test/gtest/pooling2d_asymmetric.cpp +++ b/test/gtest/pooling2d_asymmetric.cpp @@ -92,7 +92,7 @@ void Run2dDriver(miopenDataType_t prec) bool IsTestSupportedForDevice(const miopen::Handle& handle) { return true; } -TEST_P(Pooling2dFloat, FloatTest) +TEST_P(Pooling2dFloat, FloatTest_pooling2d_asymmetric) { const auto& handle = get_handle(); if(IsTestSupportedForDevice(handle) && !SkipTest()) @@ -105,7 +105,7 @@ TEST_P(Pooling2dFloat, FloatTest) } }; -TEST_P(Pooling2dHalf, HalfTest) +TEST_P(Pooling2dHalf, HalfTest_pooling2d_asymmetric) { const auto& handle = get_handle(); if(IsTestSupportedForDevice(handle) && !SkipTest()) diff --git a/test/gtest/pooling2d_codecov.cpp b/test/gtest/pooling2d_codecov.cpp index 52daa50f3f..365c03d272 100644 --- a/test/gtest/pooling2d_codecov.cpp +++ b/test/gtest/pooling2d_codecov.cpp @@ -92,7 +92,7 @@ void Run2dDriver(miopenDataType_t prec) bool IsTestSupportedForDevice(const miopen::Handle& handle) { return true; } -TEST_P(Pooling2dFloat, FloatTest) +TEST_P(Pooling2dFloat, FloatTest_pooling2d_codecov) { const auto& handle = get_handle(); if(IsTestSupportedForDevice(handle) && !SkipTest()) @@ -105,7 +105,7 @@ TEST_P(Pooling2dFloat, FloatTest) } }; -TEST_P(Pooling2dHalf, HalfTest) +TEST_P(Pooling2dHalf, HalfTest_pooling2d_codecov) { const auto& handle = get_handle(); if(IsTestSupportedForDevice(handle) && !SkipTest()) diff --git a/test/gtest/pooling2d_wide.cpp b/test/gtest/pooling2d_wide.cpp index 159da6f608..cb4233ae0c 100644 --- a/test/gtest/pooling2d_wide.cpp +++ b/test/gtest/pooling2d_wide.cpp @@ -92,7 +92,7 @@ void Run2dDriver(miopenDataType_t prec) bool IsTestSupportedForDevice(const miopen::Handle& handle) { return true; } -TEST_P(Pooling2dFloat, FloatTest) +TEST_P(Pooling2dFloat, FloatTest_pooling2d_wide) { const auto& handle = get_handle(); if(IsTestSupportedForDevice(handle) && !SkipTest()) @@ -105,7 +105,7 @@ TEST_P(Pooling2dFloat, FloatTest) } }; -TEST_P(Pooling2dHalf, HalfTest) +TEST_P(Pooling2dHalf, HalfTest_pooling2d_wide) { const auto& handle = get_handle(); if(IsTestSupportedForDevice(handle) && !SkipTest())