// SPDX-License-Identifier: MIT // Copyright (c) 2018-2022, Advanced Micro Devices, Inc. All rights reserved. #include "common.hpp" using XDataType = ck::half_t; using GammaDataType = ck::half_t; using BetaDataType = ck::half_t; using YDataType = ck::half_t; using ComputeDataType = float; using PassThrough = ck::tensor_operation::element_wise::PassThrough; constexpr int Rank = 2; constexpr int NumReduceDim = 1; using DeviceInstance = ck::tensor_operation::device::DeviceNormalizationImpl; // OutScalarPerVector #include "run_layernorm_example.inc" int main() { return run_groupnorm_example(); }