mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-19 20:40:07 +00:00
* Create tests for ck tile batched transpose using example
* Create ck tile tests for smoothquant using examples
* fix precision input strings and convert batched transpose to regression tests
* Code cleanup and fix asserts
* add missing licenses
* update copyright and licensing in files
* Update smoothquant tests to use example's smoothquant.cpp
* Add custom target for batched transpose tests
* Add missing new lines at end of files for CMakelists
* fix typo in batched transpose CMakeList target_compile_options
---------
Co-authored-by: root <root@ctr-ubbsmc16.amd.com>
[ROCm/composable_kernel commit: c08986b026]
26 lines
601 B
C++
26 lines
601 B
C++
// Copyright © Advanced Micro Devices, Inc., or its affiliates.
|
|
// SPDX-License-Identifier: MIT
|
|
#include "ck_tile/core.hpp"
|
|
#include "ck_tile/host.hpp"
|
|
#include "ck_tile/ops/reduce.hpp"
|
|
#include "ck_tile/ops/batched_transpose.hpp"
|
|
|
|
#include <vector>
|
|
#include <string>
|
|
|
|
#pragma once
|
|
|
|
struct batched_transpose_trait
|
|
{
|
|
std::string type;
|
|
std::string layout;
|
|
};
|
|
|
|
struct batched_transpose_kargs : public ck_tile::BatchedTransposeHostArgs
|
|
{
|
|
};
|
|
|
|
float batched_transpose(batched_transpose_trait t,
|
|
batched_transpose_kargs a,
|
|
ck_tile::stream_config s);
|