Disable FP8 / BF8 testing on CDNA1/2, it doesn't work anymore and needs to be either fixed or removed.

This commit is contained in:
kiefer
2025-11-18 12:51:35 +00:00
parent 51a4ae44ef
commit 08e3e9ea2d

View File

@@ -7,6 +7,8 @@
#include <vector>
#include <gtest/gtest.h>
#include "ck/utility/common_header.hpp"
#include "ck/host_utility/device_prop.hpp"
#include "profiler/profile_grouped_conv_fwd_impl.hpp"
static ck::index_t param_mask = 0xffff;
@@ -45,6 +47,15 @@ class TestGroupedConvndFwd : public ::testing::Test
{
continue;
}
// FP8 workaround for CDNA1/2 is currently broken, do not test.
if(ck::get_device_name() == "gfx908" || ck::get_device_name() == "gfx90a")
{
if(std::is_same<InDataType, F8>::value || std::is_same<InDataType, BF8>::value)
{
printf("Skipping FP8 / BF8 tests on CDNA1/2.\n");
continue;
}
}
auto& param = conv_params[i];
pass = pass && ck::profiler::profile_grouped_conv_fwd_impl<NDimSpatial,
InLayout,