ARGOBOTS  140a356fc09a44696eb3487150e459266f9b5405
Macros
Error Code

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 executions stream. More...
 
#define ABT_ERR_INV_XSTREAM_RANK   5
 Error code: invalid executions stream rank. More...
 
#define ABT_ERR_INV_XSTREAM_BARRIER   6
 Error code: invalid executions 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_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: an error related to an execution stream. More...
 
#define ABT_ERR_XSTREAM_STATE   30
 Error code: an error related to an execution stream state. More...
 
#define ABT_ERR_XSTREAM_BARRIER   31
 Error code: an error related to an execution stream. More...
 
#define ABT_ERR_SCHED   32
 Error code: an error related to a scheduler. More...
 
#define ABT_ERR_SCHED_CONFIG   33
 Error code: an error related to a scheduler configuration. More...
 
#define ABT_ERR_POOL   34
 Error code: an error related to a pool. More...
 
#define ABT_ERR_UNIT   35
 Error code: an error related to a work unit for scheduling. More...
 
#define ABT_ERR_THREAD   36
 Error code: an error related to a work unit. More...
 
#define ABT_ERR_TASK   37
 Error code: an error related to a work unit. More...
 
#define ABT_ERR_KEY   38
 Error code: an error related to a work-unit-specific data key. More...
 
#define ABT_ERR_MUTEX   39
 Error code: an 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: an 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: an error related to a readers-writer lock. More...
 
#define ABT_ERR_EVENTUAL   44
 Error code: an error related to an eventual. More...
 
#define ABT_ERR_FUTURE   45
 Error code: an error related to a future. More...
 
#define ABT_ERR_BARRIER   46
 Error code: an error related to a barrier. More...
 
#define ABT_ERR_TIMER   47
 Error code: an error related to a timer. More...
 
#define ABT_ERR_MIGRATION_TARGET   48
 Error code: an 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: an error related to system calls. More...
 
#define ABT_ERR_CPUID   55
 Error code: an error related to CPU ID. More...
 

Detailed Description

This group is for Error Code.

Macro Definition Documentation

◆ ABT_ERR_BARRIER

#define ABT_ERR_BARRIER   46

Error code: an error related to a barrier.

Definition at line 349 of file abt.h.

◆ ABT_ERR_COND

#define ABT_ERR_COND   41

Error code: an error related to a condition variable.

Definition at line 322 of file abt.h.

◆ ABT_ERR_COND_TIMEDOUT

#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().

Definition at line 329 of file abt.h.

◆ ABT_ERR_CPUID

#define ABT_ERR_CPUID   55

Error code: an error related to CPU ID.

Definition at line 390 of file abt.h.

◆ ABT_ERR_EVENTUAL

#define ABT_ERR_EVENTUAL   44

Error code: an error related to an eventual.

Definition at line 339 of file abt.h.

◆ ABT_ERR_FEATURE_NA

#define ABT_ERR_FEATURE_NA   51

Error code: unsupported feature.

Definition at line 380 of file abt.h.

◆ ABT_ERR_FUTURE

#define ABT_ERR_FUTURE   45

Error code: an error related to a future.

Definition at line 344 of file abt.h.

◆ ABT_ERR_INV_ARG

#define ABT_ERR_INV_ARG   53

Error code: invalid user argument.

Definition at line 249 of file abt.h.

◆ ABT_ERR_INV_BARRIER

#define ABT_ERR_INV_BARRIER   26

Error code: invalid barrier.

Definition at line 229 of file abt.h.

◆ ABT_ERR_INV_COND

#define ABT_ERR_INV_COND   22

Error code: invalid condition variable.

Definition at line 209 of file abt.h.

◆ ABT_ERR_INV_EVENTUAL

#define ABT_ERR_INV_EVENTUAL   24

Error code: invalid eventual.

Definition at line 219 of file abt.h.

◆ ABT_ERR_INV_FUTURE

#define ABT_ERR_INV_FUTURE   25

Error code: invalid future.

Definition at line 224 of file abt.h.

◆ ABT_ERR_INV_KEY

#define ABT_ERR_INV_KEY   19

Error code: invalid work-unit-specific data key.

