aclmdlRICaptureTaskGrpEnd
Note: This API is for trial use and may be changed in later versions. It is not available in commercial products.
Applicability
|
Product |
Supported |
|---|---|
|
Atlas 350 Accelerator Card |
√ |
|
|
√ |
|
|
√ |
|
|
x |
|
|
√ |
|
|
x |
Function
Marks the end of a task group.
This API and aclmdlRICaptureTaskGrpBegin are used in pairs. Tasks between the two APIs form a task group. Currently, only single-operator tasks can be dispatched between the two APIs.
Prototype
1
|
aclError aclmdlRICaptureTaskGrpEnd(aclrtStream stream, aclrtTaskGrp *handle) |
Parameters
|
Parameter |
Input/Output |
Description |
|---|---|---|
|
stream |
Input |
Stream. For the type definition, see aclrtStream. The stream must be the same as that specified in aclmdlRICaptureTaskGrpBegin. |
|
handle |
Output |
Handle to a task group. For the type definition, see aclrtTaskGrp. |
Returns
0 on success; otherwise, failure. For details, see aclError.