mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-04-19 22:39:03 +00:00
Resolve some data type issues and cmake policy. (#940)
* split the types in gemm_bilinear instances, add condition to cmake policy * fix syntax * split the data types in batchnorm examples * fix the batchnorm_bwd test * fix types in the batchnorm_bwd test
This commit is contained in:
@@ -67,10 +67,23 @@ class TestBatchNormInferRank4 : public ::testing::Test
|
||||
}
|
||||
};
|
||||
|
||||
using KernelTypes = ::testing::Types<std::tuple<F16, F16, F32, F16, F16, F32>,
|
||||
std::tuple<F32, F32, F32, F32, F32, F32>,
|
||||
std::tuple<BF16, BF16, F32, BF16, BF16, F32>,
|
||||
std::tuple<F64, F64, F64, F64, F64, F64>>;
|
||||
using KernelTypes = ::testing::Types<
|
||||
#ifdef CK_ENABLE_FP16
|
||||
std::tuple<F16, F16, F32, F16, F16, F32>
|
||||
#endif
|
||||
#ifdef CK_ENABLE_FP32
|
||||
,
|
||||
std::tuple<F32, F32, F32, F32, F32, F32>
|
||||
#endif
|
||||
#ifdef CK_ENABLE_BF16
|
||||
,
|
||||
std::tuple<BF16, BF16, F32, BF16, BF16, F32>
|
||||
#endif
|
||||
#ifdef CK_ENABLE_FP64
|
||||
,
|
||||
std::tuple<F64, F64, F64, F64, F64, F64>
|
||||
#endif
|
||||
>;
|
||||
|
||||
TYPED_TEST_SUITE(TestBatchNormInferRank4, KernelTypes);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user