mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-04-20 06:49:15 +00:00
Replace CK_TILE_PIPELINE macros with a common enum
This change replaces pipeline macros like CK_TILE_PIPELINE_COMPUTE_V3, CK_TILE_PIPELINE_MEMORY, etc in the CK Tile examples with a common enum called GemmPipeline to reduce code duplication.
This commit is contained in:
committed by
Emily Martins
parent
afe1ff618d
commit
2ec57a8e70
21
include/ck_tile/ops/gemm/pipeline/gemm_pipelines.hpp
Normal file
21
include/ck_tile/ops/gemm/pipeline/gemm_pipelines.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
// Copyright © Advanced Micro Devices, Inc., or its affiliates.
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
#pragma once
|
||||
|
||||
namespace ck_tile {
|
||||
|
||||
enum struct GemmPipeline
|
||||
{
|
||||
COMPUTE_ASYNC,
|
||||
COMPUTE_V3,
|
||||
COMPUTE_V4,
|
||||
COMPUTE_V5,
|
||||
COMPUTE_V6,
|
||||
MEMORY,
|
||||
BASIC_V1,
|
||||
BASIC_V2,
|
||||
PRESHUFFLE_V2
|
||||
};
|
||||
|
||||
} // namespace ck_tile
|
||||
Reference in New Issue
Block a user