ALP User Documentation  0.8.preview
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 
33 namespace grb {
34 
47  enum RC {
48 
54  SUCCESS = 0,
55 
69 
79 
91 
107 
120 
130 
144 
155 
156  };
157 
159  std::string toString( const RC code );
160 
161 } // namespace grb
162 
163 #endif
164 
A call to a primitive has determined that one of its arguments was illegal as per the specification o...
Definition: rc.hpp:143
RC
Return codes of ALP primitives.
Definition: rc.hpp:47
Signals an out-of-memory error while executing the requested primitive.
Definition: rc.hpp:78
Indicates that the execution of the requested primitive with the given arguments is not supported by ...
Definition: rc.hpp:129
Indicates when one of the grb::algorithms has failed to achieve its intended result,...
Definition: rc.hpp:154
The ALP/GraphBLAS namespace.
Definition: graphblas.hpp:477
Generic fatal error code.
Definition: rc.hpp:68
Indicates that execution of the requested primitive with the given arguments would result in overflow...
Definition: rc.hpp:119
Indicates the primitive has executed successfully.
Definition: rc.hpp:54
One or more of the ALP/GraphBLAS objects passed to the primitive that returned this error have mismat...
Definition: rc.hpp:90
One or more of the GraphBLAS objects corresponding to the call returning this error refer to the same...
Definition: rc.hpp:106
std::string toString(const RC code)