aclrtCtxGetCurrentDefaultStream
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Description
Obtains the default stream of a context.
Prototype
1 | aclError aclrtCtxGetCurrentDefaultStream(aclrtStream *stream) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
stream |
Output |
Obtained default stream of the context. For details about the type definition, see aclrtStream. |
Returns
0 on success; otherwise, failure. For details, see aclError.
Parent topic: Context Management