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 <algorithm>
12 : #include <future>
13 : #include <map>
14 : #include <string>
15 : #include <hccl/hccl_types.h>
16 :
17 : #include "op_base.h"
18 :
19 : using namespace std;
20 : using namespace hccl;
21 :
22 1 : HcclResult GetCaptureInfo(aclrtStream stream, aclmdlRICaptureStatus &captureStatus, uint64_t &modelId, bool &isCapture)
23 : {
24 1 : HCCL_WARNING("[%s]Stream capture does not support!", __func__);
25 1 : return HCCL_SUCCESS;
26 : }
27 :
28 0 : HcclResult HcclAllReduceInner(void *sendBuf, void *recvBuf, uint64_t count, HcclDataType dataType,
29 : HcclReduceOp op, HcclComm comm, aclrtStream stream)
30 : {
31 0 : HCCL_WARNING("[%s]HcclAllReduceInner does not support!", __func__);
32 0 : return HCCL_SUCCESS;
33 : }
|