Skip to content

Commit

Permalink
add unique names for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cderb committed Dec 18, 2023
1 parent 48a16ba commit ce6a22c
Show file tree
Hide file tree
Showing 11 changed files with 29 additions and 29 deletions.
8 changes: 4 additions & 4 deletions test/gtest/conv3d_codecov.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand All @@ -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())
Expand All @@ -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())
Expand All @@ -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())
Expand Down
8 changes: 4 additions & 4 deletions test/gtest/conv_embed_db.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ std::vector<std::string> 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

Expand All @@ -170,7 +170,7 @@ TEST_P(ConvEmbedConfigFloat, FloatTest)
#endif
};

TEST_P(ConvEmbedConfigHalf, HalfTest)
TEST_P(ConvEmbedConfigHalf, HalfTest_conv_embed_db)
{
#if MIOPEN_EMBED_DB

Expand All @@ -189,7 +189,7 @@ TEST_P(ConvEmbedConfigHalf, HalfTest)
#endif
};

TEST_P(ConvEmbedConfigInt8, Int8Test)
TEST_P(ConvEmbedConfigInt8, Int8Test_conv_embed_db)
{
#if MIOPEN_EMBED_DB

Expand All @@ -208,7 +208,7 @@ TEST_P(ConvEmbedConfigInt8, Int8Test)
#endif
};

TEST_P(ConvEmbedConfigBFloat16, BFloat16Test)
TEST_P(ConvEmbedConfigBFloat16, BFloat16Test_conv_embed_db)
{
#if MIOPEN_EMBED_DB

Expand Down
2 changes: 1 addition & 1 deletion test/gtest/conv_igemm_dynamic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ std::vector<TestCase> 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())
Expand Down
6 changes: 3 additions & 3 deletions test/gtest/conv_igemm_mlir.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ std::vector<TestCase> 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

Expand All @@ -204,7 +204,7 @@ TEST_P(ConvIgemmMlirConfigFloat, FloatTest)
#endif
};

TEST_P(ConvIgemmMlirConfigHalf, HalfTest)
TEST_P(ConvIgemmMlirConfigHalf, HalfTest_conv_igemm_mlir)
{
#if MIOPEN_USE_MLIR

Expand All @@ -226,7 +226,7 @@ TEST_P(ConvIgemmMlirConfigHalf, HalfTest)
#endif
};

TEST_P(ConvIgemmMlirConfigInt8, Int8Test)
TEST_P(ConvIgemmMlirConfigInt8, Int8Test_conv_igemm_mlir)
{
#if MIOPEN_USE_MLIR

Expand Down
4 changes: 2 additions & 2 deletions test/gtest/conv_igemm_mlir_xdlops.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ std::vector<TestCase> 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

Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion test/gtest/conv_trans.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ std::vector<std::string> 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)))
Expand Down
8 changes: 4 additions & 4 deletions test/gtest/immed_conv2d_codecov.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand All @@ -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())
Expand All @@ -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())
Expand All @@ -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())
Expand Down
8 changes: 4 additions & 4 deletions test/gtest/immed_conv3d_codecov.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand All @@ -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())
Expand All @@ -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())
Expand All @@ -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())
Expand Down
4 changes: 2 additions & 2 deletions test/gtest/pooling2d_asymmetric.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand All @@ -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())
Expand Down
4 changes: 2 additions & 2 deletions test/gtest/pooling2d_codecov.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand All @@ -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())
Expand Down
4 changes: 2 additions & 2 deletions test/gtest/pooling2d_wide.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand All @@ -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())
Expand Down

0 comments on commit ce6a22c

Please sign in to comment.