Function: create_event_ex_with_flag
C Prototype |
aclError aclrtCreateEventExWithFlag(aclrtEvent *event, uint32_t flag) |
|---|---|
Python Function |
event, ret = acl.rt.create_event_ex_with_flag(flag) |
Function Usage |
Creates an event with a flag. Events with different flags are used for different functions. When an event is created, multiple flags can be carried (bitwise OR operation) to enable the corresponding flag function. Event resources are not restricted by hardware for the creation of events. |
Input Description |
flag: int, event pointer flag. The options are as follows:
|
Return Value |
event: int, pointer address of the created event object. ret: int, error code.
|
Restrictions |
|