![]() |
MAGMA
2.7.0
Matrix Algebra for GPU and Multicore Architectures
|
Functions | |
| void | magma_event_create (magma_event_t *event) |
| Creates a GPU event. More... | |
| void | magma_event_create_untimed (magma_event_t *event) |
| Creates a GPU event, without timing support. More... | |
| void | magma_event_record (magma_event_t event, magma_queue_t queue) |
| Records an event into the queue's execution stream. More... | |
| void | magma_event_sync (magma_event_t event) |
| Synchronizes with an event. More... | |
| void | magma_queue_wait_event (magma_queue_t queue, magma_event_t event) |
| Synchronizes a queue with an event. More... | |
| void magma_event_create | ( | magma_event_t * | event | ) |
Creates a GPU event.
| [in] | event | On output, the newly created event. |
| void magma_event_create_untimed | ( | magma_event_t * | event | ) |
Creates a GPU event, without timing support.
May improve performance
| [in] | event | On output, the newly created event. |
| void magma_event_record | ( | magma_event_t | event, |
| magma_queue_t | queue | ||
| ) |
Records an event into the queue's execution stream.
The event will trigger when all previous operations on this queue finish.
| [in] | event | Event to record. |
| [in] | queue | Queue to execute in. |
| void magma_event_sync | ( | magma_event_t | event | ) |
Synchronizes with an event.
The CPU blocks until the event triggers.
| [in] | event | Event to synchronize with. |
| void magma_queue_wait_event | ( | magma_queue_t | queue, |
| magma_event_t | event | ||
| ) |
Synchronizes a queue with an event.
The queue blocks until the event triggers. The CPU does not block.
| [in] | event | Event to synchronize with. |
| [in] | queue | Queue to synchronize. |