ALP User Documentation 0.7.0
Algebraic Programming User Documentation
rc.hpp
Go to the documentation of this file.
1
2/*
3 * Copyright 2021 Huawei Technologies Co., Ltd.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17
27#ifndef _H_GRB_RC
28#define _H_GRB_RC
29
30#include <string>
31
32
33namespace grb {
34
47 enum RC {
48
55
69
79
91
107
120
130
144
154 FAILED
155
156 };
157
159 std::string toString( const RC code );
160
161} // namespace grb
162
163#endif
164
The ALP/GraphBLAS namespace.
Definition: graphblas.hpp:452
RC
Return codes of ALP primitives.
Definition: rc.hpp:47
@ ILLEGAL
A call to a primitive has determined that one of its arguments was illegal as per the specification o...
Definition: rc.hpp:143
@ PANIC
Generic fatal error code.
Definition: rc.hpp:68
@ MISMATCH
One or more of the ALP/GraphBLAS objects passed to the primitive that returned this error have mismat...
Definition: rc.hpp:90
@ OUTOFMEM
Signals an out-of-memory error while executing the requested primitive.
Definition: rc.hpp:78
@ SUCCESS
Indicates the primitive has executed successfully.
Definition: rc.hpp:54
@ OVERLAP
One or more of the GraphBLAS objects corresponding to the call returning this error refer to the same...
Definition: rc.hpp:106
@ UNSUPPORTED
Indicates that the execution of the requested primitive with the given arguments is not supported by ...
Definition: rc.hpp:129
@ FAILED
Indicates when one of the grb::algorithms has failed to achieve its intended result,...
Definition: rc.hpp:154
@ OVERFLW
Indicates that execution of the requested primitive with the given arguments would result in overflow...
Definition: rc.hpp:119
std::string toString(const RC code)