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