Line data Source code
1 : /**
2 : * Copyright (c) 2025 Huawei Technologies Co., Ltd.
3 : * This program is free software, you can redistribute it and/or modify it under the terms and conditions of
4 : * CANN Open Software License Agreement Version 2.0 (the "License").
5 : * Please refer to the License for details. You may not use this file except in compliance with the License.
6 : * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED,
7 : * INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
8 : * See LICENSE in the root of the software repository for the full text of the License.
9 : */
10 :
11 : #include <vector>
12 :
13 : #include "ccu_datatype.h"
14 : #include "ccu_context_alg_base.h"
15 :
16 : namespace Hccl {
17 :
18 0 : void CcuContextAlgBase::GroupBroadcastV2(const std::vector<CcuTransport*> &transports, const std::vector<CcuRep::Memory> &dst,
19 : const CcuRep::Memory &src, const GroupOpSizeV2 &goSize) const
20 : {
21 : (void)transports;
22 : (void)dst;
23 : (void)src;
24 : (void)goSize;
25 0 : THROW<NotSupportException>("Unimplemented Interface: %s", __func__);
26 : }
27 :
28 0 : void CcuContextAlgBase::GroupReduceV2(const std::vector<CcuTransport*> &transports, const CcuRep::Memory& dst,
29 : const std::vector<CcuRep::Memory>& src, const GroupOpSizeV2 &goSize,
30 : DataType dataType, DataType outputDataType, ReduceOp reduceType) const
31 : {
32 : (void)transports;
33 : (void)dst;
34 : (void)src;
35 : (void)goSize;
36 : (void)dataType;
37 : (void)outputDataType;
38 : (void)reduceType;
39 0 : THROW<NotSupportException>("Unimplemented Interface: %s", __func__);
40 : }
41 : }
|