permute_fp16.cpp 451 Bytes
Newer Older
Po-Yen, Chen's avatar
Po-Yen, Chen committed
1
2
// SPDX-License-Identifier: MIT
// Copyright (c) 2018-2022, Advanced Micro Devices, Inc. All rights reserved.
3

Po-Yen, Chen's avatar
Po-Yen, Chen committed
4
#include "common.hpp"
5
6
7
8

using ADataType = F16;
using BDataType = F16;

9
using DevicePermuteInstance = ck::tensor_operation::device::
10
    DevicePermute<ck::Tuple<ADataType>, ck::Tuple<BDataType>, PassThrough, 4, 8, S<8>, S<1>>;
11

12
#include "run_permute_example.inc"
13

14
int main(int argc, char* argv[]) { return !run_permute_example(argc, argv); }