1
/* -------------------------------------------------------------- */
2
/* (C)Copyright 2008 */
3
/* International Business Machines Corporation */
4
/* All Rights Reserved. */
6
/* Redistribution and use in source and binary forms, with or */
7
/* without modification, are permitted provided that the */
8
/* following conditions are met: */
10
/* - Redistributions of source code must retain the above copyright*/
11
/* notice, this list of conditions and the following disclaimer. */
13
/* - Redistributions in binary form must reproduce the above */
14
/* copyright notice, this list of conditions and the following */
15
/* disclaimer in the documentation and/or other materials */
16
/* provided with the distribution. */
18
/* - Neither the name of IBM Corporation nor the names of its */
19
/* contributors may be used to endorse or promote products */
20
/* derived from this software without specific prior written */
23
/* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND */
24
/* CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, */
25
/* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF */
26
/* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE */
27
/* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR */
28
/* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, */
29
/* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT */
30
/* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; */
31
/* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) */
32
/* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN */
33
/* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR */
34
/* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, */
35
/* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
36
/* -------------------------------------------------------------- */
37
/* PROLOG END TAG zYx */
38
#ifndef _LAPACK_ERRNO_H_
39
#define _LAPACK_ERRNO_H_
41
#define LAPACK_ERR_BASE -128
43
#define E_LAPACK_INIT (LAPACK_ERR_BASE - 1)
45
#define E_MALLOC (LAPACK_ERR_BASE - 2)
46
#define E_LAPACK_TASK_START (LAPACK_ERR_BASE - 3)
47
#define E_LAPACK_TASK_WAIT (LAPACK_ERR_BASE - 4)
48
#define E_SIZE (LAPACK_ERR_BASE - 5)
50
#define E_DML_INIT (LAPACK_ERR_BASE - 10)
51
#define E_DML_MATINFO_REG (LAPACK_ERR_BASE - 11)
52
#define E_DML_M2B (LAPACK_ERR_BASE - 12)
53
#define E_DML_B2M (LAPACK_ERR_BASE - 13)
54
#define E_DML_B2B (LAPACK_ERR_BASE - 14)
55
#define E_DML_M2M (LAPACK_ERR_BASE - 15)
58
#define E_TAG_RESERVE (LAPACK_ERR_BASE - 30)
60
/* All the other internal errors can be reported as
61
* internal error but we need a trace before return
64
#define E_LAPACK_INTERNAL (LAPACK_ERR_BASE - 31)