nngn
Loading...
Searching...
No Matches
nngn::Compute::Events Struct Reference

Controls dependencies between operations. More...

#include <compute.h>

Public Attributes

std::size_t n_wait = {}
 Number of elements in wait_list.
 
const Event *const * wait_list = {}
 Events that must precede the execution of the operation.
 
Event *const * events = {}
 Buffer where the operation's resulting events will be placed.
 

Detailed Description

Controls dependencies between operations.

Member Data Documentation

◆ events

Event *const * nngn::Compute::Events::events = {}

Buffer where the operation's resulting events will be placed.

For execute, the required size is dependent on the argument types: it can be obtained via n_events (plus one for the execution itself). For all other operations, the size is 1.

◆ n_wait

std::size_t nngn::Compute::Events::n_wait = {}

Number of elements in wait_list.

◆ wait_list

const Event *const * nngn::Compute::Events::wait_list = {}

Events that must precede the execution of the operation.


The documentation for this struct was generated from the following files: