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
Commits
bf714e5e
Commit
bf714e5e
authored
Jul 05, 2023
by
Po-Yen, Chen
Browse files
Remove unnecessary CMakeLists.txt
parent
d9ce3a57
Changes
64
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
147 additions
and
48 deletions
+147
-48
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_c_shuffle_i8_i8_i8/CMakeLists.txt
...pu/gemm/device_gemm_xdl_c_shuffle_i8_i8_i8/CMakeLists.txt
+0
-6
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_c_shuffle_i8_i8_i8_km_kn_mn_instance.cpp
.../device_gemm_xdl_c_shuffle_i8_i8_i8_km_kn_mn_instance.cpp
+0
-0
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_c_shuffle_i8_i8_i8_km_nk_mn_instance.cpp
.../device_gemm_xdl_c_shuffle_i8_i8_i8_km_nk_mn_instance.cpp
+0
-0
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_c_shuffle_i8_i8_i8_mk_kn_mn_instance.cpp
.../device_gemm_xdl_c_shuffle_i8_i8_i8_mk_kn_mn_instance.cpp
+0
-0
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_c_shuffle_i8_i8_i8_mk_nk_mn_instance.cpp
.../device_gemm_xdl_c_shuffle_i8_i8_i8_mk_nk_mn_instance.cpp
+0
-0
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_f16_f16_f16/CMakeLists.txt
...tance/gpu/gemm/device_gemm_xdl_f16_f16_f16/CMakeLists.txt
+0
-30
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_f16_f16_f16/km_kn_mn_add_instance.cpp
...emm/device_gemm_xdl_f16_f16_f16/km_kn_mn_add_instance.cpp
+2
-0
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_f16_f16_f16/km_kn_mn_default_pipeline_v2_opt_instance.cpp
...f16_f16_f16/km_kn_mn_default_pipeline_v2_opt_instance.cpp
+35
-0
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_f16_f16_f16/km_nk_mn_add_instance.cpp
...emm/device_gemm_xdl_f16_f16_f16/km_nk_mn_add_instance.cpp
+2
-0
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_f16_f16_f16/km_nk_mn_default_pipeline_v2_opt_instance.cpp
...f16_f16_f16/km_nk_mn_default_pipeline_v2_opt_instance.cpp
+35
-0
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_f16_f16_f16/mk_kn_mn_add_instance.cpp
...emm/device_gemm_xdl_f16_f16_f16/mk_kn_mn_add_instance.cpp
+2
-0
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_f16_f16_f16/mk_kn_mn_default_pipeline_v2_opt_instance.cpp
...f16_f16_f16/mk_kn_mn_default_pipeline_v2_opt_instance.cpp
+35
-0
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_f16_f16_f16/mk_nk_mn_add_instance.cpp
...emm/device_gemm_xdl_f16_f16_f16/mk_nk_mn_add_instance.cpp
+2
-0
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_f16_f16_f16/mk_nk_mn_default_pipeline_v2_opt_instance.cpp
...f16_f16_f16/mk_nk_mn_default_pipeline_v2_opt_instance.cpp
+34
-0
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_f32_f32_f32/CMakeLists.txt
...tance/gpu/gemm/device_gemm_xdl_f32_f32_f32/CMakeLists.txt
+0
-6
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_f32_f32_f32_km_kn_mn_instance.cpp
...pu/gemm/device_gemm_xdl_f32_f32_f32_km_kn_mn_instance.cpp
+0
-0
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_f32_f32_f32_km_nk_mn_instance.cpp
...pu/gemm/device_gemm_xdl_f32_f32_f32_km_nk_mn_instance.cpp
+0
-0
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_f32_f32_f32_mk_kn_mn_instance.cpp
...pu/gemm/device_gemm_xdl_f32_f32_f32_mk_kn_mn_instance.cpp
+0
-0
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_f32_f32_f32_mk_nk_mn_instance.cpp
...pu/gemm/device_gemm_xdl_f32_f32_f32_mk_nk_mn_instance.cpp
+0
-0
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_f64_f64_f64/CMakeLists.txt
...tance/gpu/gemm/device_gemm_xdl_f64_f64_f64/CMakeLists.txt
+0
-6
No files found.
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_c_shuffle_i8_i8_i8/CMakeLists.txt
deleted
100644 → 0
View file @
d9ce3a57
target_sources
(
${
INSTANCE_LIBRARY_NAME
}
PRIVATE
device_gemm_xdl_c_shuffle_i8_i8_i8_km_kn_mn_instance.cpp
device_gemm_xdl_c_shuffle_i8_i8_i8_km_nk_mn_instance.cpp
device_gemm_xdl_c_shuffle_i8_i8_i8_mk_kn_mn_instance.cpp
device_gemm_xdl_c_shuffle_i8_i8_i8_mk_nk_mn_instance.cpp
)
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_c_shuffle_i8_i8_i8
/device_gemm_xdl_c_shuffle_i8_i8_i8
_km_kn_mn_instance.cpp
→
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_c_shuffle_i8_i8_i8_km_kn_mn_instance.cpp
View file @
bf714e5e
File moved
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_c_shuffle_i8_i8_i8
/device_gemm_xdl_c_shuffle_i8_i8_i8
_km_nk_mn_instance.cpp
→
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_c_shuffle_i8_i8_i8_km_nk_mn_instance.cpp
View file @
bf714e5e
File moved
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_c_shuffle_i8_i8_i8
/device_gemm_xdl_c_shuffle_i8_i8_i8
_mk_kn_mn_instance.cpp
→
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_c_shuffle_i8_i8_i8_mk_kn_mn_instance.cpp
View file @
bf714e5e
File moved
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_c_shuffle_i8_i8_i8
/device_gemm_xdl_c_shuffle_i8_i8_i8
_mk_nk_mn_instance.cpp
→
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_c_shuffle_i8_i8_i8_mk_nk_mn_instance.cpp
View file @
bf714e5e
File moved
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_f16_f16_f16/CMakeLists.txt
deleted
100644 → 0
View file @
d9ce3a57
target_sources
(
${
INSTANCE_LIBRARY_NAME
}
PRIVATE
km_kn_mn_add_instance.cpp
km_kn_mn_default_pipeline_v1_instance.cpp
km_kn_mn_default_pipeline_v2_instance.cpp
km_kn_mn_interwave_pipeline_v1_instance.cpp
km_kn_mn_irregular_default_pipeline_v1_instance.cpp
km_kn_mn_irregular_default_pipeline_v2_instance.cpp
km_kn_mn_irregular_interwave_pipeline_v1_instance.cpp
km_nk_mn_add_instance.cpp
km_nk_mn_default_pipeline_v1_instance.cpp
km_nk_mn_default_pipeline_v2_instance.cpp
km_nk_mn_interwave_pipeline_v1_instance.cpp
km_nk_mn_irregular_default_pipeline_v1_instance.cpp
km_nk_mn_irregular_default_pipeline_v2_instance.cpp
km_nk_mn_irregular_interwave_pipeline_v1_instance.cpp
mk_kn_mn_add_instance.cpp
mk_kn_mn_default_pipeline_v1_instance.cpp
mk_kn_mn_default_pipeline_v2_instance.cpp
mk_kn_mn_interwave_pipeline_v1_instance.cpp
mk_kn_mn_irregular_default_pipeline_v1_instance.cpp
mk_kn_mn_irregular_default_pipeline_v2_instance.cpp
mk_kn_mn_irregular_interwave_pipeline_v1_instance.cpp
mk_nk_mn_add_instance.cpp
mk_nk_mn_default_pipeline_v1_instance.cpp
mk_nk_mn_default_pipeline_v2_instance.cpp
mk_nk_mn_interwave_pipeline_v1_instance.cpp
mk_nk_mn_irregular_default_pipeline_v1_instance.cpp
mk_nk_mn_irregular_default_pipeline_v2_instance.cpp
mk_nk_mn_irregular_interwave_pipeline_v1_instance.cpp
)
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_f16_f16_f16/km_kn_mn_add_instance.cpp
View file @
bf714e5e
...
@@ -14,6 +14,7 @@ using Instances = OwnerList<InstanceNT>;
...
@@ -14,6 +14,7 @@ using Instances = OwnerList<InstanceNT>;
void
add_device_gemm_xdl_f16_f16_f16_km_kn_mn_default_pipeline_v1_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_km_kn_mn_default_pipeline_v1_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_km_kn_mn_interwave_pipeline_v1_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_km_kn_mn_interwave_pipeline_v1_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_km_kn_mn_default_pipeline_v2_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_km_kn_mn_default_pipeline_v2_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_km_kn_mn_default_pipeline_v2_opt_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_km_kn_mn_irregular_default_pipeline_v1_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_km_kn_mn_irregular_default_pipeline_v1_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_km_kn_mn_irregular_interwave_pipeline_v1_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_km_kn_mn_irregular_interwave_pipeline_v1_instances
(
Instances
&
);
...
@@ -24,6 +25,7 @@ void add_device_gemm_xdl_f16_f16_f16_km_kn_mn_instances(Instances& instances)
...
@@ -24,6 +25,7 @@ void add_device_gemm_xdl_f16_f16_f16_km_kn_mn_instances(Instances& instances)
add_device_gemm_xdl_f16_f16_f16_km_kn_mn_default_pipeline_v1_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_km_kn_mn_default_pipeline_v1_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_km_kn_mn_interwave_pipeline_v1_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_km_kn_mn_interwave_pipeline_v1_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_km_kn_mn_default_pipeline_v2_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_km_kn_mn_default_pipeline_v2_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_km_kn_mn_default_pipeline_v2_opt_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_km_kn_mn_irregular_default_pipeline_v1_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_km_kn_mn_irregular_default_pipeline_v1_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_km_kn_mn_irregular_interwave_pipeline_v1_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_km_kn_mn_irregular_interwave_pipeline_v1_instances
(
instances
);
...
...
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_f16_f16_f16/km_kn_mn_default_pipeline_v2_opt_instance.cpp
0 → 100644
View file @
bf714e5e
// SPDX-License-Identifier: MIT
// Copyright (c) 2018-2023, Advanced Micro Devices, Inc. All rights reserved.
#include "common.hpp"
namespace
ck
{
namespace
tensor_operation
{
namespace
device
{
namespace
instance
{
// Compilation parameters for a[k, m] * b[k, n] = c[m, n]
using
Instances
=
std
::
tuple
<
// clang-format off
#if CK_EXPERIMENTAL_PIPELINE_V2_INSTANCES
// pipeline v2, 1 wave
//##########| AData| BData| CData| AccData| ALayout| BLayout| CLayout| A| B| C| GEMM| Block| MPer| NPer| K0Per| K1| MPer| NPer| MXdl| NXdl| ABlockTransfer| ABlockTransfer| ABlockTransfer| ABlockTransfer| ABlockTransfer| ABlockTransfer| ABlockLds| BBlockTransfer| BBlockTransfer| BBlockTransfer| BlockTransfer| BBlockTransfer| BBlockTransfer| BBlockLds| CThreadTransfer| CThreadTransfer| NumPrefetch| LoopScheduler| Pipeline|
//##########| Type| Type| Type| Type| | | | Elementwise| Elementwise| Elementwise|Specialization| Size| Block| Block| Block| | XDL| XDL| Per| Per| ThreadCluster| ThreadCluster| SrcAccessOrder| SrcVectorDim| SrcScalar| DstScalar| AddExtraM| ThreadCluster| ThreadCluster| SrcAccessOrder| SrcVectorDim| SrcScalar| DstScalar| AddExtraN| SrcDstVectorDim| DstScalar| | | |
//##########| | | | | | | | Operation| Operation| Operation| | | | | | | | | Wave| Wave| Lengths_K0_M_K1| ArrangeOrder| | | PerVector| PerVector_K1| | Lengths_K0_N_K1| ArrangeOrder| | | PerVector| PerVector_K1| | | PerVector| | | |
//##########| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
DeviceGemmXdl
<
F16
,
F16
,
F16
,
F32
,
Col
,
Row
,
Row
,
PassThrough
,
PassThrough
,
PassThrough
,
GemmDefault
,
256
,
64
,
128
,
8
,
8
,
32
,
32
,
1
,
2
,
S
<
4
,
64
,
1
>
,
S
<
0
,
2
,
1
>
,
S
<
0
,
2
,
1
>
,
1
,
1
,
8
,
true
,
S
<
4
,
64
,
1
>
,
S
<
0
,
2
,
1
>
,
S
<
0
,
2
,
1
>
,
1
,
2
,
8
,
true
,
7
,
1
,
1
,
LoopScheduler
::
Default
,
PipelineVersion
::
v2
>
#endif
// clang-format on
>
;
void
add_device_gemm_xdl_f16_f16_f16_km_kn_mn_default_pipeline_v2_opt_instances
(
OwnerList
<
InstanceNT
>&
instances
)
{
add_device_operation_instances
(
instances
,
Instances
{});
}
}
// namespace instance
}
// namespace device
}
// namespace tensor_operation
}
// namespace ck
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_f16_f16_f16/km_nk_mn_add_instance.cpp
View file @
bf714e5e
...
@@ -14,6 +14,7 @@ using Instances = OwnerList<Instance>;
...
@@ -14,6 +14,7 @@ using Instances = OwnerList<Instance>;
void
add_device_gemm_xdl_f16_f16_f16_km_nk_mn_default_pipeline_v1_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_km_nk_mn_default_pipeline_v1_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_km_nk_mn_interwave_pipeline_v1_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_km_nk_mn_interwave_pipeline_v1_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_km_nk_mn_default_pipeline_v2_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_km_nk_mn_default_pipeline_v2_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_km_nk_mn_default_pipeline_v2_opt_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_km_nk_mn_irregular_default_pipeline_v1_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_km_nk_mn_irregular_default_pipeline_v1_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_km_nk_mn_irregular_interwave_pipeline_v1_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_km_nk_mn_irregular_interwave_pipeline_v1_instances
(
Instances
&
);
...
@@ -24,6 +25,7 @@ void add_device_gemm_xdl_f16_f16_f16_km_nk_mn_instances(Instances& instances)
...
@@ -24,6 +25,7 @@ void add_device_gemm_xdl_f16_f16_f16_km_nk_mn_instances(Instances& instances)
add_device_gemm_xdl_f16_f16_f16_km_nk_mn_default_pipeline_v1_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_km_nk_mn_default_pipeline_v1_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_km_nk_mn_interwave_pipeline_v1_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_km_nk_mn_interwave_pipeline_v1_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_km_nk_mn_default_pipeline_v2_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_km_nk_mn_default_pipeline_v2_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_km_nk_mn_default_pipeline_v2_opt_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_km_nk_mn_irregular_default_pipeline_v1_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_km_nk_mn_irregular_default_pipeline_v1_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_km_nk_mn_irregular_interwave_pipeline_v1_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_km_nk_mn_irregular_interwave_pipeline_v1_instances
(
instances
);
...
...
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_f16_f16_f16/km_nk_mn_default_pipeline_v2_opt_instance.cpp
0 → 100644
View file @
bf714e5e
// SPDX-License-Identifier: MIT
// Copyright (c) 2018-2023, Advanced Micro Devices, Inc. All rights reserved.
#include "common.hpp"
namespace
ck
{
namespace
tensor_operation
{
namespace
device
{
namespace
instance
{
// Compilation parameters for a[k, m] * b[n, k] = c[m, n]
using
Instances
=
std
::
tuple
<
// clang-format off
#if CK_EXPERIMENTAL_PIPELINE_V2_INSTANCES
// pipeline v2, 1 wave
//##########| AData| BData| CData| AccData| ALayout| BLayout| CLayout| A| B| C| GEMM| Block| MPer| NPer| K0Per| K1| MPer| NPer| MXdl| NXdl| ABlockTransfer| ABlockTransfer| ABlockTransfer| ABlockTransfer| ABlockTransfer| ABlockTransfer| ABlockLds| BBlockTransfer| BBlockTransfer| BBlockTransfer| BlockTransfer| BBlockTransfer| BBlockTransfer| BBlockLds| CThreadTransfer| CThreadTransfer| NumPrefetch| LoopScheduler| Pipeline|
//##########| Type| Type| Type| Type| | | | Elementwise| Elementwise| Elementwise|Specialization| Size| Block| Block| Block| | XDL| XDL| Per| Per| ThreadCluster| ThreadCluster| SrcAccessOrder| SrcVectorDim| SrcScalar| DstScalar| AddExtraM| ThreadCluster| ThreadCluster| SrcAccessOrder| SrcVectorDim| SrcScalar| DstScalar| AddExtraN| SrcDstVectorDim| DstScalar| | | |
//##########| | | | | | | | Operation| Operation| Operation| | | | | | | | | Wave| Wave| Lengths_K0_M_K1| ArrangeOrder| | | PerVector| PerVector_K1| | Lengths_K0_N_K1| ArrangeOrder| | | PerVector| PerVector_K1| | | PerVector| | | |
//##########| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
DeviceGemmXdl
<
F16
,
F16
,
F16
,
F32
,
Col
,
Col
,
Row
,
PassThrough
,
PassThrough
,
PassThrough
,
GemmDefault
,
256
,
64
,
128
,
8
,
8
,
32
,
32
,
1
,
2
,
S
<
4
,
64
,
1
>
,
S
<
0
,
2
,
1
>
,
S
<
0
,
2
,
1
>
,
1
,
1
,
8
,
true
,
S
<
4
,
64
,
1
>
,
S
<
1
,
0
,
2
>
,
S
<
1
,
0
,
2
>
,
2
,
8
,
8
,
true
,
7
,
1
,
1
,
LoopScheduler
::
Default
,
PipelineVersion
::
v2
>
#endif
// clang-format on
>
;
void
add_device_gemm_xdl_f16_f16_f16_km_nk_mn_default_pipeline_v2_opt_instances
(
OwnerList
<
InstanceNN
>&
instances
)
{
add_device_operation_instances
(
instances
,
Instances
{});
}
}
// namespace instance
}
// namespace device
}
// namespace tensor_operation
}
// namespace ck
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_f16_f16_f16/mk_kn_mn_add_instance.cpp
View file @
bf714e5e
...
@@ -14,6 +14,7 @@ using Instances = OwnerList<Instance>;
...
@@ -14,6 +14,7 @@ using Instances = OwnerList<Instance>;
void
add_device_gemm_xdl_f16_f16_f16_mk_kn_mn_default_pipeline_v1_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_mk_kn_mn_default_pipeline_v1_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_mk_kn_mn_interwave_pipeline_v1_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_mk_kn_mn_interwave_pipeline_v1_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_mk_kn_mn_default_pipeline_v2_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_mk_kn_mn_default_pipeline_v2_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_mk_kn_mn_default_pipeline_v2_opt_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_mk_kn_mn_irregular_default_pipeline_v1_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_mk_kn_mn_irregular_default_pipeline_v1_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_mk_kn_mn_irregular_interwave_pipeline_v1_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_mk_kn_mn_irregular_interwave_pipeline_v1_instances
(
Instances
&
);
...
@@ -24,6 +25,7 @@ void add_device_gemm_xdl_f16_f16_f16_mk_kn_mn_instances(Instances& instances)
...
@@ -24,6 +25,7 @@ void add_device_gemm_xdl_f16_f16_f16_mk_kn_mn_instances(Instances& instances)
add_device_gemm_xdl_f16_f16_f16_mk_kn_mn_default_pipeline_v1_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_mk_kn_mn_default_pipeline_v1_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_mk_kn_mn_interwave_pipeline_v1_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_mk_kn_mn_interwave_pipeline_v1_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_mk_kn_mn_default_pipeline_v2_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_mk_kn_mn_default_pipeline_v2_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_mk_kn_mn_default_pipeline_v2_opt_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_mk_kn_mn_irregular_default_pipeline_v1_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_mk_kn_mn_irregular_default_pipeline_v1_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_mk_kn_mn_irregular_interwave_pipeline_v1_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_mk_kn_mn_irregular_interwave_pipeline_v1_instances
(
instances
);
...
...
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_f16_f16_f16/mk_kn_mn_default_pipeline_v2_opt_instance.cpp
0 → 100644
View file @
bf714e5e
// SPDX-License-Identifier: MIT
// Copyright (c) 2018-2023, Advanced Micro Devices, Inc. All rights reserved.
#include "common.hpp"
namespace
ck
{
namespace
tensor_operation
{
namespace
device
{
namespace
instance
{
// Compilation parameters for a[m, k] * b[k, n] = c[m, n]
using
Instances
=
std
::
tuple
<
// clang-format off
#if CK_EXPERIMENTAL_PIPELINE_V2_INSTANCES
// pipeline v2, 1 wave
//##########| AData| BData| CData| AccData| ALayout| BLayout| CLayout| A| B| C| GEMM| Block| MPer| NPer| K0Per| K1| MPer| NPer| MXdl| NXdl| ABlockTransfer| ABlockTransfer| ABlockTransfer| ABlockTransfer| ABlockTransfer| ABlockTransfer| ABlockLds| BBlockTransfer| BBlockTransfer| BBlockTransfer| BlockTransfer| BBlockTransfer| BBlockTransfer| BBlockLds| CThreadTransfer| CThreadTransfer| NumPrefetch| LoopScheduler| Pipeline|
//##########| Type| Type| Type| Type| | | | Elementwise| Elementwise| Elementwise|Specialization| Size| Block| Block| Block| | XDL| XDL| Per| Per| ThreadCluster| ThreadCluster| SrcAccessOrder| SrcVectorDim| SrcScalar| DstScalar| AddExtraM| ThreadCluster| ThreadCluster| SrcAccessOrder| SrcVectorDim| SrcScalar| DstScalar| AddExtraN| SrcDstVectorDim| DstScalar| | | |
//##########| | | | | | | | Operation| Operation| Operation| | | | | | | | | Wave| Wave| Lengths_K0_M_K1| ArrangeOrder| | | PerVector| PerVector_K1| | Lengths_K0_N_K1| ArrangeOrder| | | PerVector| PerVector_K1| | | PerVector| | | |
//##########| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
DeviceGemmXdl
<
F16
,
F16
,
F16
,
F32
,
Row
,
Row
,
Row
,
PassThrough
,
PassThrough
,
PassThrough
,
GemmDefault
,
256
,
64
,
128
,
8
,
8
,
32
,
32
,
1
,
2
,
S
<
4
,
64
,
1
>
,
S
<
1
,
0
,
2
>
,
S
<
1
,
0
,
2
>
,
2
,
8
,
8
,
true
,
S
<
4
,
64
,
1
>
,
S
<
0
,
2
,
1
>
,
S
<
0
,
2
,
1
>
,
1
,
2
,
8
,
true
,
7
,
1
,
1
,
LoopScheduler
::
Default
,
PipelineVersion
::
v2
>
#endif
// clang-format on
>
;
void
add_device_gemm_xdl_f16_f16_f16_mk_kn_mn_default_pipeline_v2_opt_instances
(
OwnerList
<
InstanceTT
>&
instances
)
{
add_device_operation_instances
(
instances
,
Instances
{});
}
}
// namespace instance
}
// namespace device
}
// namespace tensor_operation
}
// namespace ck
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_f16_f16_f16/mk_nk_mn_add_instance.cpp
View file @
bf714e5e
...
@@ -14,6 +14,7 @@ using Instances = OwnerList<Instance>;
...
@@ -14,6 +14,7 @@ using Instances = OwnerList<Instance>;
void
add_device_gemm_xdl_f16_f16_f16_mk_nk_mn_default_pipeline_v1_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_mk_nk_mn_default_pipeline_v1_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_mk_nk_mn_interwave_pipeline_v1_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_mk_nk_mn_interwave_pipeline_v1_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_mk_nk_mn_default_pipeline_v2_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_mk_nk_mn_default_pipeline_v2_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_mk_nk_mn_default_pipeline_v2_opt_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_mk_nk_mn_irregular_default_pipeline_v1_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_mk_nk_mn_irregular_default_pipeline_v1_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_mk_nk_mn_irregular_interwave_pipeline_v1_instances
(
Instances
&
);
void
add_device_gemm_xdl_f16_f16_f16_mk_nk_mn_irregular_interwave_pipeline_v1_instances
(
Instances
&
);
...
@@ -24,6 +25,7 @@ void add_device_gemm_xdl_f16_f16_f16_mk_nk_mn_instances(Instances& instances)
...
@@ -24,6 +25,7 @@ void add_device_gemm_xdl_f16_f16_f16_mk_nk_mn_instances(Instances& instances)
add_device_gemm_xdl_f16_f16_f16_mk_nk_mn_default_pipeline_v1_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_mk_nk_mn_default_pipeline_v1_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_mk_nk_mn_interwave_pipeline_v1_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_mk_nk_mn_interwave_pipeline_v1_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_mk_nk_mn_default_pipeline_v2_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_mk_nk_mn_default_pipeline_v2_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_mk_nk_mn_default_pipeline_v2_opt_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_mk_nk_mn_irregular_default_pipeline_v1_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_mk_nk_mn_irregular_default_pipeline_v1_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_mk_nk_mn_irregular_interwave_pipeline_v1_instances
(
instances
);
add_device_gemm_xdl_f16_f16_f16_mk_nk_mn_irregular_interwave_pipeline_v1_instances
(
instances
);
...
...
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_f16_f16_f16/mk_nk_mn_default_pipeline_v2_opt_instance.cpp
0 → 100644
View file @
bf714e5e
// SPDX-License-Identifier: MIT
// Copyright (c) 2018-2023, Advanced Micro Devices, Inc. All rights reserved.
#include "common.hpp"
namespace
ck
{
namespace
tensor_operation
{
namespace
device
{
namespace
instance
{
// Compilation parameters for a[m, k] * b[n, k] = c[m, n]
using
Instances
=
std
::
tuple
<
// clang-format off
#if CK_EXPERIMENTAL_PIPELINE_V2_INSTANCES
// pipeline v2, 1 wave
//###########| AData| BData| CData| AccData| ALayout| BLayout| CLayout| A| B| C| GEMM| Block| MPer| NPer| K0Per| K1| MPer| NPer| MXdl| NXdl| ABlockTransfer| ABlockTransfer| ABlockTransfer| ABlockTransfer| ABlockTransfer| ABlockTransfer| ABlockLds| BBlockTransfer| BBlockTransfer| BBlockTransfer| BlockTransfer| BBlockTransfer| BBlockTransfer| BBlockLds| CThreadTransfer| CThreadTransfer| NumPrefetch| LoopScheduler| Pipeline|
//###########| Type| Type| Type| Type| | | | Elementwise| Elementwise| Elementwise|Specialization| Size| Block| Block| Block| | XDL| XDL| Per| Per| ThreadCluster| ThreadCluster| SrcAccessOrder| SrcVectorDim| SrcScalar| DstScalar| AddExtraM| ThreadCluster| ThreadCluster| SrcAccessOrder| SrcVectorDim| SrcScalar| DstScalar| AddExtraN| SrcDstVectorDim| DstScalar| | | |
//###########| | | | | | | | Operation| Operation| Operation| | | | | | | | | Wave| Wave| Lengths_K0_M_K1| ArrangeOrder| | | PerVector| PerVector_K1| | Lengths_K0_N_K1| ArrangeOrder| | | PerVector| PerVector_K1| | | PerVector| | | |
//###########| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
DeviceGemmXdl
<
F16
,
F16
,
F16
,
F32
,
Row
,
Col
,
Row
,
PassThrough
,
PassThrough
,
PassThrough
,
GemmDefault
,
256
,
64
,
128
,
8
,
8
,
32
,
32
,
1
,
2
,
S
<
4
,
64
,
1
>
,
S
<
1
,
0
,
2
>
,
S
<
1
,
0
,
2
>
,
2
,
8
,
8
,
true
,
S
<
4
,
64
,
1
>
,
S
<
1
,
0
,
2
>
,
S
<
1
,
0
,
2
>
,
2
,
8
,
8
,
true
,
7
,
1
,
1
,
LoopScheduler
::
Default
,
PipelineVersion
::
v2
>
#endif
// clang-format on
>
;
void
add_device_gemm_xdl_f16_f16_f16_mk_nk_mn_default_pipeline_v2_opt_instances
(
OwnerList
<
InstanceTN
>&
instances
)
{
add_device_operation_instances
(
instances
,
Instances
{});
}
}
// namespace instance
}
// namespace device
}
// namespace tensor_operation
}
// namespace ck
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_f32_f32_f32/CMakeLists.txt
deleted
100644 → 0
View file @
d9ce3a57
target_sources
(
${
INSTANCE_LIBRARY_NAME
}
PRIVATE
device_gemm_xdl_f32_f32_f32_km_kn_mn_instance.cpp
device_gemm_xdl_f32_f32_f32_km_nk_mn_instance.cpp
device_gemm_xdl_f32_f32_f32_mk_kn_mn_instance.cpp
device_gemm_xdl_f32_f32_f32_mk_nk_mn_instance.cpp
)
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_f32_f32_f32
/device_gemm_xdl_f32_f32_f32
_km_kn_mn_instance.cpp
→
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_f32_f32_f32_km_kn_mn_instance.cpp
View file @
bf714e5e
File moved
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_f32_f32_f32
/device_gemm_xdl_f32_f32_f32
_km_nk_mn_instance.cpp
→
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_f32_f32_f32_km_nk_mn_instance.cpp
View file @
bf714e5e
File moved
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_f32_f32_f32
/device_gemm_xdl_f32_f32_f32
_mk_kn_mn_instance.cpp
→
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_f32_f32_f32_mk_kn_mn_instance.cpp
View file @
bf714e5e
File moved
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_f32_f32_f32
/device_gemm_xdl_f32_f32_f32
_mk_nk_mn_instance.cpp
→
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_f32_f32_f32_mk_nk_mn_instance.cpp
View file @
bf714e5e
File moved
library/src/tensor_operation_instance/gpu/gemm/device_gemm_xdl_f64_f64_f64/CMakeLists.txt
deleted
100644 → 0
View file @
d9ce3a57
target_sources
(
${
INSTANCE_LIBRARY_NAME
}
PRIVATE
device_gemm_xdl_f64_f64_f64_km_kn_mn_instance.cpp
device_gemm_xdl_f64_f64_f64_km_nk_mn_instance.cpp
device_gemm_xdl_f64_f64_f64_mk_kn_mn_instance.cpp
device_gemm_xdl_f64_f64_f64_mk_nk_mn_instance.cpp
)
Prev
1
2
3
4
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