Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
composable_kernel_ROCM
Commits
ec1b65e7
Commit
ec1b65e7
authored
Jan 19, 2025
by
Aleksander Dudek
Browse files
[CK_TILE] Update the file structure
parent
aa30ef56
Changes
262
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
65 additions
and
31 deletions
+65
-31
include/ck_tile/host/ops/rmsnorm2d/kernel/rmsnorm2d_fwd_kernel.hpp
...k_tile/host/ops/rmsnorm2d/kernel/rmsnorm2d_fwd_kernel.hpp
+2
-2
include/ck_tile/host/ops/rmsnorm2d/pipeline/rmsnorm2d_fwd_pipeline_default_policy.hpp
...norm2d/pipeline/rmsnorm2d_fwd_pipeline_default_policy.hpp
+3
-3
include/ck_tile/host/ops/rmsnorm2d/pipeline/rmsnorm2d_fwd_pipeline_one_pass.hpp
...ps/rmsnorm2d/pipeline/rmsnorm2d_fwd_pipeline_one_pass.hpp
+2
-2
include/ck_tile/host/ops/rmsnorm2d/pipeline/rmsnorm2d_fwd_pipeline_problem.hpp
...ops/rmsnorm2d/pipeline/rmsnorm2d_fwd_pipeline_problem.hpp
+1
-1
include/ck_tile/host/ops/rmsnorm2d/pipeline/rmsnorm2d_fwd_pipeline_two_pass.hpp
...ps/rmsnorm2d/pipeline/rmsnorm2d_fwd_pipeline_two_pass.hpp
+2
-2
include/ck_tile/host/ops/smoothquant.hpp
include/ck_tile/host/ops/smoothquant.hpp
+11
-0
include/ck_tile/host/ops/smoothquant/kernel/moe_smoothquant_kernel.hpp
...le/host/ops/smoothquant/kernel/moe_smoothquant_kernel.hpp
+2
-2
include/ck_tile/host/ops/smoothquant/kernel/smoothquant_kernel.hpp
...k_tile/host/ops/smoothquant/kernel/smoothquant_kernel.hpp
+2
-2
include/ck_tile/host/ops/smoothquant/pipeline/smoothquant_pipeline_default_policy.hpp
...othquant/pipeline/smoothquant_pipeline_default_policy.hpp
+3
-3
include/ck_tile/host/ops/smoothquant/pipeline/smoothquant_pipeline_one_pass.hpp
...ps/smoothquant/pipeline/smoothquant_pipeline_one_pass.hpp
+2
-2
include/ck_tile/host/ops/smoothquant/pipeline/smoothquant_pipeline_problem.hpp
...ops/smoothquant/pipeline/smoothquant_pipeline_problem.hpp
+1
-1
include/ck_tile/host/ops/smoothquant/pipeline/smoothquant_pipeline_two_pass.hpp
...ps/smoothquant/pipeline/smoothquant_pipeline_two_pass.hpp
+2
-2
include/ck_tile/host/ops/softmax.hpp
include/ck_tile/host/ops/softmax.hpp
+7
-0
include/ck_tile/host/ops/softmax/block/block_softmax_2d.hpp
include/ck_tile/host/ops/softmax/block/block_softmax_2d.hpp
+2
-2
include/ck_tile/host/ops/softmax/block/block_softmax_2d_problem.hpp
..._tile/host/ops/softmax/block/block_softmax_2d_problem.hpp
+1
-1
include/ck_tile/host/ops/topk.hpp
include/ck_tile/host/ops/topk.hpp
+7
-0
include/ck_tile/host/ops/topk/block/block_topk_stream_2d.hpp
include/ck_tile/host/ops/topk/block/block_topk_stream_2d.hpp
+1
-1
include/ck_tile/host/ops/topk/block/block_topk_stream_2d_problem.hpp
...tile/host/ops/topk/block/block_topk_stream_2d_problem.hpp
+1
-1
include/ck_tile/host/ops/topk_softmax.hpp
include/ck_tile/host/ops/topk_softmax.hpp
+9
-0
include/ck_tile/host/ops/topk_softmax/kernel/topk_softmax_kernel.hpp
...tile/host/ops/topk_softmax/kernel/topk_softmax_kernel.hpp
+4
-4
No files found.
include/ck_tile/ops/rmsnorm2d/kernel/rmsnorm2d_fwd_kernel.hpp
→
include/ck_tile/
host/
ops/rmsnorm2d/kernel/rmsnorm2d_fwd_kernel.hpp
View file @
ec1b65e7
// SPDX-License-Identifier: MIT
// Copyright (c) 2018-202
4
, Advanced Micro Devices, Inc. All rights reserved.
// Copyright (c) 2018-202
5
, Advanced Micro Devices, Inc. All rights reserved.
#pragma once
#include "ck_tile/core.hpp"
#include "ck_tile/ops/common.hpp"
#include "ck_tile/
device/
ops/common.hpp"
namespace
ck_tile
{
...
...
include/ck_tile/ops/rmsnorm2d/pipeline/rmsnorm2d_fwd_pipeline_default_policy.hpp
→
include/ck_tile/
host/
ops/rmsnorm2d/pipeline/rmsnorm2d_fwd_pipeline_default_policy.hpp
View file @
ec1b65e7
// SPDX-License-Identifier: MIT
// Copyright (c) 2018-202
4
, Advanced Micro Devices, Inc. All rights reserved.
// Copyright (c) 2018-202
5
, Advanced Micro Devices, Inc. All rights reserved.
#pragma once
#include "ck_tile/core.hpp"
#include "ck_tile/ops/reduce/block/block_reduce2d_problem.hpp"
#include "ck_tile/ops/reduce/block/block_reduce2d.hpp"
#include "ck_tile/
device/
ops/reduce/block/block_reduce2d_problem.hpp"
#include "ck_tile/
device/
ops/reduce/block/block_reduce2d.hpp"
namespace
ck_tile
{
...
...
include/ck_tile/ops/rmsnorm2d/pipeline/rmsnorm2d_fwd_pipeline_one_pass.hpp
→
include/ck_tile/
host/
ops/rmsnorm2d/pipeline/rmsnorm2d_fwd_pipeline_one_pass.hpp
View file @
ec1b65e7
// SPDX-License-Identifier: MIT
// Copyright (c) 2018-202
4
, Advanced Micro Devices, Inc. All rights reserved.
// Copyright (c) 2018-202
5
, Advanced Micro Devices, Inc. All rights reserved.
#pragma once
#include "ck_tile/core.hpp"
#include "ck_tile/ops/rmsnorm2d/pipeline/rmsnorm2d_fwd_pipeline_default_policy.hpp"
#include "ck_tile/
device/
ops/rmsnorm2d/pipeline/rmsnorm2d_fwd_pipeline_default_policy.hpp"
#include <string>
#include <type_traits>
...
...
include/ck_tile/ops/rmsnorm2d/pipeline/rmsnorm2d_fwd_pipeline_problem.hpp
→
include/ck_tile/
host/
ops/rmsnorm2d/pipeline/rmsnorm2d_fwd_pipeline_problem.hpp
View file @
ec1b65e7
// SPDX-License-Identifier: MIT
// Copyright (c) 2018-202
4
, Advanced Micro Devices, Inc. All rights reserved.
// Copyright (c) 2018-202
5
, Advanced Micro Devices, Inc. All rights reserved.
#pragma once
...
...
include/ck_tile/ops/rmsnorm2d/pipeline/rmsnorm2d_fwd_pipeline_two_pass.hpp
→
include/ck_tile/
host/
ops/rmsnorm2d/pipeline/rmsnorm2d_fwd_pipeline_two_pass.hpp
View file @
ec1b65e7
// SPDX-License-Identifier: MIT
// Copyright (c) 2018-202
4
, Advanced Micro Devices, Inc. All rights reserved.
// Copyright (c) 2018-202
5
, Advanced Micro Devices, Inc. All rights reserved.
#pragma once
#include "ck_tile/core.hpp"
#include "ck_tile/ops/rmsnorm2d/pipeline/rmsnorm2d_fwd_pipeline_default_policy.hpp"
#include "ck_tile/
device/
ops/rmsnorm2d/pipeline/rmsnorm2d_fwd_pipeline_default_policy.hpp"
#include <string>
#include <type_traits>
...
...
include/ck_tile/host/ops/smoothquant.hpp
0 → 100644
View file @
ec1b65e7
// SPDX-License-Identifier: MIT
// Copyright (c) 2018-2025, Advanced Micro Devices, Inc. All rights reserved.
#pragma once
#include "ck_tile/host/ops/smoothquant/kernel/moe_smoothquant_kernel.hpp"
#include "ck_tile/host/ops/smoothquant/kernel/smoothquant_kernel.hpp"
#include "ck_tile/host/ops/smoothquant/pipeline/smoothquant_pipeline_default_policy.hpp"
#include "ck_tile/host/ops/smoothquant/pipeline/smoothquant_pipeline_one_pass.hpp"
#include "ck_tile/host/ops/smoothquant/pipeline/smoothquant_pipeline_problem.hpp"
#include "ck_tile/host/ops/smoothquant/pipeline/smoothquant_pipeline_two_pass.hpp"
include/ck_tile/ops/smoothquant/kernel/moe_smoothquant_kernel.hpp
→
include/ck_tile/
host/
ops/smoothquant/kernel/moe_smoothquant_kernel.hpp
View file @
ec1b65e7
// SPDX-License-Identifier: MIT
// Copyright (c) 2018-202
4
, Advanced Micro Devices, Inc. All rights reserved.
// Copyright (c) 2018-202
5
, Advanced Micro Devices, Inc. All rights reserved.
#pragma once
#include "ck_tile/core.hpp"
#include "ck_tile/ops/common.hpp"
#include "ck_tile/
device/
ops/common.hpp"
namespace
ck_tile
{
...
...
include/ck_tile/ops/smoothquant/kernel/smoothquant_kernel.hpp
→
include/ck_tile/
host/
ops/smoothquant/kernel/smoothquant_kernel.hpp
View file @
ec1b65e7
// SPDX-License-Identifier: MIT
// Copyright (c) 2018-202
4
, Advanced Micro Devices, Inc. All rights reserved.
// Copyright (c) 2018-202
5
, Advanced Micro Devices, Inc. All rights reserved.
#pragma once
#include "ck_tile/core.hpp"
#include "ck_tile/ops/common.hpp"
#include "ck_tile/
device/
ops/common.hpp"
namespace
ck_tile
{
...
...
include/ck_tile/ops/smoothquant/pipeline/smoothquant_pipeline_default_policy.hpp
→
include/ck_tile/
host/
ops/smoothquant/pipeline/smoothquant_pipeline_default_policy.hpp
View file @
ec1b65e7
// SPDX-License-Identifier: MIT
// Copyright (c) 2018-202
4
, Advanced Micro Devices, Inc. All rights reserved.
// Copyright (c) 2018-202
5
, Advanced Micro Devices, Inc. All rights reserved.
#pragma once
#include "ck_tile/core.hpp"
#include "ck_tile/ops/reduce/block/block_reduce2d_problem.hpp"
#include "ck_tile/ops/reduce/block/block_reduce2d.hpp"
#include "ck_tile/
device/
ops/reduce/block/block_reduce2d_problem.hpp"
#include "ck_tile/
device/
ops/reduce/block/block_reduce2d.hpp"
namespace
ck_tile
{
...
...
include/ck_tile/ops/smoothquant/pipeline/smoothquant_pipeline_one_pass.hpp
→
include/ck_tile/
host/
ops/smoothquant/pipeline/smoothquant_pipeline_one_pass.hpp
View file @
ec1b65e7
// SPDX-License-Identifier: MIT
// Copyright (c) 2018-202
4
, Advanced Micro Devices, Inc. All rights reserved.
// Copyright (c) 2018-202
5
, Advanced Micro Devices, Inc. All rights reserved.
#pragma once
#include "ck_tile/core.hpp"
#include "ck_tile/ops/rmsnorm2d/pipeline/rmsnorm2d_fwd_pipeline_default_policy.hpp"
#include "ck_tile/
device/
ops/rmsnorm2d/pipeline/rmsnorm2d_fwd_pipeline_default_policy.hpp"
#include <string>
#include <type_traits>
...
...
include/ck_tile/ops/smoothquant/pipeline/smoothquant_pipeline_problem.hpp
→
include/ck_tile/
host/
ops/smoothquant/pipeline/smoothquant_pipeline_problem.hpp
View file @
ec1b65e7
// SPDX-License-Identifier: MIT
// Copyright (c) 2018-202
4
, Advanced Micro Devices, Inc. All rights reserved.
// Copyright (c) 2018-202
5
, Advanced Micro Devices, Inc. All rights reserved.
#pragma once
...
...
include/ck_tile/ops/smoothquant/pipeline/smoothquant_pipeline_two_pass.hpp
→
include/ck_tile/
host/
ops/smoothquant/pipeline/smoothquant_pipeline_two_pass.hpp
View file @
ec1b65e7
// SPDX-License-Identifier: MIT
// Copyright (c) 2018-202
4
, Advanced Micro Devices, Inc. All rights reserved.
// Copyright (c) 2018-202
5
, Advanced Micro Devices, Inc. All rights reserved.
#pragma once
#include "ck_tile/core.hpp"
#include "ck_tile/ops/rmsnorm2d/pipeline/rmsnorm2d_fwd_pipeline_default_policy.hpp"
#include "ck_tile/
device/
ops/rmsnorm2d/pipeline/rmsnorm2d_fwd_pipeline_default_policy.hpp"
#include <string>
#include <type_traits>
...
...
include/ck_tile/host/ops/softmax.hpp
0 → 100644
View file @
ec1b65e7
// SPDX-License-Identifier: MIT
// Copyright (c) 2018-2025, Advanced Micro Devices, Inc. All rights reserved.
#pragma once
#include "ck_tile/host/ops/softmax/block/block_softmax_2d.hpp"
#include "ck_tile/host/ops/softmax/block/block_softmax_2d_problem.hpp"
include/ck_tile/ops/softmax/block/block_softmax_2d.hpp
→
include/ck_tile/
host/
ops/softmax/block/block_softmax_2d.hpp
View file @
ec1b65e7
// SPDX-License-Identifier: MIT
// Copyright (c) 2018-202
3
, Advanced Micro Devices, Inc. All rights reserved.
// Copyright (c) 2018-202
5
, Advanced Micro Devices, Inc. All rights reserved.
#pragma once
#include "ck_tile/core.hpp"
#include "ck_tile/ops/reduce.hpp"
#include "ck_tile/
device/
ops/reduce.hpp"
#define _BLOCK_SOFTMAX_USE_UNPACK2 0
...
...
include/ck_tile/ops/softmax/block/block_softmax_2d_problem.hpp
→
include/ck_tile/
host/
ops/softmax/block/block_softmax_2d_problem.hpp
View file @
ec1b65e7
// SPDX-License-Identifier: MIT
// Copyright (c) 2018-202
3
, Advanced Micro Devices, Inc. All rights reserved.
// Copyright (c) 2018-202
5
, Advanced Micro Devices, Inc. All rights reserved.
#pragma once
...
...
include/ck_tile/ops/topk.hpp
→
include/ck_tile/
host/
ops/topk.hpp
View file @
ec1b65e7
...
...
@@ -3,7 +3,5 @@
#pragma once
#include "ck_tile/ops/topk/block/block_topk_stream_2d.hpp"
#include "ck_tile/ops/topk/block/block_topk_stream_2d_problem.hpp"
#include "ck_tile/ops/common/generic_2d_block_shape.hpp"
#include "ck_tile/ops/common/tensor_layout.hpp"
#include "ck_tile/host/ops/topk/block/block_topk_stream_2d.hpp"
#include "ck_tile/host/ops/topk/block/block_topk_stream_2d_problem.hpp"
include/ck_tile/ops/topk/block/block_topk_stream_2d.hpp
→
include/ck_tile/
host/
ops/topk/block/block_topk_stream_2d.hpp
View file @
ec1b65e7
// SPDX-License-Identifier: MIT
// Copyright (c) 2018-202
3
, Advanced Micro Devices, Inc. All rights reserved.
// Copyright (c) 2018-202
5
, Advanced Micro Devices, Inc. All rights reserved.
#pragma once
...
...
include/ck_tile/ops/topk/block/block_topk_stream_2d_problem.hpp
→
include/ck_tile/
host/
ops/topk/block/block_topk_stream_2d_problem.hpp
View file @
ec1b65e7
// SPDX-License-Identifier: MIT
// Copyright (c) 2018-202
3
, Advanced Micro Devices, Inc. All rights reserved.
// Copyright (c) 2018-202
5
, Advanced Micro Devices, Inc. All rights reserved.
#pragma once
...
...
include/ck_tile/host/ops/topk_softmax.hpp
0 → 100644
View file @
ec1b65e7
// SPDX-License-Identifier: MIT
// Copyright (c) 2018-2025, Advanced Micro Devices, Inc. All rights reserved.
#pragma once
#include "ck_tile/host/ops/topk_softmax/kernel/topk_softmax_kernel.hpp"
#include "ck_tile/host/ops/topk_softmax/pipeline/topk_softmax_warp_per_row_pipeline.hpp"
#include "ck_tile/host/ops/topk_softmax/pipeline/topk_softmax_warp_per_row_policy.hpp"
#include "ck_tile/host/ops/topk_softmax/pipeline/topk_softmax_warp_per_row_problem.hpp"
include/ck_tile/ops/topk_softmax/kernel/topk_softmax_kernel.hpp
→
include/ck_tile/
host/
ops/topk_softmax/kernel/topk_softmax_kernel.hpp
View file @
ec1b65e7
// SPDX-License-Identifier: MIT
// Copyright (c) 2018-202
4
, Advanced Micro Devices, Inc. All rights reserved.
// Copyright (c) 2018-202
5
, Advanced Micro Devices, Inc. All rights reserved.
#pragma once
#include "ck_tile/core.hpp"
#include "ck_tile/ops/common.hpp"
#include "ck_tile/ops/elementwise.hpp"
#include "ck_tile/host/hip_check_error.hpp"
#include "ck_tile/
device/
ops/common.hpp"
#include "ck_tile/
device/
ops/elementwise.hpp"
#include "ck_tile/host/
util/
hip_check_error.hpp"
#include <string>
#include <type_traits>
...
...
Prev
1
…
6
7
8
9
10
11
12
13
14
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment