ARGOBOTS
dce6e727ffc4ca5b3ffc04cb9517c6689be51ec5
|
This group is for Error Code. More...
Macros | |
#define | ABT_SUCCESS 0 |
Error code: the routine returns successfully. More... | |
#define | ABT_ERR_UNINITIALIZED 1 |
Error code: Argobots it not initialized. More... | |
#define | ABT_ERR_MEM 2 |
Error code: Memory allocation failure. More... | |
#define | ABT_ERR_OTHER 3 |
Error code: other error. More... | |
#define | ABT_ERR_INV_XSTREAM 4 |
Error code: invalid execution stream. More... | |
#define | ABT_ERR_INV_XSTREAM_RANK 5 |
Error code: invalid execution stream rank. More... | |
#define | ABT_ERR_INV_XSTREAM_BARRIER 6 |
Error code: invalid execution stream barrier. More... | |
#define | ABT_ERR_INV_SCHED 7 |
Error code: invalid scheduler. More... | |
#define | ABT_ERR_INV_SCHED_KIND 8 |
Error code: invalid scheduler kind. More... | |
#define | ABT_ERR_INV_SCHED_PREDEF 9 |
Error code: invalid predefined scheduler type. More... | |
#define | ABT_ERR_INV_SCHED_TYPE 10 |
Unused error code. More... | |
#define | ABT_ERR_INV_SCHED_CONFIG 11 |
Error code: invalid scheduler configuration. More... | |
#define | ABT_ERR_INV_POOL 12 |
Error code: invalid pool. More... | |
#define | ABT_ERR_INV_POOL_KIND 13 |
Error code: invalid pool kind. More... | |
#define | ABT_ERR_INV_POOL_ACCESS 14 |
Error code: invalid pool access type. More... | |
#define | ABT_ERR_INV_POOL_CONFIG 56 |
Error code: invalid pool configuration. More... | |
#define | ABT_ERR_INV_POOL_USER_DEF 57 |
Error code: invalid pool definition. More... | |
#define | ABT_ERR_INV_UNIT 15 |
Error code: invalid work unit for scheduling. More... | |
#define | ABT_ERR_INV_THREAD 16 |
Error code: invalid work unit. More... | |
#define | ABT_ERR_INV_THREAD_ATTR 17 |
Error code: invalid ULT attribute. More... | |
#define | ABT_ERR_INV_TASK 18 |
Error code: invalid work unit. More... | |
#define | ABT_ERR_INV_KEY 19 |
Error code: invalid work-unit-specific data key. More... | |
#define | ABT_ERR_INV_MUTEX 20 |
Error code: invalid mutex. More... | |
#define | ABT_ERR_INV_MUTEX_ATTR 21 |
Error code: invalid mutex attribute. More... | |
#define | ABT_ERR_INV_COND 22 |
Error code: invalid condition variable. More... | |
#define | ABT_ERR_INV_RWLOCK 23 |
Error code: invalid readers-writer lock. More... | |
#define | ABT_ERR_INV_EVENTUAL 24 |
Error code: invalid eventual. More... | |
#define | ABT_ERR_INV_FUTURE 25 |
Error code: invalid future. More... | |
#define | ABT_ERR_INV_BARRIER 26 |
Error code: invalid barrier. More... | |
#define | ABT_ERR_INV_TIMER 27 |
Error code: invalid timer. More... | |
#define | ABT_ERR_INV_QUERY_KIND 28 |
Error code: invalid query kind. More... | |
#define | ABT_ERR_INV_TOOL_CONTEXT 52 |
Error code: invalid tool context. More... | |
#define | ABT_ERR_INV_ARG 53 |
Error code: invalid user argument. More... | |
#define | ABT_ERR_XSTREAM 29 |
Error code: error related to an execution stream. More... | |
#define | ABT_ERR_XSTREAM_STATE 30 |
Error code: error related to an execution stream state. More... | |
#define | ABT_ERR_XSTREAM_BARRIER 31 |
Error code: error related to an execution stream. More... | |
#define | ABT_ERR_SCHED 32 |
Error code: error related to a scheduler. More... | |
#define | ABT_ERR_SCHED_CONFIG 33 |
Error code: error related to a scheduler configuration. More... | |
#define | ABT_ERR_POOL 34 |
Error code: error related to a pool. More... | |
#define | ABT_ERR_UNIT 35 |
Error code: error related to a work unit for scheduling. More... | |
#define | ABT_ERR_THREAD 36 |
Error code: error related to a work unit. More... | |
#define | ABT_ERR_TASK 37 |
Error code: error related to a work unit. More... | |
#define | ABT_ERR_KEY 38 |
Error code: error related to a work-unit-specific data key. More... | |
#define | ABT_ERR_MUTEX 39 |
Error code: error related to a mutex. More... | |
#define | ABT_ERR_MUTEX_LOCKED 40 |
Error code: a return value when a mutex is locked. More... | |
#define | ABT_ERR_COND 41 |
Error code: error related to a condition variable. More... | |
#define | ABT_ERR_COND_TIMEDOUT 42 |
Error code: a return value when a condition variable is timed out. More... | |
#define | ABT_ERR_RWLOCK 43 |
Error code: error related to a readers-writer lock. More... | |
#define | ABT_ERR_EVENTUAL 44 |
Error code: error related to an eventual. More... | |
#define | ABT_ERR_FUTURE 45 |
Error code: error related to a future. More... | |
#define | ABT_ERR_BARRIER 46 |
Error code: error related to a barrier. More... | |
#define | ABT_ERR_TIMER 47 |
Error code: error related to a timer. More... | |
#define | ABT_ERR_MIGRATION_TARGET 48 |
Error code: error related to a migration target. More... | |
#define | ABT_ERR_MIGRATION_NA 49 |
Error code: migration is not supported. More... | |
#define | ABT_ERR_MISSING_JOIN 50 |
Unused error code. More... | |
#define | ABT_ERR_FEATURE_NA 51 |
Error code: unsupported feature. More... | |
#define | ABT_ERR_SYS 54 |
Error code: error related to system calls and standard libraries. More... | |
#define | ABT_ERR_CPUID 55 |
Error code: error related to CPU ID. More... | |
This group is for Error Code.
#define ABT_ERR_BARRIER 46 |
#define ABT_ERR_COND 41 |
#define ABT_ERR_COND_TIMEDOUT 42 |
Error code: a return value when a condition variable is timed out.
This error code is used by ABT_cond_timedwait()
.
#define ABT_ERR_EVENTUAL 44 |
#define ABT_ERR_FEATURE_NA 51 |
#define ABT_ERR_FUTURE 45 |
#define ABT_ERR_INV_COND 22 |
#define ABT_ERR_INV_KEY 19 |
#define ABT_ERR_INV_MUTEX_ATTR 21 |
#define ABT_ERR_INV_POOL_ACCESS 14 |
#define ABT_ERR_INV_POOL_CONFIG 56 |
#define ABT_ERR_INV_POOL_KIND 13 |
#define ABT_ERR_INV_POOL_USER_DEF 57 |
#define ABT_ERR_INV_QUERY_KIND 28 |
#define ABT_ERR_INV_RWLOCK 23 |
#define ABT_ERR_INV_SCHED_CONFIG 11 |
#define ABT_ERR_INV_SCHED_KIND 8 |
#define ABT_ERR_INV_SCHED_PREDEF 9 |
#define ABT_ERR_INV_SCHED_TYPE 10 |
#define ABT_ERR_INV_TASK 18 |
#define ABT_ERR_INV_THREAD_ATTR 17 |
#define ABT_ERR_INV_TOOL_CONTEXT 52 |
#define ABT_ERR_INV_UNIT 15 |
#define ABT_ERR_INV_XSTREAM 4 |
#define ABT_ERR_INV_XSTREAM_BARRIER 6 |
#define ABT_ERR_INV_XSTREAM_RANK 5 |
#define ABT_ERR_KEY 38 |
#define ABT_ERR_MEM 2 |
#define ABT_ERR_MIGRATION_NA 49 |
#define ABT_ERR_MIGRATION_TARGET 48 |
#define ABT_ERR_MISSING_JOIN 50 |
#define ABT_ERR_MUTEX 39 |
#define ABT_ERR_MUTEX_LOCKED 40 |
Error code: a return value when a mutex is locked.
This error code is used by ABT_mutex_trylock()
.
#define ABT_ERR_RWLOCK 43 |
#define ABT_ERR_SCHED 32 |
#define ABT_ERR_SCHED_CONFIG 33 |
#define ABT_ERR_SYS 54 |
Error code: error related to system calls and standard libraries.
ABT_ERR_SYS
represents a general error that happens in libraries used by Argobots. For example, this error is returned when system calls such as futex()
and open()
or functions provided by external libraries such as pthread_create()
and unw_init_local()
fail. Note that ABT_ERR_MEM
is returned if a memory allocation function such as malloc()
or mmap()
fails.
#define ABT_ERR_TASK 37 |
#define ABT_ERR_THREAD 36 |
#define ABT_ERR_TIMER 47 |
#define ABT_ERR_UNINITIALIZED 1 |
#define ABT_ERR_UNIT 35 |
#define ABT_ERR_XSTREAM 29 |
#define ABT_ERR_XSTREAM_BARRIER 31 |
#define ABT_ERR_XSTREAM_STATE 30 |