Definition at line 194 of file abt.h.

◆ ABT_ERR_INV_MUTEX

#define ABT_ERR_INV_MUTEX   20

Error code: invalid mutex.

Definition at line 199 of file abt.h.

◆ ABT_ERR_INV_MUTEX_ATTR

#define ABT_ERR_INV_MUTEX_ATTR   21

Error code: invalid mutex attribute.

Definition at line 204 of file abt.h.

◆ ABT_ERR_INV_POOL

#define ABT_ERR_INV_POOL   12

Error code: invalid pool.

Definition at line 155 of file abt.h.

◆ ABT_ERR_INV_POOL_ACCESS

#define ABT_ERR_INV_POOL_ACCESS   14

Error code: invalid pool access type.

Definition at line 165 of file abt.h.

◆ ABT_ERR_INV_POOL_KIND

#define ABT_ERR_INV_POOL_KIND   13

Error code: invalid pool kind.

Definition at line 160 of file abt.h.

◆ ABT_ERR_INV_QUERY_KIND

#define ABT_ERR_INV_QUERY_KIND   28

Error code: invalid query kind.

Definition at line 239 of file abt.h.

◆ ABT_ERR_INV_RWLOCK

#define ABT_ERR_INV_RWLOCK   23

Error code: invalid readers-writer lock.

Definition at line 214 of file abt.h.

◆ ABT_ERR_INV_SCHED

#define ABT_ERR_INV_SCHED   7

Error code: invalid scheduler.

Definition at line 128 of file abt.h.

◆ ABT_ERR_INV_SCHED_CONFIG

#define ABT_ERR_INV_SCHED_CONFIG   11

Error code: invalid scheduler configuration.

Definition at line 150 of file abt.h.

◆ ABT_ERR_INV_SCHED_KIND

#define ABT_ERR_INV_SCHED_KIND   8

Error code: invalid scheduler kind.

Definition at line 133 of file abt.h.

◆ ABT_ERR_INV_SCHED_PREDEF

#define ABT_ERR_INV_SCHED_PREDEF   9

Error code: invalid predefined scheduler type.

Definition at line 138 of file abt.h.

◆ ABT_ERR_INV_SCHED_TYPE

#define ABT_ERR_INV_SCHED_TYPE   10

Unused error code.

This error code is not used. This error code is deprecated.

Definition at line 145 of file abt.h.

◆ ABT_ERR_INV_TASK

#define ABT_ERR_INV_TASK   18

Error code: invalid work unit.

Changes from Argobots 1.x to Argobots 2.0 (planned)
[Argobots 2.0] This error code is an alias of ABT_ERR_INV_THREAD.

Definition at line 189 of file abt.h.

◆ ABT_ERR_INV_THREAD

#define ABT_ERR_INV_THREAD   16

Error code: invalid work unit.

Definition at line 175 of file abt.h.

◆ ABT_ERR_INV_THREAD_ATTR

#define ABT_ERR_INV_THREAD_ATTR   17

Error code: invalid ULT attribute.

Definition at line 180 of file abt.h.

◆ ABT_ERR_INV_TIMER

#define ABT_ERR_INV_TIMER   27

Error code: invalid timer.

Definition at line 234 of file abt.h.

◆ ABT_ERR_INV_TOOL_CONTEXT

#define ABT_ERR_INV_TOOL_CONTEXT   52

Error code: invalid tool context.

Definition at line 244 of file abt.h.

◆ ABT_ERR_INV_UNIT

#define ABT_ERR_INV_UNIT   15

Error code: invalid work unit for scheduling.

Definition at line 170 of file abt.h.

◆ ABT_ERR_INV_XSTREAM

#define ABT_ERR_INV_XSTREAM   4

Error code: invalid executions stream.

Definition at line 113 of file abt.h.

◆ ABT_ERR_INV_XSTREAM_BARRIER

#define ABT_ERR_INV_XSTREAM_BARRIER   6

Error code: invalid executions stream barrier.

Definition at line 123 of file abt.h.

◆ ABT_ERR_INV_XSTREAM_RANK

#define ABT_ERR_INV_XSTREAM_RANK   5

Error code: invalid executions stream rank.

