|
MAGMA
1.2.0
MatrixAlgebraonGPUandMulticoreArchitectures
|
Go to the source code of this file.
Functions | |
| int | magma_request_fail (magma_sequence_t *sequence, magma_request_t *request, int status) |
| int | magma_sequence_create (magma_context_t *magma, magma_sequence_t **sequence) |
| int | magma_sequence_destroy (magma_context_t *magma, magma_sequence_t *sequence) |
| int | magma_sequence_wait (magma_context_t *magma, magma_sequence_t *sequence) |
| int | MAGMA_Sequence_Create (magma_sequence_t **sequence) |
| int | MAGMA_Sequence_Destroy (magma_sequence_t *sequence) |
| int | MAGMA_Sequence_Wait (magma_sequence_t *sequence) |
| int | MAGMA_Sequence_Flush (magma_sequence_t *sequence, magma_request_t *request) |
| int magma_request_fail | ( | magma_sequence_t * | sequence, |
| magma_request_t * | request, | ||
| int | status | ||
| ) |
Register an exception.
Definition at line 21 of file async.c.
References magma_sequence_s::request, magma_request_s::status, and magma_sequence_s::status.
| int magma_sequence_create | ( | magma_context_t * | magma, |
| magma_sequence_t ** | sequence | ||
| ) |
Create a sequence
Definition at line 32 of file async.c.
References MAGMA_ERR_OUT_OF_RESOURCES, magma_error, MAGMA_SUCCESS, and morse_sequence_create().
| int MAGMA_Sequence_Create | ( | magma_sequence_t ** | sequence | ) |
MAGMA_Sequence_Create - Create a squence.
| [out] | sequence | Identifies a set of routines sharing common exception handling. |
| MAGMA_SUCCESS | successful exit |
Definition at line 81 of file async.c.
References magma_context_self(), MAGMA_ERR_NOT_INITIALIZED, magma_fatal_error, and magma_sequence_create().
| int magma_sequence_destroy | ( | magma_context_t * | magma, |
| magma_sequence_t * | sequence | ||
| ) |
Destroy a sequence
Definition at line 48 of file async.c.
References MAGMA_SUCCESS, and morse_sequence_destroy().
| int MAGMA_Sequence_Destroy | ( | magma_sequence_t * | sequence | ) |
MAGMA_Sequence_Destroy - Destroy a sequence.
| [in] | sequence | Identifies a set of routines sharing common exception handling. |
| MAGMA_SUCCESS | successful exit |
Definition at line 112 of file async.c.
References magma_context_self(), MAGMA_ERR_NOT_INITIALIZED, MAGMA_ERR_UNALLOCATED, magma_fatal_error, and magma_sequence_destroy().
| int MAGMA_Sequence_Flush | ( | magma_sequence_t * | sequence, |
| magma_request_t * | request | ||
| ) |
MAGMA_Sequence_Flush - Terminate a sequence.
| [in] | sequence | Identifies a set of routines sharing common exception handling. |
| [in] | request | The flush request. |
| MAGMA_SUCCESS | successful exit |
Definition at line 185 of file async.c.
References magma_context_self(), MAGMA_ERR_NOT_INITIALIZED, MAGMA_ERR_SEQUENCE_FLUSHED, MAGMA_ERR_UNALLOCATED, magma_fatal_error, MAGMA_SUCCESS, morse_sequence_flush(), magma_context_s::quark, and magma_context_s::schedopt.
| int magma_sequence_wait | ( | magma_context_t * | magma, |
| magma_sequence_t * | sequence | ||
| ) |
Wait for the completion of a sequence
Definition at line 58 of file async.c.
References MAGMA_SUCCESS, and morse_sequence_wait().
| int MAGMA_Sequence_Wait | ( | magma_sequence_t * | sequence | ) |
MAGMA_Sequence_Wait - Wait for the completion of a sequence.
| [in] | sequence | Identifies a set of routines sharing common exception handling. |
| MAGMA_SUCCESS | successful exit |
Definition at line 147 of file async.c.
References magma_context_self(), MAGMA_ERR_NOT_INITIALIZED, MAGMA_ERR_UNALLOCATED, magma_fatal_error, and magma_sequence_wait().