Style improvement: improving type alias usage consistency in gemm-related client examples. Also copyright year update for all client examples. (#1180)

Co-authored-by: Arseny Moskvichev <amoskvic@amd.com>
This commit is contained in:
amoskvic
2024-02-28 17:39:03 -07:00
committed by GitHub
parent d0c7b45150
commit a776978cbe
66 changed files with 82 additions and 80 deletions

View File

@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// Copyright (c) 2018-2023, Advanced Micro Devices, Inc. All rights reserved.
// Copyright (c) 2018-2024, Advanced Micro Devices, Inc. All rights reserved.
#include <iomanip>
#include <vector>
@@ -88,7 +88,7 @@ int main(int argc, char* argv[])
[](std::size_t nRow, std::size_t nCol, std::size_t stride, auto layout) {
using Layout = decltype(layout);
if constexpr(std::is_same<Layout, ck::tensor_layout::gemm::RowMajor>::value)
if constexpr(std::is_same<Layout, Row>::value)
{
return (nRow - 1) * stride + nCol;
}