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(
19 : const std::vector<CcuTransport*>& transports, const std::vector<CcuRep::Memory>& dst, const CcuRep::Memory& src,
20 : const GroupOpSizeV2& goSize) const
21 : {
22 : (void)transports;
23 : (void)dst;
24 : (void)src;
25 : (void)goSize;
26 0 : THROW<NotSupportException>("Unimplemented Interface: %s", __func__);
27 : }
28 :
29 0 : void CcuContextAlgBase::GroupReduceV2(
30 : const std::vector<CcuTransport*>& transports, const CcuRep::Memory& dst, const std::vector<CcuRep::Memory>& src,
31 : const GroupOpSizeV2& goSize, DataType dataType, DataType outputDataType, ReduceOp reduceType) const
32 : {
33 : (void)transports;
34 : (void)dst;
35 : (void)src;
36 : (void)goSize;
37 : (void)dataType;
38 : (void)outputDataType;
39 : (void)reduceType;
40 0 : THROW<NotSupportException>("Unimplemented Interface: %s", __func__);
41 : }
42 : } // namespace Hccl
|