// SPDX-License-Identifier: MIT // Copyright (c) 2018-2023, Advanced Micro Devices, Inc. All rights reserved. #include #include #include #include "gtest/gtest.h" #include "test_softmax_util.hpp" template using I = ck::Number; #ifdef __fp16__ using F16 = ck::half_t; #endif using F32 = float; template class TestSoftmax : public ck::TestSoftmax { }; // clang-format off using KernelTypes = ::testing::Types< // InDataType, AccDataType, OutDataType, Rank #ifdef __fp16__ std::tuple< F16, F32, F16, I<3>>, #endif std::tuple< F32, F32, F32, I<3>> >; // clang-format on TYPED_TEST_SUITE(TestSoftmax, KernelTypes); #include "test_softmax_ut_cases.inc"