Definition at line 118 of file abt.h.

◆ ABT_ERR_KEY

#define ABT_ERR_KEY   38

Error code: an error related to a work-unit-specific data key.

Definition at line 305 of file abt.h.

◆ ABT_ERR_MEM

#define ABT_ERR_MEM   2

Error code: Memory allocation failure.

ABT_ERR_MEM is returned if memory allocation functions such as malloc() or mmap() fail in the routine.

Definition at line 103 of file abt.h.

◆ ABT_ERR_MIGRATION_NA

#define ABT_ERR_MIGRATION_NA   49

Error code: migration is not supported.

Changes from Argobots 1.x to Argobots 2.0 (planned)
[Argobots 2.0] This error code is an alias of ABT_ERR_FEATURE_NA.

Definition at line 368 of file abt.h.

◆ ABT_ERR_MIGRATION_TARGET

#define ABT_ERR_MIGRATION_TARGET   48

Error code: an error related to a migration target.

Definition at line 359 of file abt.h.

◆ ABT_ERR_MISSING_JOIN

#define ABT_ERR_MISSING_JOIN   50

Unused error code.

This error code is not used. This error code is deprecated.

Definition at line 375 of file abt.h.

◆ ABT_ERR_MUTEX

#define ABT_ERR_MUTEX   39

Error code: an error related to a mutex.

Definition at line 310 of file abt.h.

◆ ABT_ERR_MUTEX_LOCKED

#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().

Definition at line 317 of file abt.h.

◆ ABT_ERR_OTHER

#define ABT_ERR_OTHER   3

Error code: other error.

Definition at line 108 of file abt.h.

◆ ABT_ERR_POOL

#define ABT_ERR_POOL   34

Error code: an error related to a pool.

Definition at line 281 of file abt.h.

◆ ABT_ERR_RWLOCK

#define ABT_ERR_RWLOCK   43

Error code: an error related to a readers-writer lock.

Definition at line 334 of file abt.h.

◆ ABT_ERR_SCHED

#define ABT_ERR_SCHED   32

Error code: an error related to a scheduler.

Definition at line 271 of file abt.h.

◆ ABT_ERR_SCHED_CONFIG

#define ABT_ERR_SCHED_CONFIG   33

Error code: an error related to a scheduler configuration.

Definition at line 276 of file abt.h.

◆ ABT_ERR_SYS

#define ABT_ERR_SYS   54

Error code: an error related to system calls.

Definition at line 385 of file abt.h.

◆ ABT_ERR_TASK

#define ABT_ERR_TASK   37

Error code: an error related to a work unit.

Changes from Argobots 1.x to Argobots 2.0 (planned)
[Argobots 2.0] This error code is an alias of ABT_ERR_THREAD.

Definition at line 300 of file abt.h.

◆ ABT_ERR_THREAD

#define ABT_ERR_THREAD   36

Error code: an error related to a work unit.

Definition at line 291 of file abt.h.

◆ ABT_ERR_TIMER

#define ABT_ERR_TIMER   47

Error code: an error related to a timer.

Definition at line 354 of file abt.h.

◆ ABT_ERR_UNINITIALIZED

#define ABT_ERR_UNINITIALIZED   1

Error code: Argobots it not initialized.

Definition at line 95 of file abt.h.

◆ ABT_ERR_UNIT

#define ABT_ERR_UNIT   35

Error code: an error related to a work unit for scheduling.

Definition at line 286 of file abt.h.

◆ ABT_ERR_XSTREAM

#define ABT_ERR_XSTREAM   29

Error code: an error related to an execution stream.

Definition at line 254 of file abt.h.

◆ ABT_ERR_XSTREAM_BARRIER

#define ABT_ERR_XSTREAM_BARRIER   31

Error code: an error related to an execution stream.

Definition at line 266 of file abt.h.

◆ ABT_ERR_XSTREAM_STATE

#define ABT_ERR_XSTREAM_STATE   30

Error code: an error related to an execution stream state.

This error code is deprecated.

Definition at line 261 of file abt.h.

◆ ABT_SUCCESS

#define ABT_SUCCESS   0

Error code: the routine returns successfully.

Definition at line 90 of file abt.h.