-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
coderfeli
committed
Dec 27, 2024
1 parent
a721edb
commit a6fca1c
Showing
8 changed files
with
351 additions
and
2 deletions.
There are no files selected for viewing
153 changes: 153 additions & 0 deletions
153
..._multiply_multiply_xdl_f8_f8_f16/device_gemm_multiply_multiply_xdl_f8_f8_f16_mk_nk_mn.hpp
Large diffs are not rendered by default.
Oops, something went wrong.
32 changes: 32 additions & 0 deletions
32
..._f8_f8_f16/device_gemm_multiply_multiply_xdl_f8_f8_f16_mk_nk_mn_comp_default_instance.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// SPDX-License-Identifier: MIT | ||
// Copyright (c) 2024, Advanced Micro Devices, Inc. All rights reserved. | ||
|
||
#include "device_gemm_multiply_multiply_xdl_f8_f8_f16_mk_nk_mn.hpp" | ||
|
||
namespace ck { | ||
namespace tensor_operation { | ||
namespace device { | ||
namespace instance { | ||
|
||
void add_device_gemm_multiply_multiply_xdl_f8_f8_f16_mk_nk_mn_comp_default_instances( | ||
std::vector<std::unique_ptr<DeviceGemmMultipleDSplitK<Row, | ||
Col, | ||
Tuple<Row, Col>, | ||
Row, | ||
F8, | ||
F8, | ||
Tuple<F32, F32>, | ||
F16, | ||
PassThrough, | ||
PassThrough, | ||
MultiplyMultiply>>>& instances) | ||
{ | ||
add_device_operation_instances( | ||
instances, | ||
device_gemm_multiply_multiply_xdl_f8_f8_f16_mk_nk_mn_comp_instances<GemmDefault>{}); | ||
} | ||
|
||
} // namespace instance | ||
} // namespace device | ||
} // namespace tensor_operation | ||
} // namespace ck |
32 changes: 32 additions & 0 deletions
32
...f8_f8_f16/device_gemm_multiply_multiply_xdl_f8_f8_f16_mk_nk_mn_comp_kpadding_instance.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// SPDX-License-Identifier: MIT | ||
// Copyright (c) 2024, Advanced Micro Devices, Inc. All rights reserved. | ||
|
||
#include "device_gemm_multiply_multiply_xdl_f8_f8_f16_mk_nk_mn.hpp" | ||
|
||
namespace ck { | ||
namespace tensor_operation { | ||
namespace device { | ||
namespace instance { | ||
|
||
void add_device_gemm_multiply_multiply_xdl_f8_f8_f16_mk_nk_mn_comp_kpadding_instances( | ||
std::vector<std::unique_ptr<DeviceGemmMultipleDSplitK<Row, | ||
Col, | ||
Tuple<Row, Col>, | ||
Row, | ||
F8, | ||
F8, | ||
Tuple<F32, F32>, | ||
F16, | ||
PassThrough, | ||
PassThrough, | ||
MultiplyMultiply>>>& instances) | ||
{ | ||
add_device_operation_instances( | ||
instances, | ||
device_gemm_multiply_multiply_xdl_f8_f8_f16_mk_nk_mn_comp_instances<GemmKPadding>{}); | ||
} | ||
|
||
} // namespace instance | ||
} // namespace device | ||
} // namespace tensor_operation | ||
} // namespace ck |
33 changes: 33 additions & 0 deletions
33
...8_f8_f16/device_gemm_multiply_multiply_xdl_f8_f8_f16_mk_nk_mn_mem_v1_default_instance.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// SPDX-License-Identifier: MIT | ||
// Copyright (c) 2024, Advanced Micro Devices, Inc. All rights reserved. | ||
|
||
#include "device_gemm_multiply_multiply_xdl_f8_f8_f16_mk_nk_mn.hpp" | ||
|
||
namespace ck { | ||
namespace tensor_operation { | ||
namespace device { | ||
namespace instance { | ||
|
||
void add_device_gemm_multiply_multiply_xdl_f8_f8_f16_mk_nk_mn_mem_v1_default_instances( | ||
std::vector<std::unique_ptr<DeviceGemmMultipleDSplitK<Row, | ||
Col, | ||
Tuple<Row, Col>, | ||
Row, | ||
F8, | ||
F8, | ||
Tuple<F32, F32>, | ||
F16, | ||
PassThrough, | ||
PassThrough, | ||
MultiplyMultiply>>>& instances) | ||
{ | ||
add_device_operation_instances( | ||
instances, | ||
device_gemm_multiply_multiply_xdl_f8_f8_f16_mk_nk_mn_mem_instances<Intrawave, | ||
GemmDefault>{}); | ||
} | ||
|
||
} // namespace instance | ||
} // namespace device | ||
} // namespace tensor_operation | ||
} // namespace ck |
33 changes: 33 additions & 0 deletions
33
..._f8_f16/device_gemm_multiply_multiply_xdl_f8_f8_f16_mk_nk_mn_mem_v1_kpadding_instance.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// SPDX-License-Identifier: MIT | ||
// Copyright (c) 2024, Advanced Micro Devices, Inc. All rights reserved. | ||
|
||
#include "device_gemm_multiply_multiply_xdl_f8_f8_f16_mk_nk_mn.hpp" | ||
|
||
namespace ck { | ||
namespace tensor_operation { | ||
namespace device { | ||
namespace instance { | ||
|
||
void add_device_gemm_multiply_multiply_xdl_f8_f8_f16_mk_nk_mn_mem_v1_kpadding_instances( | ||
std::vector<std::unique_ptr<DeviceGemmMultipleDSplitK<Row, | ||
Col, | ||
Tuple<Row, Col>, | ||
Row, | ||
F8, | ||
F8, | ||
Tuple<F32, F32>, | ||
F16, | ||
PassThrough, | ||
PassThrough, | ||
MultiplyMultiply>>>& instances) | ||
{ | ||
add_device_operation_instances( | ||
instances, | ||
device_gemm_multiply_multiply_xdl_f8_f8_f16_mk_nk_mn_mem_instances<Intrawave, | ||
GemmKPadding>{}); | ||
} | ||
|
||
} // namespace instance | ||
} // namespace device | ||
} // namespace tensor_operation | ||
} // namespace ck |
33 changes: 33 additions & 0 deletions
33
...8_f8_f16/device_gemm_multiply_multiply_xdl_f8_f8_f16_mk_nk_mn_mem_v2_default_instance.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// SPDX-License-Identifier: MIT | ||
// Copyright (c) 2024, Advanced Micro Devices, Inc. All rights reserved. | ||
|
||
#include "device_gemm_multiply_multiply_xdl_f8_f8_f16_mk_nk_mn.hpp" | ||
|
||
namespace ck { | ||
namespace tensor_operation { | ||
namespace device { | ||
namespace instance { | ||
|
||
void add_device_gemm_multiply_multiply_xdl_f8_f8_f16_mk_nk_mn_mem_v2_default_instances( | ||
std::vector<std::unique_ptr<DeviceGemmMultipleDSplitK<Row, | ||
Col, | ||
Tuple<Row, Col>, | ||
Row, | ||
F8, | ||
F8, | ||
Tuple<F32, F32>, | ||
F16, | ||
PassThrough, | ||
PassThrough, | ||
MultiplyMultiply>>>& instances) | ||
{ | ||
add_device_operation_instances( | ||
instances, | ||
device_gemm_multiply_multiply_xdl_f8_f8_f16_mk_nk_mn_mem_instances<Interwave, | ||
GemmDefault>{}); | ||
} | ||
|
||
} // namespace instance | ||
} // namespace device | ||
} // namespace tensor_operation | ||
} // namespace ck |
33 changes: 33 additions & 0 deletions
33
..._f8_f16/device_gemm_multiply_multiply_xdl_f8_f8_f16_mk_nk_mn_mem_v2_kpadding_instance.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// SPDX-License-Identifier: MIT | ||
// Copyright (c) 2024, Advanced Micro Devices, Inc. All rights reserved. | ||
|
||
#include "device_gemm_multiply_multiply_xdl_f8_f8_f16_mk_nk_mn.hpp" | ||
|
||
namespace ck { | ||
namespace tensor_operation { | ||
namespace device { | ||
namespace instance { | ||
|
||
void add_device_gemm_multiply_multiply_xdl_f8_f8_f16_mk_nk_mn_mem_v2_kpadding_instances( | ||
std::vector<std::unique_ptr<DeviceGemmMultipleDSplitK<Row, | ||
Col, | ||
Tuple<Row, Col>, | ||
Row, | ||
F8, | ||
F8, | ||
Tuple<F32, F32>, | ||
F16, | ||
PassThrough, | ||
PassThrough, | ||
MultiplyMultiply>>>& instances) | ||
{ | ||
add_device_operation_instances( | ||
instances, | ||
device_gemm_multiply_multiply_xdl_f8_f8_f16_mk_nk_mn_mem_instances<Interwave, | ||
GemmKPadding>{}); | ||
} | ||
|
||
} // namespace instance | ||
} // namespace device | ||
} // namespace tensor_operation | ||
} // namespace ck |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters