permute.hpp 447 Bytes
Newer Older
carlushuang's avatar
carlushuang committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// SPDX-License-Identifier: MIT
// Copyright (c) 2018-2024, Advanced Micro Devices, Inc. All rights reserved.

#pragma once

#include "ck_tile/core.hpp"
#include "ck_tile/host/kernel_launch.hpp"
#include "ck_tile/ops/permute.hpp"
#include <string>

struct permute_traits
{
    std::string data_type;
};

using permute_args = ck_tile::GenericPermuteHostArgs;

// host API
float permute(permute_traits, permute_args, const ck_tile::stream_config&);