SetSyncResInfos
Function Usage
Sets the passed resource synchronization information list (sync_info_vec) for the current object. This is to configure the resource synchronization behavior during graph execution.
Prototype
1 | ge::graphStatus SetSyncResInfos(std::vector<SyncResInfo> &sync_info_vec) const |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
sync_info_vec |
Input |
Resource synchronization information list. std::vector<SyncResInfo>Type |
Returns
The graphStatus status code is returned.
Constraints
None
Examples
1 2 3 4 5 | ge::graphStatus SetSyncResInfos(ExeResGenerationContext* context) { std::vector<SyncResInfo> sync_info_vec; ge::graphStatus status= context->SetSyncResInfos(sync_info_vec); ... } |
Parent topic: ExeResGenerationContext