mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-06-29 19:28:33 +00:00
Porting existing FMHA infra from users/shumway/ck/exp-kpack to develop (#7891) Signed-off-by: Chris Tsiaousis <chris.tsiaousis@streamhpc.com> Co-authored-by: Adam Osewski <Adam.Osewski@amd.com>
14 lines
438 B
C++
14 lines
438 B
C++
// Copyright (c) Advanced Micro Devices, Inc., or its affiliates.
|
|
// SPDX-License-Identifier: MIT
|
|
//
|
|
// Must fail: FP32 not supported for ConvertDQ.
|
|
// Expected error: "only supports FP16 or BF16"
|
|
|
|
#include <rocm_ck/ops/fmha_bwd/convert_dq_spec.hpp>
|
|
|
|
using namespace rocm_ck;
|
|
|
|
constexpr auto bad = makeSpec(FmhaBwdConvertDQConfig{
|
|
.signature = {.dtype = DataType::FP32, .hdim_q = 128, .mode = FmhaMode::BATCH},
|
|
.algorithm = {}});
|